7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/networkmanager/model/ConnectionState.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/networkmanager/model/Tag.h>
25namespace NetworkManager
52 inline void SetConnectionId(
const char* value) { m_connectionIdHasBeenSet =
true; m_connectionId.assign(value); }
66 inline void SetConnectionArn(
const char* value) { m_connectionArnHasBeenSet =
true; m_connectionArn.assign(value); }
80 inline void SetGlobalNetworkId(
const char* value) { m_globalNetworkIdHasBeenSet =
true; m_globalNetworkId.assign(value); }
94 inline void SetDeviceId(
const char* value) { m_deviceIdHasBeenSet =
true; m_deviceId.assign(value); }
108 inline void SetConnectedDeviceId(
const char* value) { m_connectedDeviceIdHasBeenSet =
true; m_connectedDeviceId.assign(value); }
122 inline void SetLinkId(
const char* value) { m_linkIdHasBeenSet =
true; m_linkId.assign(value); }
136 inline void SetConnectedLinkId(
const char* value) { m_connectedLinkIdHasBeenSet =
true; m_connectedLinkId.assign(value); }
150 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
190 inline Connection&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
191 inline Connection&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
196 bool m_connectionIdHasBeenSet =
false;
199 bool m_connectionArnHasBeenSet =
false;
202 bool m_globalNetworkIdHasBeenSet =
false;
205 bool m_deviceIdHasBeenSet =
false;
208 bool m_connectedDeviceIdHasBeenSet =
false;
211 bool m_linkIdHasBeenSet =
false;
214 bool m_connectedLinkIdHasBeenSet =
false;
217 bool m_descriptionHasBeenSet =
false;
220 bool m_createdAtHasBeenSet =
false;
223 bool m_stateHasBeenSet =
false;
226 bool m_tagsHasBeenSet =
false;
Connection & WithConnectionId(const Aws::String &value)
bool DescriptionHasBeenSet() const
Connection & WithDeviceId(Aws::String &&value)
Connection & AddTags(Tag &&value)
Connection & WithDeviceId(const Aws::String &value)
Connection & WithGlobalNetworkId(const Aws::String &value)
void SetConnectedLinkId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool DeviceIdHasBeenSet() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetConnectedDeviceId(const Aws::String &value)
Connection & WithLinkId(const Aws::String &value)
void SetConnectionId(const char *value)
Connection & WithConnectedDeviceId(Aws::String &&value)
void SetGlobalNetworkId(const char *value)
bool ConnectedLinkIdHasBeenSet() const
bool StateHasBeenSet() const
const Aws::String & GetLinkId() const
Connection & WithDeviceId(const char *value)
void SetDeviceId(const char *value)
bool ConnectionArnHasBeenSet() const
void SetState(const ConnectionState &value)
Connection & WithDescription(const Aws::String &value)
Connection & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetConnectedLinkId(Aws::String &&value)
Connection & WithLinkId(const char *value)
void SetLinkId(Aws::String &&value)
Connection & WithConnectionArn(const char *value)
Connection & WithConnectedLinkId(const Aws::String &value)
const ConnectionState & GetState() const
Connection & WithDescription(Aws::String &&value)
void SetConnectionArn(const char *value)
Connection & WithTags(const Aws::Vector< Tag > &value)
const Aws::String & GetDeviceId() const
AWS_NETWORKMANAGER_API Connection(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConnectedLinkId() const
void SetGlobalNetworkId(Aws::String &&value)
Connection & WithConnectionId(const char *value)
void SetConnectionArn(Aws::String &&value)
Connection & WithTags(Aws::Vector< Tag > &&value)
void SetConnectedDeviceId(Aws::String &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
Connection & WithConnectionArn(Aws::String &&value)
Connection & WithDescription(const char *value)
Connection & WithLinkId(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
Connection & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetConnectionId() const
bool LinkIdHasBeenSet() const
void SetDescription(Aws::String &&value)
Connection & WithConnectionId(Aws::String &&value)
bool ConnectionIdHasBeenSet() const
Connection & WithGlobalNetworkId(Aws::String &&value)
void SetLinkId(const char *value)
bool TagsHasBeenSet() const
void SetConnectionId(Aws::String &&value)
Connection & WithConnectedDeviceId(const Aws::String &value)
void SetConnectedDeviceId(const char *value)
void SetLinkId(const Aws::String &value)
bool ConnectedDeviceIdHasBeenSet() const
bool CreatedAtHasBeenSet() const
const Aws::String & GetConnectionArn() const
Connection & WithConnectionArn(const Aws::String &value)
void SetDeviceId(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetConnectionArn(const Aws::String &value)
void SetDescription(const char *value)
Connection & WithConnectedLinkId(const char *value)
void SetConnectedLinkId(const char *value)
const Aws::Vector< Tag > & GetTags() const
void SetState(ConnectionState &&value)
void SetDeviceId(const Aws::String &value)
Connection & WithState(const ConnectionState &value)
void SetGlobalNetworkId(const Aws::String &value)
Connection & WithConnectedDeviceId(const char *value)
const Aws::String & GetDescription() const
Connection & WithConnectedLinkId(Aws::String &&value)
Connection & AddTags(const Tag &value)
AWS_NETWORKMANAGER_API Connection()
void SetTags(Aws::Vector< Tag > &&value)
Connection & WithState(ConnectionState &&value)
AWS_NETWORKMANAGER_API Connection & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GlobalNetworkIdHasBeenSet() const
const Aws::String & GetConnectedDeviceId() const
void SetConnectionId(const Aws::String &value)
const Aws::String & GetGlobalNetworkId() const
Connection & WithGlobalNetworkId(const char *value)
void SetDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue