7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/directconnect/DirectConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/directconnect/model/Tag.h>
16namespace DirectConnect
45 template<
typename LocationT = Aws::String>
46 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
47 template<
typename LocationT = Aws::String>
57 template<
typename Bandw
idthT = Aws::String>
58 void SetBandwidth(BandwidthT&& value) { m_bandwidthHasBeenSet =
true; m_bandwidth = std::forward<BandwidthT>(value); }
59 template<
typename Bandw
idthT = Aws::String>
69 template<
typename ConnectionNameT = Aws::String>
70 void SetConnectionName(ConnectionNameT&& value) { m_connectionNameHasBeenSet =
true; m_connectionName = std::forward<ConnectionNameT>(value); }
71 template<
typename ConnectionNameT = Aws::String>
81 template<
typename LagIdT = Aws::String>
82 void SetLagId(LagIdT&& value) { m_lagIdHasBeenSet =
true; m_lagId = std::forward<LagIdT>(value); }
83 template<
typename LagIdT = Aws::String>
93 template<
typename TagsT = Aws::Vector<Tag>>
94 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
95 template<
typename TagsT = Aws::Vector<Tag>>
97 template<
typename TagsT = Tag>
108 template<
typename Prov
iderNameT = Aws::String>
109 void SetProviderName(ProviderNameT&& value) { m_providerNameHasBeenSet =
true; m_providerName = std::forward<ProviderNameT>(value); }
110 template<
typename Prov
iderNameT = Aws::String>
124 inline void SetRequestMACSec(
bool value) { m_requestMACSecHasBeenSet =
true; m_requestMACSec = value; }
130 bool m_locationHasBeenSet =
false;
133 bool m_bandwidthHasBeenSet =
false;
136 bool m_connectionNameHasBeenSet =
false;
139 bool m_lagIdHasBeenSet =
false;
142 bool m_tagsHasBeenSet =
false;
145 bool m_providerNameHasBeenSet =
false;
147 bool m_requestMACSec{
false};
148 bool m_requestMACSecHasBeenSet =
false;
bool LocationHasBeenSet() const
bool ConnectionNameHasBeenSet() const
CreateConnectionRequest & WithRequestMACSec(bool value)
void SetConnectionName(ConnectionNameT &&value)
AWS_DIRECTCONNECT_API CreateConnectionRequest()=default
const Aws::String & GetBandwidth() const
void SetRequestMACSec(bool value)
void SetLagId(LagIdT &&value)
CreateConnectionRequest & WithTags(TagsT &&value)
void SetProviderName(ProviderNameT &&value)
bool GetRequestMACSec() const
CreateConnectionRequest & AddTags(TagsT &&value)
const Aws::String & GetLagId() const
void SetTags(TagsT &&value)
CreateConnectionRequest & WithConnectionName(ConnectionNameT &&value)
CreateConnectionRequest & WithBandwidth(BandwidthT &&value)
bool RequestMACSecHasBeenSet() const
const Aws::String & GetConnectionName() const
bool TagsHasBeenSet() const
bool ProviderNameHasBeenSet() const
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetLocation() const
CreateConnectionRequest & WithProviderName(ProviderNameT &&value)
bool BandwidthHasBeenSet() const
const Aws::String & GetProviderName() const
bool LagIdHasBeenSet() const
void SetBandwidth(BandwidthT &&value)
void SetLocation(LocationT &&value)
virtual const char * GetServiceRequestName() const override
CreateConnectionRequest & WithLagId(LagIdT &&value)
CreateConnectionRequest & WithLocation(LocationT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector