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
50 template<
typename ConnectionIdT = Aws::String>
51 void SetConnectionId(ConnectionIdT&& value) { m_connectionIdHasBeenSet =
true; m_connectionId = std::forward<ConnectionIdT>(value); }
52 template<
typename ConnectionIdT = Aws::String>
62 template<
typename ConnectionArnT = Aws::String>
63 void SetConnectionArn(ConnectionArnT&& value) { m_connectionArnHasBeenSet =
true; m_connectionArn = std::forward<ConnectionArnT>(value); }
64 template<
typename ConnectionArnT = Aws::String>
74 template<
typename GlobalNetworkIdT = Aws::String>
75 void SetGlobalNetworkId(GlobalNetworkIdT&& value) { m_globalNetworkIdHasBeenSet =
true; m_globalNetworkId = std::forward<GlobalNetworkIdT>(value); }
76 template<
typename GlobalNetworkIdT = Aws::String>
86 template<
typename DeviceIdT = Aws::String>
87 void SetDeviceId(DeviceIdT&& value) { m_deviceIdHasBeenSet =
true; m_deviceId = std::forward<DeviceIdT>(value); }
88 template<
typename DeviceIdT = Aws::String>
98 template<
typename ConnectedDeviceIdT = Aws::String>
99 void SetConnectedDeviceId(ConnectedDeviceIdT&& value) { m_connectedDeviceIdHasBeenSet =
true; m_connectedDeviceId = std::forward<ConnectedDeviceIdT>(value); }
100 template<
typename ConnectedDeviceIdT = Aws::String>
110 template<
typename LinkIdT = Aws::String>
111 void SetLinkId(LinkIdT&& value) { m_linkIdHasBeenSet =
true; m_linkId = std::forward<LinkIdT>(value); }
112 template<
typename LinkIdT = Aws::String>
122 template<
typename ConnectedLinkIdT = Aws::String>
123 void SetConnectedLinkId(ConnectedLinkIdT&& value) { m_connectedLinkIdHasBeenSet =
true; m_connectedLinkId = std::forward<ConnectedLinkIdT>(value); }
124 template<
typename ConnectedLinkIdT = Aws::String>
134 template<
typename DescriptionT = Aws::String>
135 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
136 template<
typename DescriptionT = Aws::String>
146 template<
typename CreatedAtT = Aws::Utils::DateTime>
147 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
148 template<
typename CreatedAtT = Aws::Utils::DateTime>
168 template<
typename TagsT = Aws::Vector<Tag>>
169 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
170 template<
typename TagsT = Aws::Vector<Tag>>
172 template<
typename TagsT = Tag>
173 Connection&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
178 bool m_connectionIdHasBeenSet =
false;
181 bool m_connectionArnHasBeenSet =
false;
184 bool m_globalNetworkIdHasBeenSet =
false;
187 bool m_deviceIdHasBeenSet =
false;
190 bool m_connectedDeviceIdHasBeenSet =
false;
193 bool m_linkIdHasBeenSet =
false;
196 bool m_connectedLinkIdHasBeenSet =
false;
199 bool m_descriptionHasBeenSet =
false;
202 bool m_createdAtHasBeenSet =
false;
205 bool m_stateHasBeenSet =
false;
208 bool m_tagsHasBeenSet =
false;
bool DescriptionHasBeenSet() const
Connection & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool DeviceIdHasBeenSet() const
void SetDescription(DescriptionT &&value)
Connection & AddTags(TagsT &&value)
Connection & WithState(ConnectionState value)
Connection & WithConnectedLinkId(ConnectedLinkIdT &&value)
void SetConnectionArn(ConnectionArnT &&value)
bool ConnectedLinkIdHasBeenSet() const
bool StateHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::String & GetLinkId() const
bool ConnectionArnHasBeenSet() const
void SetLinkId(LinkIdT &&value)
void SetDeviceId(DeviceIdT &&value)
void SetConnectedLinkId(ConnectedLinkIdT &&value)
Connection & WithGlobalNetworkId(GlobalNetworkIdT &&value)
void SetGlobalNetworkId(GlobalNetworkIdT &&value)
Connection & WithConnectionArn(ConnectionArnT &&value)
const Aws::String & GetDeviceId() const
AWS_NETWORKMANAGER_API Connection(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConnectedLinkId() const
Connection & WithCreatedAt(CreatedAtT &&value)
void SetConnectionId(ConnectionIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
Connection & WithTags(TagsT &&value)
const Aws::String & GetConnectionId() const
AWS_NETWORKMANAGER_API Connection()=default
bool LinkIdHasBeenSet() const
bool ConnectionIdHasBeenSet() const
bool TagsHasBeenSet() const
Connection & WithConnectedDeviceId(ConnectedDeviceIdT &&value)
Connection & WithLinkId(LinkIdT &&value)
bool ConnectedDeviceIdHasBeenSet() const
bool CreatedAtHasBeenSet() const
const Aws::String & GetConnectionArn() const
Connection & WithConnectionId(ConnectionIdT &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetDescription() const
Connection & WithDeviceId(DeviceIdT &&value)
AWS_NETWORKMANAGER_API Connection & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GlobalNetworkIdHasBeenSet() const
const Aws::String & GetConnectedDeviceId() const
void SetConnectedDeviceId(ConnectedDeviceIdT &&value)
ConnectionState GetState() const
const Aws::String & GetGlobalNetworkId() const
void SetState(ConnectionState 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