7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/networkmanager/NetworkManager_EXPORTS.h>
11#include <aws/networkmanager/model/ConnectionState.h>
12#include <aws/networkmanager/model/Tag.h>
23namespace NetworkManager {
44 template <
typename ConnectionIdT = Aws::String>
46 m_connectionIdHasBeenSet =
true;
47 m_connectionId = std::forward<ConnectionIdT>(value);
49 template <
typename ConnectionIdT = Aws::String>
62 template <
typename ConnectionArnT = Aws::String>
64 m_connectionArnHasBeenSet =
true;
65 m_connectionArn = std::forward<ConnectionArnT>(value);
67 template <
typename ConnectionArnT = Aws::String>
80 template <
typename GlobalNetworkIdT = Aws::String>
82 m_globalNetworkIdHasBeenSet =
true;
83 m_globalNetworkId = std::forward<GlobalNetworkIdT>(value);
85 template <
typename GlobalNetworkIdT = Aws::String>
98 template <
typename DeviceIdT = Aws::String>
100 m_deviceIdHasBeenSet =
true;
101 m_deviceId = std::forward<DeviceIdT>(value);
103 template <
typename DeviceIdT = Aws::String>
116 template <
typename ConnectedDeviceIdT = Aws::String>
118 m_connectedDeviceIdHasBeenSet =
true;
119 m_connectedDeviceId = std::forward<ConnectedDeviceIdT>(value);
121 template <
typename ConnectedDeviceIdT = Aws::String>
134 template <
typename LinkIdT = Aws::String>
136 m_linkIdHasBeenSet =
true;
137 m_linkId = std::forward<LinkIdT>(value);
139 template <
typename LinkIdT = Aws::String>
152 template <
typename ConnectedLinkIdT = Aws::String>
154 m_connectedLinkIdHasBeenSet =
true;
155 m_connectedLinkId = std::forward<ConnectedLinkIdT>(value);
157 template <
typename ConnectedLinkIdT = Aws::String>
170 template <
typename DescriptionT = Aws::String>
172 m_descriptionHasBeenSet =
true;
173 m_description = std::forward<DescriptionT>(value);
175 template <
typename DescriptionT = Aws::String>
188 template <
typename CreatedAtT = Aws::Utils::DateTime>
190 m_createdAtHasBeenSet =
true;
191 m_createdAt = std::forward<CreatedAtT>(value);
193 template <
typename CreatedAtT = Aws::Utils::DateTime>
207 m_stateHasBeenSet =
true;
222 template <
typename TagsT = Aws::Vector<Tag>>
224 m_tagsHasBeenSet =
true;
225 m_tags = std::forward<TagsT>(value);
227 template <
typename TagsT = Aws::Vector<Tag>>
229 SetTags(std::forward<TagsT>(value));
232 template <
typename TagsT = Tag>
234 m_tagsHasBeenSet =
true;
235 m_tags.emplace_back(std::forward<TagsT>(value));
261 bool m_connectionIdHasBeenSet =
false;
262 bool m_connectionArnHasBeenSet =
false;
263 bool m_globalNetworkIdHasBeenSet =
false;
264 bool m_deviceIdHasBeenSet =
false;
265 bool m_connectedDeviceIdHasBeenSet =
false;
266 bool m_linkIdHasBeenSet =
false;
267 bool m_connectedLinkIdHasBeenSet =
false;
268 bool m_descriptionHasBeenSet =
false;
269 bool m_createdAtHasBeenSet =
false;
270 bool m_stateHasBeenSet =
false;
271 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