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/directconnect/DirectConnect_EXPORTS.h>
11#include <aws/directconnect/model/ConnectionState.h>
12#include <aws/directconnect/model/HasLogicalRedundancy.h>
13#include <aws/directconnect/model/MacSecKey.h>
14#include <aws/directconnect/model/Tag.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace DirectConnect {
45 template <
typename OwnerAccountT = Aws::String>
47 m_ownerAccountHasBeenSet =
true;
48 m_ownerAccount = std::forward<OwnerAccountT>(value);
50 template <
typename OwnerAccountT = Aws::String>
62 template <
typename ConnectionIdT = Aws::String>
64 m_connectionIdHasBeenSet =
true;
65 m_connectionId = std::forward<ConnectionIdT>(value);
67 template <
typename ConnectionIdT = Aws::String>
79 template <
typename ConnectionNameT = Aws::String>
81 m_connectionNameHasBeenSet =
true;
82 m_connectionName = std::forward<ConnectionNameT>(value);
84 template <
typename ConnectionNameT = Aws::String>
112 m_connectionStateHasBeenSet =
true;
113 m_connectionState = value;
126 template <
typename RegionT = Aws::String>
128 m_regionHasBeenSet =
true;
129 m_region = std::forward<RegionT>(value);
131 template <
typename RegionT = Aws::String>
143 template <
typename LocationT = Aws::String>
145 m_locationHasBeenSet =
true;
146 m_location = std::forward<LocationT>(value);
148 template <
typename LocationT = Aws::String>
160 template <
typename Bandw
idthT = Aws::String>
162 m_bandwidthHasBeenSet =
true;
163 m_bandwidth = std::forward<BandwidthT>(value);
165 template <
typename Bandw
idthT = Aws::String>
178 m_vlanHasBeenSet =
true;
193 template <
typename PartnerNameT = Aws::String>
195 m_partnerNameHasBeenSet =
true;
196 m_partnerName = std::forward<PartnerNameT>(value);
198 template <
typename PartnerNameT = Aws::String>
211 template <
typename LoaIssueTimeT = Aws::Utils::DateTime>
213 m_loaIssueTimeHasBeenSet =
true;
214 m_loaIssueTime = std::forward<LoaIssueTimeT>(value);
216 template <
typename LoaIssueTimeT = Aws::Utils::DateTime>
228 template <
typename LagIdT = Aws::String>
230 m_lagIdHasBeenSet =
true;
231 m_lagId = std::forward<LagIdT>(value);
233 template <
typename LagIdT = Aws::String>
235 SetLagId(std::forward<LagIdT>(value));
245 template <
typename AwsDeviceT = Aws::String>
247 m_awsDeviceHasBeenSet =
true;
248 m_awsDevice = std::forward<AwsDeviceT>(value);
250 template <
typename AwsDeviceT = Aws::String>
263 m_jumboFrameCapableHasBeenSet =
true;
264 m_jumboFrameCapable = value;
277 template <
typename AwsDeviceV2T = Aws::String>
279 m_awsDeviceV2HasBeenSet =
true;
280 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
282 template <
typename AwsDeviceV2T = Aws::String>
296 template <
typename AwsLogicalDeviceIdT = Aws::String>
298 m_awsLogicalDeviceIdHasBeenSet =
true;
299 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
301 template <
typename AwsLogicalDeviceIdT = Aws::String>
315 m_hasLogicalRedundancyHasBeenSet =
true;
316 m_hasLogicalRedundancy = value;
329 template <
typename TagsT = Aws::Vector<Tag>>
331 m_tagsHasBeenSet =
true;
332 m_tags = std::forward<TagsT>(value);
334 template <
typename TagsT = Aws::Vector<Tag>>
336 SetTags(std::forward<TagsT>(value));
339 template <
typename TagsT = Tag>
341 m_tagsHasBeenSet =
true;
342 m_tags.emplace_back(std::forward<TagsT>(value));
352 template <
typename Prov
iderNameT = Aws::String>
354 m_providerNameHasBeenSet =
true;
355 m_providerName = std::forward<ProviderNameT>(value);
357 template <
typename Prov
iderNameT = Aws::String>
370 m_macSecCapableHasBeenSet =
true;
371 m_macSecCapable = value;
386 template <
typename PortEncryptionStatusT = Aws::String>
388 m_portEncryptionStatusHasBeenSet =
true;
389 m_portEncryptionStatus = std::forward<PortEncryptionStatusT>(value);
391 template <
typename PortEncryptionStatusT = Aws::String>
405 template <
typename EncryptionModeT = Aws::String>
407 m_encryptionModeHasBeenSet =
true;
408 m_encryptionMode = std::forward<EncryptionModeT>(value);
410 template <
typename EncryptionModeT = Aws::String>
422 template <
typename MacSecKeysT = Aws::Vector<MacSecKey>>
424 m_macSecKeysHasBeenSet =
true;
425 m_macSecKeys = std::forward<MacSecKeysT>(value);
427 template <
typename MacSecKeysT = Aws::Vector<MacSecKey>>
432 template <
typename MacSecKeysT = MacSecKey>
434 m_macSecKeysHasBeenSet =
true;
435 m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
447 m_partnerInterconnectMacSecCapableHasBeenSet =
true;
448 m_partnerInterconnectMacSecCapable = value;
459 template <
typename RequestIdT = Aws::String>
461 m_requestIdHasBeenSet =
true;
462 m_requestId = std::forward<RequestIdT>(value);
464 template <
typename RequestIdT = Aws::String>
495 bool m_jumboFrameCapable{
false};
507 bool m_macSecCapable{
false};
515 bool m_partnerInterconnectMacSecCapable{
false};
518 bool m_ownerAccountHasBeenSet =
false;
519 bool m_connectionIdHasBeenSet =
false;
520 bool m_connectionNameHasBeenSet =
false;
521 bool m_connectionStateHasBeenSet =
false;
522 bool m_regionHasBeenSet =
false;
523 bool m_locationHasBeenSet =
false;
524 bool m_bandwidthHasBeenSet =
false;
525 bool m_vlanHasBeenSet =
false;
526 bool m_partnerNameHasBeenSet =
false;
527 bool m_loaIssueTimeHasBeenSet =
false;
528 bool m_lagIdHasBeenSet =
false;
529 bool m_awsDeviceHasBeenSet =
false;
530 bool m_jumboFrameCapableHasBeenSet =
false;
531 bool m_awsDeviceV2HasBeenSet =
false;
532 bool m_awsLogicalDeviceIdHasBeenSet =
false;
533 bool m_hasLogicalRedundancyHasBeenSet =
false;
534 bool m_tagsHasBeenSet =
false;
535 bool m_providerNameHasBeenSet =
false;
536 bool m_macSecCapableHasBeenSet =
false;
537 bool m_portEncryptionStatusHasBeenSet =
false;
538 bool m_encryptionModeHasBeenSet =
false;
539 bool m_macSecKeysHasBeenSet =
false;
540 bool m_partnerInterconnectMacSecCapableHasBeenSet =
false;
541 bool m_requestIdHasBeenSet =
false;
void SetConnectionState(ConnectionState value)
AssociateHostedConnectionResult & WithTags(TagsT &&value)
AssociateHostedConnectionResult & WithPortEncryptionStatus(PortEncryptionStatusT &&value)
void SetBandwidth(BandwidthT &&value)
void SetProviderName(ProviderNameT &&value)
void SetConnectionName(ConnectionNameT &&value)
const Aws::String & GetConnectionName() const
void SetRequestId(RequestIdT &&value)
AssociateHostedConnectionResult & AddTags(TagsT &&value)
AWS_DIRECTCONNECT_API AssociateHostedConnectionResult()=default
HasLogicalRedundancy GetHasLogicalRedundancy() const
void SetEncryptionMode(EncryptionModeT &&value)
void SetPartnerName(PartnerNameT &&value)
AssociateHostedConnectionResult & WithRegion(RegionT &&value)
void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
const Aws::String & GetProviderName() const
void SetOwnerAccount(OwnerAccountT &&value)
AssociateHostedConnectionResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
AssociateHostedConnectionResult & WithHasLogicalRedundancy(HasLogicalRedundancy value)
void SetHasLogicalRedundancy(HasLogicalRedundancy value)
ConnectionState GetConnectionState() const
void SetAwsDeviceV2(AwsDeviceV2T &&value)
void SetRegion(RegionT &&value)
const Aws::String & GetRegion() const
void SetPortEncryptionStatus(PortEncryptionStatusT &&value)
const Aws::String & GetBandwidth() const
const Aws::String & GetLocation() const
void SetLagId(LagIdT &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_DIRECTCONNECT_API AssociateHostedConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateHostedConnectionResult & WithBandwidth(BandwidthT &&value)
void SetConnectionId(ConnectionIdT &&value)
AssociateHostedConnectionResult & WithVlan(int value)
AssociateHostedConnectionResult & WithLoaIssueTime(LoaIssueTimeT &&value)
void SetJumboFrameCapable(bool value)
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
AssociateHostedConnectionResult & WithLocation(LocationT &&value)
AssociateHostedConnectionResult & WithEncryptionMode(EncryptionModeT &&value)
void SetTags(TagsT &&value)
bool GetPartnerInterconnectMacSecCapable() const
const Aws::String & GetPortEncryptionStatus() const
const Aws::String & GetOwnerAccount() const
bool GetJumboFrameCapable() const
const Aws::String & GetLagId() const
AssociateHostedConnectionResult & WithJumboFrameCapable(bool value)
AssociateHostedConnectionResult & WithAwsDeviceV2(AwsDeviceV2T &&value)
AssociateHostedConnectionResult & WithConnectionName(ConnectionNameT &&value)
const Aws::String & GetEncryptionMode() const
AssociateHostedConnectionResult & WithPartnerName(PartnerNameT &&value)
const Aws::String & GetConnectionId() const
void SetMacSecKeys(MacSecKeysT &&value)
AssociateHostedConnectionResult & WithLagId(LagIdT &&value)
const Aws::Utils::DateTime & GetLoaIssueTime() const
const Aws::String & GetPartnerName() const
void SetLoaIssueTime(LoaIssueTimeT &&value)
const Aws::String & GetAwsDevice() const
AssociateHostedConnectionResult & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
void SetAwsDevice(AwsDeviceT &&value)
bool GetMacSecCapable() const
AssociateHostedConnectionResult & WithConnectionState(ConnectionState value)
void SetLocation(LocationT &&value)
AssociateHostedConnectionResult & WithMacSecCapable(bool value)
AssociateHostedConnectionResult & WithProviderName(ProviderNameT &&value)
const Aws::String & GetAwsLogicalDeviceId() const
AssociateHostedConnectionResult & WithPartnerInterconnectMacSecCapable(bool value)
AWS_DIRECTCONNECT_API AssociateHostedConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateHostedConnectionResult & WithAwsDevice(AwsDeviceT &&value)
AssociateHostedConnectionResult & AddMacSecKeys(MacSecKeysT &&value)
AssociateHostedConnectionResult & WithMacSecKeys(MacSecKeysT &&value)
AssociateHostedConnectionResult & WithOwnerAccount(OwnerAccountT &&value)
AssociateHostedConnectionResult & WithConnectionId(ConnectionIdT &&value)
void SetPartnerInterconnectMacSecCapable(bool value)
void SetMacSecCapable(bool value)
const Aws::String & GetAwsDeviceV2() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue