AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
AdditionalFlowInfo.h
1
6#pragma once
7#include <aws/networkflowmonitor/NetworkFlowMonitor_EXPORTS.h>
8#include <aws/networkflowmonitor/model/ClientLocation.h>
9#include <aws/networkflowmonitor/model/Network.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace NetworkFlowMonitor {
21namespace Model {
22
31 public:
32 AWS_NETWORKFLOWMONITOR_API AdditionalFlowInfo() = default;
33 AWS_NETWORKFLOWMONITOR_API AdditionalFlowInfo(Aws::Utils::Json::JsonView jsonValue);
34 AWS_NETWORKFLOWMONITOR_API AdditionalFlowInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_NETWORKFLOWMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Network& GetNetwork() const { return m_network; }
42 inline bool NetworkHasBeenSet() const { return m_networkHasBeenSet; }
43 template <typename NetworkT = Network>
44 void SetNetwork(NetworkT&& value) {
45 m_networkHasBeenSet = true;
46 m_network = std::forward<NetworkT>(value);
47 }
48 template <typename NetworkT = Network>
49 AdditionalFlowInfo& WithNetwork(NetworkT&& value) {
50 SetNetwork(std::forward<NetworkT>(value));
51 return *this;
52 }
54
56
59 inline const ClientLocation& GetClientLocation() const { return m_clientLocation; }
60 inline bool ClientLocationHasBeenSet() const { return m_clientLocationHasBeenSet; }
61 template <typename ClientLocationT = ClientLocation>
62 void SetClientLocation(ClientLocationT&& value) {
63 m_clientLocationHasBeenSet = true;
64 m_clientLocation = std::forward<ClientLocationT>(value);
65 }
66 template <typename ClientLocationT = ClientLocation>
67 AdditionalFlowInfo& WithClientLocation(ClientLocationT&& value) {
68 SetClientLocation(std::forward<ClientLocationT>(value));
69 return *this;
70 }
72 private:
73 Network m_network;
74
75 ClientLocation m_clientLocation;
76 bool m_networkHasBeenSet = false;
77 bool m_clientLocationHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace NetworkFlowMonitor
82} // namespace Aws
AdditionalFlowInfo & WithNetwork(NetworkT &&value)
AdditionalFlowInfo & WithClientLocation(ClientLocationT &&value)
AWS_NETWORKFLOWMONITOR_API AdditionalFlowInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFLOWMONITOR_API AdditionalFlowInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFLOWMONITOR_API AdditionalFlowInfo()=default
AWS_NETWORKFLOWMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue