7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/directconnect/DirectConnectRequest.h>
10#include <aws/directconnect/DirectConnect_EXPORTS.h>
11#include <aws/directconnect/model/RequestBillingMode.h>
12#include <aws/directconnect/model/Tag.h>
17namespace DirectConnect {
42 template <
typename LocationT = Aws::String>
44 m_locationHasBeenSet =
true;
45 m_location = std::forward<LocationT>(value);
47 template <
typename LocationT = Aws::String>
60 template <
typename Bandw
idthT = Aws::String>
62 m_bandwidthHasBeenSet =
true;
63 m_bandwidth = std::forward<BandwidthT>(value);
65 template <
typename Bandw
idthT = Aws::String>
78 template <
typename ConnectionNameT = Aws::String>
80 m_connectionNameHasBeenSet =
true;
81 m_connectionName = std::forward<ConnectionNameT>(value);
83 template <
typename ConnectionNameT = Aws::String>
96 template <
typename LagIdT = Aws::String>
98 m_lagIdHasBeenSet =
true;
99 m_lagId = std::forward<LagIdT>(value);
101 template <
typename LagIdT = Aws::String>
103 SetLagId(std::forward<LagIdT>(value));
114 template <
typename TagsT = Aws::Vector<Tag>>
116 m_tagsHasBeenSet =
true;
117 m_tags = std::forward<TagsT>(value);
119 template <
typename TagsT = Aws::Vector<Tag>>
121 SetTags(std::forward<TagsT>(value));
124 template <
typename TagsT = Tag>
126 m_tagsHasBeenSet =
true;
127 m_tags.emplace_back(std::forward<TagsT>(value));
139 template <
typename Prov
iderNameT = Aws::String>
141 m_providerNameHasBeenSet =
true;
142 m_providerName = std::forward<ProviderNameT>(value);
144 template <
typename Prov
iderNameT = Aws::String>
162 m_requestMACSecHasBeenSet =
true;
163 m_requestMACSec = value;
178 m_billingModeHasBeenSet =
true;
179 m_billingMode = value;
199 bool m_requestMACSec{
false};
202 bool m_locationHasBeenSet =
false;
203 bool m_bandwidthHasBeenSet =
false;
204 bool m_connectionNameHasBeenSet =
false;
205 bool m_lagIdHasBeenSet =
false;
206 bool m_tagsHasBeenSet =
false;
207 bool m_providerNameHasBeenSet =
false;
208 bool m_requestMACSecHasBeenSet =
false;
209 bool m_billingModeHasBeenSet =
false;
bool LocationHasBeenSet() const
bool ConnectionNameHasBeenSet() const
CreateConnectionRequest & WithRequestMACSec(bool value)
void SetConnectionName(ConnectionNameT &&value)
AWS_DIRECTCONNECT_API CreateConnectionRequest()=default
bool BillingModeHasBeenSet() const
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 & WithBillingMode(RequestBillingMode value)
CreateConnectionRequest & WithBandwidth(BandwidthT &&value)
bool RequestMACSecHasBeenSet() const
RequestBillingMode GetBillingMode() 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)
void SetBillingMode(RequestBillingMode 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