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 {
45 m_numberOfConnectionsHasBeenSet =
true;
46 m_numberOfConnections = value;
60 template <
typename LocationT = Aws::String>
62 m_locationHasBeenSet =
true;
63 m_location = std::forward<LocationT>(value);
65 template <
typename LocationT = Aws::String>
79 template <
typename ConnectionsBandw
idthT = Aws::String>
81 m_connectionsBandwidthHasBeenSet =
true;
82 m_connectionsBandwidth = std::forward<ConnectionsBandwidthT>(value);
84 template <
typename ConnectionsBandw
idthT = Aws::String>
97 template <
typename LagNameT = Aws::String>
99 m_lagNameHasBeenSet =
true;
100 m_lagName = std::forward<LagNameT>(value);
102 template <
typename LagNameT = Aws::String>
115 template <
typename ConnectionIdT = Aws::String>
117 m_connectionIdHasBeenSet =
true;
118 m_connectionId = std::forward<ConnectionIdT>(value);
120 template <
typename ConnectionIdT = Aws::String>
133 template <
typename TagsT = Aws::Vector<Tag>>
135 m_tagsHasBeenSet =
true;
136 m_tags = std::forward<TagsT>(value);
138 template <
typename TagsT = Aws::Vector<Tag>>
140 SetTags(std::forward<TagsT>(value));
143 template <
typename TagsT = Tag>
145 m_tagsHasBeenSet =
true;
146 m_tags.emplace_back(std::forward<TagsT>(value));
157 template <
typename ChildConnectionTagsT = Aws::Vector<Tag>>
159 m_childConnectionTagsHasBeenSet =
true;
160 m_childConnectionTags = std::forward<ChildConnectionTagsT>(value);
162 template <
typename ChildConnectionTagsT = Aws::Vector<Tag>>
167 template <
typename ChildConnectionTagsT = Tag>
169 m_childConnectionTagsHasBeenSet =
true;
170 m_childConnectionTags.emplace_back(std::forward<ChildConnectionTagsT>(value));
181 template <
typename Prov
iderNameT = Aws::String>
183 m_providerNameHasBeenSet =
true;
184 m_providerName = std::forward<ProviderNameT>(value);
186 template <
typename Prov
iderNameT = Aws::String>
204 m_requestMACSecHasBeenSet =
true;
205 m_requestMACSec = value;
220 m_billingModeHasBeenSet =
true;
221 m_billingMode = value;
229 int m_numberOfConnections{0};
245 bool m_requestMACSec{
false};
248 bool m_numberOfConnectionsHasBeenSet =
false;
249 bool m_locationHasBeenSet =
false;
250 bool m_connectionsBandwidthHasBeenSet =
false;
251 bool m_lagNameHasBeenSet =
false;
252 bool m_connectionIdHasBeenSet =
false;
253 bool m_tagsHasBeenSet =
false;
254 bool m_childConnectionTagsHasBeenSet =
false;
255 bool m_providerNameHasBeenSet =
false;
256 bool m_requestMACSecHasBeenSet =
false;
257 bool m_billingModeHasBeenSet =
false;
const Aws::Vector< Tag > & GetChildConnectionTags() const
CreateLagRequest & WithBillingMode(RequestBillingMode value)
void SetLagName(LagNameT &&value)
CreateLagRequest & AddChildConnectionTags(ChildConnectionTagsT &&value)
CreateLagRequest & WithNumberOfConnections(int value)
AWS_DIRECTCONNECT_API CreateLagRequest()=default
CreateLagRequest & WithConnectionsBandwidth(ConnectionsBandwidthT &&value)
void SetConnectionId(ConnectionIdT &&value)
const Aws::String & GetProviderName() const
const Aws::String & GetConnectionsBandwidth() const
CreateLagRequest & WithTags(TagsT &&value)
void SetBillingMode(RequestBillingMode value)
void SetNumberOfConnections(int value)
const Aws::String & GetConnectionId() const
void SetConnectionsBandwidth(ConnectionsBandwidthT &&value)
CreateLagRequest & WithRequestMACSec(bool value)
bool GetRequestMACSec() const
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetLocation() const
CreateLagRequest & WithChildConnectionTags(ChildConnectionTagsT &&value)
bool BillingModeHasBeenSet() const
bool NumberOfConnectionsHasBeenSet() const
void SetRequestMACSec(bool value)
void SetTags(TagsT &&value)
void SetLocation(LocationT &&value)
int GetNumberOfConnections() const
CreateLagRequest & WithConnectionId(ConnectionIdT &&value)
CreateLagRequest & WithProviderName(ProviderNameT &&value)
void SetChildConnectionTags(ChildConnectionTagsT &&value)
bool ProviderNameHasBeenSet() const
bool ChildConnectionTagsHasBeenSet() const
const Aws::String & GetLagName() const
bool LagNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateLagRequest & WithLagName(LagNameT &&value)
void SetProviderName(ProviderNameT &&value)
bool TagsHasBeenSet() const
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
const Aws::Vector< Tag > & GetTags() const
CreateLagRequest & WithLocation(LocationT &&value)
bool RequestMACSecHasBeenSet() const
RequestBillingMode GetBillingMode() const
bool ConnectionIdHasBeenSet() const
bool ConnectionsBandwidthHasBeenSet() const
bool LocationHasBeenSet() const
CreateLagRequest & AddTags(TagsT &&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