7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/directconnect/model/ConnectionState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/directconnect/model/HasLogicalRedundancy.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/directconnect/model/Tag.h>
14#include <aws/directconnect/model/MacSecKey.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
29namespace DirectConnect
51 template<
typename OwnerAccountT = Aws::String>
52 void SetOwnerAccount(OwnerAccountT&& value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount = std::forward<OwnerAccountT>(value); }
53 template<
typename OwnerAccountT = Aws::String>
62 template<
typename ConnectionIdT = Aws::String>
63 void SetConnectionId(ConnectionIdT&& value) { m_connectionIdHasBeenSet =
true; m_connectionId = std::forward<ConnectionIdT>(value); }
64 template<
typename ConnectionIdT = Aws::String>
73 template<
typename ConnectionNameT = Aws::String>
74 void SetConnectionName(ConnectionNameT&& value) { m_connectionNameHasBeenSet =
true; m_connectionName = std::forward<ConnectionNameT>(value); }
75 template<
typename ConnectionNameT = Aws::String>
108 template<
typename RegionT = Aws::String>
109 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
110 template<
typename RegionT = Aws::String>
119 template<
typename LocationT = Aws::String>
120 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
121 template<
typename LocationT = Aws::String>
130 template<
typename Bandw
idthT = Aws::String>
131 void SetBandwidth(BandwidthT&& value) { m_bandwidthHasBeenSet =
true; m_bandwidth = std::forward<BandwidthT>(value); }
132 template<
typename Bandw
idthT = Aws::String>
141 inline void SetVlan(
int value) { m_vlanHasBeenSet =
true; m_vlan = value; }
151 template<
typename PartnerNameT = Aws::String>
152 void SetPartnerName(PartnerNameT&& value) { m_partnerNameHasBeenSet =
true; m_partnerName = std::forward<PartnerNameT>(value); }
153 template<
typename PartnerNameT = Aws::String>
163 template<
typename LoaIssueTimeT = Aws::Utils::DateTime>
164 void SetLoaIssueTime(LoaIssueTimeT&& value) { m_loaIssueTimeHasBeenSet =
true; m_loaIssueTime = std::forward<LoaIssueTimeT>(value); }
165 template<
typename LoaIssueTimeT = Aws::Utils::DateTime>
174 template<
typename LagIdT = Aws::String>
175 void SetLagId(LagIdT&& value) { m_lagIdHasBeenSet =
true; m_lagId = std::forward<LagIdT>(value); }
176 template<
typename LagIdT = Aws::String>
185 template<
typename AwsDeviceT = Aws::String>
186 void SetAwsDevice(AwsDeviceT&& value) { m_awsDeviceHasBeenSet =
true; m_awsDevice = std::forward<AwsDeviceT>(value); }
187 template<
typename AwsDeviceT = Aws::String>
196 inline void SetJumboFrameCapable(
bool value) { m_jumboFrameCapableHasBeenSet =
true; m_jumboFrameCapable = value; }
205 template<
typename AwsDeviceV2T = Aws::String>
206 void SetAwsDeviceV2(AwsDeviceV2T&& value) { m_awsDeviceV2HasBeenSet =
true; m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value); }
207 template<
typename AwsDeviceV2T = Aws::String>
218 template<
typename AwsLogicalDeviceIdT = Aws::String>
219 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) { m_awsLogicalDeviceIdHasBeenSet =
true; m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value); }
220 template<
typename AwsLogicalDeviceIdT = Aws::String>
239 template<
typename TagsT = Aws::Vector<Tag>>
240 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
241 template<
typename TagsT = Aws::Vector<Tag>>
243 template<
typename TagsT = Tag>
252 template<
typename Prov
iderNameT = Aws::String>
253 void SetProviderName(ProviderNameT&& value) { m_providerNameHasBeenSet =
true; m_providerName = std::forward<ProviderNameT>(value); }
254 template<
typename Prov
iderNameT = Aws::String>
263 inline void SetMacSecCapable(
bool value) { m_macSecCapableHasBeenSet =
true; m_macSecCapable = value; }
274 template<
typename PortEncryptionStatusT = Aws::String>
275 void SetPortEncryptionStatus(PortEncryptionStatusT&& value) { m_portEncryptionStatusHasBeenSet =
true; m_portEncryptionStatus = std::forward<PortEncryptionStatusT>(value); }
276 template<
typename PortEncryptionStatusT = Aws::String>
287 template<
typename EncryptionModeT = Aws::String>
288 void SetEncryptionMode(EncryptionModeT&& value) { m_encryptionModeHasBeenSet =
true; m_encryptionMode = std::forward<EncryptionModeT>(value); }
289 template<
typename EncryptionModeT = Aws::String>
298 template<
typename MacSecKeysT = Aws::Vector<MacSecKey>>
299 void SetMacSecKeys(MacSecKeysT&& value) { m_macSecKeysHasBeenSet =
true; m_macSecKeys = std::forward<MacSecKeysT>(value); }
300 template<
typename MacSecKeysT = Aws::Vector<MacSecKey>>
302 template<
typename MacSecKeysT = MacSecKey>
309 template<
typename RequestIdT = Aws::String>
310 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
311 template<
typename RequestIdT = Aws::String>
317 bool m_ownerAccountHasBeenSet =
false;
320 bool m_connectionIdHasBeenSet =
false;
323 bool m_connectionNameHasBeenSet =
false;
326 bool m_connectionStateHasBeenSet =
false;
329 bool m_regionHasBeenSet =
false;
332 bool m_locationHasBeenSet =
false;
335 bool m_bandwidthHasBeenSet =
false;
338 bool m_vlanHasBeenSet =
false;
341 bool m_partnerNameHasBeenSet =
false;
344 bool m_loaIssueTimeHasBeenSet =
false;
347 bool m_lagIdHasBeenSet =
false;
350 bool m_awsDeviceHasBeenSet =
false;
352 bool m_jumboFrameCapable{
false};
353 bool m_jumboFrameCapableHasBeenSet =
false;
356 bool m_awsDeviceV2HasBeenSet =
false;
359 bool m_awsLogicalDeviceIdHasBeenSet =
false;
362 bool m_hasLogicalRedundancyHasBeenSet =
false;
365 bool m_tagsHasBeenSet =
false;
368 bool m_providerNameHasBeenSet =
false;
370 bool m_macSecCapable{
false};
371 bool m_macSecCapableHasBeenSet =
false;
374 bool m_portEncryptionStatusHasBeenSet =
false;
377 bool m_encryptionModeHasBeenSet =
false;
380 bool m_macSecKeysHasBeenSet =
false;
383 bool m_requestIdHasBeenSet =
false;
void SetOwnerAccount(OwnerAccountT &&value)
const Aws::String & GetAwsDevice() const
void SetLoaIssueTime(LoaIssueTimeT &&value)
bool GetJumboFrameCapable() const
UpdateConnectionResult & WithProviderName(ProviderNameT &&value)
void SetAwsDeviceV2(AwsDeviceV2T &&value)
const Aws::String & GetRegion() const
void SetProviderName(ProviderNameT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetBandwidth() const
const Aws::String & GetConnectionId() const
UpdateConnectionResult & WithConnectionId(ConnectionIdT &&value)
UpdateConnectionResult & WithConnectionState(ConnectionState value)
UpdateConnectionResult & WithHasLogicalRedundancy(HasLogicalRedundancy value)
void SetConnectionName(ConnectionNameT &&value)
UpdateConnectionResult & WithAwsDevice(AwsDeviceT &&value)
UpdateConnectionResult & WithMacSecKeys(MacSecKeysT &&value)
void SetPartnerName(PartnerNameT &&value)
void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
const Aws::String & GetProviderName() const
UpdateConnectionResult & WithTags(TagsT &&value)
void SetMacSecCapable(bool value)
UpdateConnectionResult & WithMacSecCapable(bool value)
const Aws::String & GetConnectionName() const
UpdateConnectionResult & WithConnectionName(ConnectionNameT &&value)
void SetLocation(LocationT &&value)
void SetMacSecKeys(MacSecKeysT &&value)
UpdateConnectionResult & WithLagId(LagIdT &&value)
UpdateConnectionResult & WithBandwidth(BandwidthT &&value)
void SetLagId(LagIdT &&value)
void SetConnectionId(ConnectionIdT &&value)
AWS_DIRECTCONNECT_API UpdateConnectionResult()=default
void SetConnectionState(ConnectionState value)
const Aws::String & GetRequestId() const
UpdateConnectionResult & AddMacSecKeys(MacSecKeysT &&value)
void SetAwsDevice(AwsDeviceT &&value)
UpdateConnectionResult & AddTags(TagsT &&value)
const Aws::String & GetEncryptionMode() const
UpdateConnectionResult & WithOwnerAccount(OwnerAccountT &&value)
void SetBandwidth(BandwidthT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetPartnerName() const
void SetPortEncryptionStatus(PortEncryptionStatusT &&value)
const Aws::String & GetLagId() const
bool GetMacSecCapable() const
void SetHasLogicalRedundancy(HasLogicalRedundancy value)
UpdateConnectionResult & WithEncryptionMode(EncryptionModeT &&value)
void SetEncryptionMode(EncryptionModeT &&value)
const Aws::Vector< Tag > & GetTags() const
UpdateConnectionResult & WithLoaIssueTime(LoaIssueTimeT &&value)
UpdateConnectionResult & WithJumboFrameCapable(bool value)
AWS_DIRECTCONNECT_API UpdateConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateConnectionResult & WithRequestId(RequestIdT &&value)
UpdateConnectionResult & WithPartnerName(PartnerNameT &&value)
UpdateConnectionResult & WithPortEncryptionStatus(PortEncryptionStatusT &&value)
const Aws::String & GetAwsLogicalDeviceId() const
UpdateConnectionResult & WithVlan(int value)
const Aws::String & GetOwnerAccount() const
HasLogicalRedundancy GetHasLogicalRedundancy() const
const Aws::String & GetAwsDeviceV2() const
ConnectionState GetConnectionState() const
const Aws::Utils::DateTime & GetLoaIssueTime() const
UpdateConnectionResult & WithAwsDeviceV2(AwsDeviceV2T &&value)
UpdateConnectionResult & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
void SetJumboFrameCapable(bool value)
AWS_DIRECTCONNECT_API UpdateConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetLocation() const
UpdateConnectionResult & WithRegion(RegionT &&value)
void SetRegion(RegionT &&value)
const Aws::String & GetPortEncryptionStatus() const
UpdateConnectionResult & WithLocation(LocationT &&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