7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/directconnect/model/LagState.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/directconnect/model/HasLogicalRedundancy.h>
12#include <aws/directconnect/model/Connection.h>
13#include <aws/directconnect/model/Tag.h>
14#include <aws/directconnect/model/MacSecKey.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
29namespace DirectConnect
53 template<
typename ConnectionsBandw
idthT = Aws::String>
54 void SetConnectionsBandwidth(ConnectionsBandwidthT&& value) { m_connectionsBandwidthHasBeenSet =
true; m_connectionsBandwidth = std::forward<ConnectionsBandwidthT>(value); }
55 template<
typename ConnectionsBandw
idthT = Aws::String>
67 inline void SetNumberOfConnections(
int value) { m_numberOfConnectionsHasBeenSet =
true; m_numberOfConnections = value; }
76 template<
typename LagIdT = Aws::String>
77 void SetLagId(LagIdT&& value) { m_lagIdHasBeenSet =
true; m_lagId = std::forward<LagIdT>(value); }
78 template<
typename LagIdT = Aws::String>
87 template<
typename OwnerAccountT = Aws::String>
88 void SetOwnerAccount(OwnerAccountT&& value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount = std::forward<OwnerAccountT>(value); }
89 template<
typename OwnerAccountT = Aws::String>
98 template<
typename LagNameT = Aws::String>
99 void SetLagName(LagNameT&& value) { m_lagNameHasBeenSet =
true; m_lagName = std::forward<LagNameT>(value); }
100 template<
typename LagNameT = Aws::String>
127 template<
typename LocationT = Aws::String>
128 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
129 template<
typename LocationT = Aws::String>
138 template<
typename RegionT = Aws::String>
139 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
140 template<
typename RegionT = Aws::String>
150 inline void SetMinimumLinks(
int value) { m_minimumLinksHasBeenSet =
true; m_minimumLinks = value; }
159 template<
typename AwsDeviceT = Aws::String>
160 void SetAwsDevice(AwsDeviceT&& value) { m_awsDeviceHasBeenSet =
true; m_awsDevice = std::forward<AwsDeviceT>(value); }
161 template<
typename AwsDeviceT = Aws::String>
170 template<
typename AwsDeviceV2T = Aws::String>
171 void SetAwsDeviceV2(AwsDeviceV2T&& value) { m_awsDeviceV2HasBeenSet =
true; m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value); }
172 template<
typename AwsDeviceV2T = Aws::String>
183 template<
typename AwsLogicalDeviceIdT = Aws::String>
184 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) { m_awsLogicalDeviceIdHasBeenSet =
true; m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value); }
185 template<
typename AwsLogicalDeviceIdT = Aws::String>
194 template<
typename ConnectionsT = Aws::Vector<Connection>>
195 void SetConnections(ConnectionsT&& value) { m_connectionsHasBeenSet =
true; m_connections = std::forward<ConnectionsT>(value); }
196 template<
typename ConnectionsT = Aws::Vector<Connection>>
198 template<
typename ConnectionsT = Connection>
199 DeleteLagResult&
AddConnections(ConnectionsT&& value) { m_connectionsHasBeenSet =
true; m_connections.emplace_back(std::forward<ConnectionsT>(value));
return *
this; }
216 inline void SetJumboFrameCapable(
bool value) { m_jumboFrameCapableHasBeenSet =
true; m_jumboFrameCapable = value; }
235 template<
typename TagsT = Aws::Vector<Tag>>
236 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
237 template<
typename TagsT = Aws::Vector<Tag>>
239 template<
typename TagsT = Tag>
240 DeleteLagResult&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
248 template<
typename Prov
iderNameT = Aws::String>
249 void SetProviderName(ProviderNameT&& value) { m_providerNameHasBeenSet =
true; m_providerName = std::forward<ProviderNameT>(value); }
250 template<
typename Prov
iderNameT = Aws::String>
259 inline void SetMacSecCapable(
bool value) { m_macSecCapableHasBeenSet =
true; m_macSecCapable = value; }
270 template<
typename EncryptionModeT = Aws::String>
271 void SetEncryptionMode(EncryptionModeT&& value) { m_encryptionModeHasBeenSet =
true; m_encryptionMode = std::forward<EncryptionModeT>(value); }
272 template<
typename EncryptionModeT = Aws::String>
281 template<
typename MacSecKeysT = Aws::Vector<MacSecKey>>
282 void SetMacSecKeys(MacSecKeysT&& value) { m_macSecKeysHasBeenSet =
true; m_macSecKeys = std::forward<MacSecKeysT>(value); }
283 template<
typename MacSecKeysT = Aws::Vector<MacSecKey>>
285 template<
typename MacSecKeysT = MacSecKey>
286 DeleteLagResult&
AddMacSecKeys(MacSecKeysT&& value) { m_macSecKeysHasBeenSet =
true; m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
return *
this; }
292 template<
typename RequestIdT = Aws::String>
293 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
294 template<
typename RequestIdT = Aws::String>
300 bool m_connectionsBandwidthHasBeenSet =
false;
302 int m_numberOfConnections{0};
303 bool m_numberOfConnectionsHasBeenSet =
false;
306 bool m_lagIdHasBeenSet =
false;
309 bool m_ownerAccountHasBeenSet =
false;
312 bool m_lagNameHasBeenSet =
false;
315 bool m_lagStateHasBeenSet =
false;
318 bool m_locationHasBeenSet =
false;
321 bool m_regionHasBeenSet =
false;
323 int m_minimumLinks{0};
324 bool m_minimumLinksHasBeenSet =
false;
327 bool m_awsDeviceHasBeenSet =
false;
330 bool m_awsDeviceV2HasBeenSet =
false;
333 bool m_awsLogicalDeviceIdHasBeenSet =
false;
336 bool m_connectionsHasBeenSet =
false;
338 bool m_allowsHostedConnections{
false};
339 bool m_allowsHostedConnectionsHasBeenSet =
false;
341 bool m_jumboFrameCapable{
false};
342 bool m_jumboFrameCapableHasBeenSet =
false;
345 bool m_hasLogicalRedundancyHasBeenSet =
false;
348 bool m_tagsHasBeenSet =
false;
351 bool m_providerNameHasBeenSet =
false;
353 bool m_macSecCapable{
false};
354 bool m_macSecCapableHasBeenSet =
false;
357 bool m_encryptionModeHasBeenSet =
false;
360 bool m_macSecKeysHasBeenSet =
false;
363 bool m_requestIdHasBeenSet =
false;
void SetHasLogicalRedundancy(HasLogicalRedundancy value)
void SetLagId(LagIdT &&value)
DeleteLagResult & WithLagName(LagNameT &&value)
void SetMinimumLinks(int value)
DeleteLagResult & WithRegion(RegionT &&value)
const Aws::String & GetConnectionsBandwidth() const
void SetMacSecKeys(MacSecKeysT &&value)
DeleteLagResult & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
const Aws::String & GetLagName() const
DeleteLagResult & WithMacSecCapable(bool value)
HasLogicalRedundancy GetHasLogicalRedundancy() const
void SetAwsDevice(AwsDeviceT &&value)
void SetMacSecCapable(bool value)
void SetRequestId(RequestIdT &&value)
DeleteLagResult & WithHasLogicalRedundancy(HasLogicalRedundancy value)
DeleteLagResult & WithRequestId(RequestIdT &&value)
void SetConnectionsBandwidth(ConnectionsBandwidthT &&value)
void SetOwnerAccount(OwnerAccountT &&value)
const Aws::String & GetRequestId() const
DeleteLagResult & WithAllowsHostedConnections(bool value)
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
const Aws::String & GetOwnerAccount() const
DeleteLagResult & WithLagId(LagIdT &&value)
DeleteLagResult & WithOwnerAccount(OwnerAccountT &&value)
void SetNumberOfConnections(int value)
const Aws::String & GetEncryptionMode() const
const Aws::String & GetLagId() const
void SetAllowsHostedConnections(bool value)
bool GetAllowsHostedConnections() const
DeleteLagResult & WithConnections(ConnectionsT &&value)
AWS_DIRECTCONNECT_API DeleteLagResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteLagResult & WithMinimumLinks(int value)
const Aws::String & GetProviderName() const
DeleteLagResult & AddConnections(ConnectionsT &&value)
void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
DeleteLagResult & AddMacSecKeys(MacSecKeysT &&value)
int GetNumberOfConnections() const
DeleteLagResult & WithNumberOfConnections(int value)
int GetMinimumLinks() const
void SetLagName(LagNameT &&value)
void SetEncryptionMode(EncryptionModeT &&value)
const Aws::Vector< Tag > & GetTags() const
DeleteLagResult & WithProviderName(ProviderNameT &&value)
void SetRegion(RegionT &&value)
DeleteLagResult & AddTags(TagsT &&value)
DeleteLagResult & WithJumboFrameCapable(bool value)
DeleteLagResult & WithEncryptionMode(EncryptionModeT &&value)
AWS_DIRECTCONNECT_API DeleteLagResult()=default
DeleteLagResult & WithAwsDeviceV2(AwsDeviceV2T &&value)
DeleteLagResult & WithLocation(LocationT &&value)
void SetAwsDeviceV2(AwsDeviceV2T &&value)
const Aws::Vector< Connection > & GetConnections() const
const Aws::String & GetAwsLogicalDeviceId() const
void SetLocation(LocationT &&value)
const Aws::String & GetAwsDeviceV2() const
bool GetMacSecCapable() const
void SetConnections(ConnectionsT &&value)
void SetProviderName(ProviderNameT &&value)
const Aws::String & GetRegion() const
const Aws::String & GetAwsDevice() const
DeleteLagResult & WithConnectionsBandwidth(ConnectionsBandwidthT &&value)
LagState GetLagState() const
DeleteLagResult & WithAwsDevice(AwsDeviceT &&value)
void SetTags(TagsT &&value)
DeleteLagResult & WithMacSecKeys(MacSecKeysT &&value)
DeleteLagResult & WithTags(TagsT &&value)
void SetJumboFrameCapable(bool value)
const Aws::String & GetLocation() const
bool GetJumboFrameCapable() const
void SetLagState(LagState value)
DeleteLagResult & WithLagState(LagState value)
AWS_DIRECTCONNECT_API DeleteLagResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue