AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkTelemetry.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/networkmanager/model/ConnectionHealth.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace NetworkManager
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_NETWORKMANAGER_API NetworkTelemetry();
37 AWS_NETWORKMANAGER_API NetworkTelemetry(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NETWORKMANAGER_API NetworkTelemetry& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetRegisteredGatewayArn() const{ return m_registeredGatewayArn; }
47 inline bool RegisteredGatewayArnHasBeenSet() const { return m_registeredGatewayArnHasBeenSet; }
48 inline void SetRegisteredGatewayArn(const Aws::String& value) { m_registeredGatewayArnHasBeenSet = true; m_registeredGatewayArn = value; }
49 inline void SetRegisteredGatewayArn(Aws::String&& value) { m_registeredGatewayArnHasBeenSet = true; m_registeredGatewayArn = std::move(value); }
50 inline void SetRegisteredGatewayArn(const char* value) { m_registeredGatewayArnHasBeenSet = true; m_registeredGatewayArn.assign(value); }
52 inline NetworkTelemetry& WithRegisteredGatewayArn(Aws::String&& value) { SetRegisteredGatewayArn(std::move(value)); return *this;}
53 inline NetworkTelemetry& WithRegisteredGatewayArn(const char* value) { SetRegisteredGatewayArn(value); return *this;}
55
57
60 inline const Aws::String& GetCoreNetworkId() const{ return m_coreNetworkId; }
61 inline bool CoreNetworkIdHasBeenSet() const { return m_coreNetworkIdHasBeenSet; }
62 inline void SetCoreNetworkId(const Aws::String& value) { m_coreNetworkIdHasBeenSet = true; m_coreNetworkId = value; }
63 inline void SetCoreNetworkId(Aws::String&& value) { m_coreNetworkIdHasBeenSet = true; m_coreNetworkId = std::move(value); }
64 inline void SetCoreNetworkId(const char* value) { m_coreNetworkIdHasBeenSet = true; m_coreNetworkId.assign(value); }
65 inline NetworkTelemetry& WithCoreNetworkId(const Aws::String& value) { SetCoreNetworkId(value); return *this;}
66 inline NetworkTelemetry& WithCoreNetworkId(Aws::String&& value) { SetCoreNetworkId(std::move(value)); return *this;}
67 inline NetworkTelemetry& WithCoreNetworkId(const char* value) { SetCoreNetworkId(value); return *this;}
69
71
74 inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
75 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
76 inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
77 inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
78 inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
79 inline NetworkTelemetry& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
80 inline NetworkTelemetry& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
81 inline NetworkTelemetry& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
83
85
88 inline const Aws::String& GetAccountId() const{ return m_accountId; }
89 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
90 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
91 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
92 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
93 inline NetworkTelemetry& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
94 inline NetworkTelemetry& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
95 inline NetworkTelemetry& WithAccountId(const char* value) { SetAccountId(value); return *this;}
97
99
102 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
103 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
104 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
105 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
106 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
107 inline NetworkTelemetry& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
108 inline NetworkTelemetry& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
109 inline NetworkTelemetry& WithResourceType(const char* value) { SetResourceType(value); return *this;}
111
113
116 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
117 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
118 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
119 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
120 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
121 inline NetworkTelemetry& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
122 inline NetworkTelemetry& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
123 inline NetworkTelemetry& WithResourceId(const char* value) { SetResourceId(value); return *this;}
125
127
130 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
131 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
132 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
133 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
134 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
135 inline NetworkTelemetry& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
136 inline NetworkTelemetry& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
137 inline NetworkTelemetry& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
139
141
144 inline const Aws::String& GetAddress() const{ return m_address; }
145 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
146 inline void SetAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address = value; }
147 inline void SetAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
148 inline void SetAddress(const char* value) { m_addressHasBeenSet = true; m_address.assign(value); }
149 inline NetworkTelemetry& WithAddress(const Aws::String& value) { SetAddress(value); return *this;}
150 inline NetworkTelemetry& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;}
151 inline NetworkTelemetry& WithAddress(const char* value) { SetAddress(value); return *this;}
153
155
158 inline const ConnectionHealth& GetHealth() const{ return m_health; }
159 inline bool HealthHasBeenSet() const { return m_healthHasBeenSet; }
160 inline void SetHealth(const ConnectionHealth& value) { m_healthHasBeenSet = true; m_health = value; }
161 inline void SetHealth(ConnectionHealth&& value) { m_healthHasBeenSet = true; m_health = std::move(value); }
162 inline NetworkTelemetry& WithHealth(const ConnectionHealth& value) { SetHealth(value); return *this;}
163 inline NetworkTelemetry& WithHealth(ConnectionHealth&& value) { SetHealth(std::move(value)); return *this;}
165 private:
166
167 Aws::String m_registeredGatewayArn;
168 bool m_registeredGatewayArnHasBeenSet = false;
169
170 Aws::String m_coreNetworkId;
171 bool m_coreNetworkIdHasBeenSet = false;
172
173 Aws::String m_awsRegion;
174 bool m_awsRegionHasBeenSet = false;
175
176 Aws::String m_accountId;
177 bool m_accountIdHasBeenSet = false;
178
179 Aws::String m_resourceType;
180 bool m_resourceTypeHasBeenSet = false;
181
182 Aws::String m_resourceId;
183 bool m_resourceIdHasBeenSet = false;
184
185 Aws::String m_resourceArn;
186 bool m_resourceArnHasBeenSet = false;
187
188 Aws::String m_address;
189 bool m_addressHasBeenSet = false;
190
191 ConnectionHealth m_health;
192 bool m_healthHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace NetworkManager
197} // namespace Aws
NetworkTelemetry & WithRegisteredGatewayArn(Aws::String &&value)
NetworkTelemetry & WithHealth(const ConnectionHealth &value)
NetworkTelemetry & WithAddress(const Aws::String &value)
NetworkTelemetry & WithAwsRegion(const char *value)
NetworkTelemetry & WithAccountId(const char *value)
NetworkTelemetry & WithResourceType(Aws::String &&value)
void SetAddress(const Aws::String &value)
NetworkTelemetry & WithResourceArn(Aws::String &&value)
const ConnectionHealth & GetHealth() const
void SetRegisteredGatewayArn(const Aws::String &value)
void SetResourceArn(const Aws::String &value)
NetworkTelemetry & WithRegisteredGatewayArn(const Aws::String &value)
const Aws::String & GetRegisteredGatewayArn() const
void SetCoreNetworkId(const Aws::String &value)
NetworkTelemetry & WithAccountId(const Aws::String &value)
NetworkTelemetry & WithAccountId(Aws::String &&value)
NetworkTelemetry & WithResourceId(const Aws::String &value)
NetworkTelemetry & WithResourceId(Aws::String &&value)
NetworkTelemetry & WithResourceType(const char *value)
NetworkTelemetry & WithAwsRegion(Aws::String &&value)
NetworkTelemetry & WithCoreNetworkId(const Aws::String &value)
NetworkTelemetry & WithResourceArn(const char *value)
void SetRegisteredGatewayArn(Aws::String &&value)
NetworkTelemetry & WithCoreNetworkId(const char *value)
void SetResourceId(const Aws::String &value)
AWS_NETWORKMANAGER_API NetworkTelemetry(Aws::Utils::Json::JsonView jsonValue)
void SetAwsRegion(const Aws::String &value)
NetworkTelemetry & WithResourceArn(const Aws::String &value)
void SetHealth(const ConnectionHealth &value)
void SetAccountId(const Aws::String &value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkTelemetry & WithRegisteredGatewayArn(const char *value)
void SetResourceType(const Aws::String &value)
NetworkTelemetry & WithResourceType(const Aws::String &value)
AWS_NETWORKMANAGER_API NetworkTelemetry & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkTelemetry & WithAddress(Aws::String &&value)
NetworkTelemetry & WithAddress(const char *value)
NetworkTelemetry & WithCoreNetworkId(Aws::String &&value)
NetworkTelemetry & WithAwsRegion(const Aws::String &value)
NetworkTelemetry & WithHealth(ConnectionHealth &&value)
NetworkTelemetry & WithResourceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue