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/Tag.h>
16namespace DirectConnect {
44 m_numberOfConnectionsHasBeenSet =
true;
45 m_numberOfConnections = value;
59 template <
typename LocationT = Aws::String>
61 m_locationHasBeenSet =
true;
62 m_location = std::forward<LocationT>(value);
64 template <
typename LocationT = Aws::String>
78 template <
typename ConnectionsBandw
idthT = Aws::String>
80 m_connectionsBandwidthHasBeenSet =
true;
81 m_connectionsBandwidth = std::forward<ConnectionsBandwidthT>(value);
83 template <
typename ConnectionsBandw
idthT = Aws::String>
96 template <
typename LagNameT = Aws::String>
98 m_lagNameHasBeenSet =
true;
99 m_lagName = std::forward<LagNameT>(value);
101 template <
typename LagNameT = Aws::String>
114 template <
typename ConnectionIdT = Aws::String>
116 m_connectionIdHasBeenSet =
true;
117 m_connectionId = std::forward<ConnectionIdT>(value);
119 template <
typename ConnectionIdT = Aws::String>
132 template <
typename TagsT = Aws::Vector<Tag>>
134 m_tagsHasBeenSet =
true;
135 m_tags = std::forward<TagsT>(value);
137 template <
typename TagsT = Aws::Vector<Tag>>
139 SetTags(std::forward<TagsT>(value));
142 template <
typename TagsT = Tag>
144 m_tagsHasBeenSet =
true;
145 m_tags.emplace_back(std::forward<TagsT>(value));
156 template <
typename ChildConnectionTagsT = Aws::Vector<Tag>>
158 m_childConnectionTagsHasBeenSet =
true;
159 m_childConnectionTags = std::forward<ChildConnectionTagsT>(value);
161 template <
typename ChildConnectionTagsT = Aws::Vector<Tag>>
166 template <
typename ChildConnectionTagsT = Tag>
168 m_childConnectionTagsHasBeenSet =
true;
169 m_childConnectionTags.emplace_back(std::forward<ChildConnectionTagsT>(value));
180 template <
typename Prov
iderNameT = Aws::String>
182 m_providerNameHasBeenSet =
true;
183 m_providerName = std::forward<ProviderNameT>(value);
185 template <
typename Prov
iderNameT = Aws::String>
203 m_requestMACSecHasBeenSet =
true;
204 m_requestMACSec = value;
212 int m_numberOfConnections{0};
228 bool m_requestMACSec{
false};
229 bool m_numberOfConnectionsHasBeenSet =
false;
230 bool m_locationHasBeenSet =
false;
231 bool m_connectionsBandwidthHasBeenSet =
false;
232 bool m_lagNameHasBeenSet =
false;
233 bool m_connectionIdHasBeenSet =
false;
234 bool m_tagsHasBeenSet =
false;
235 bool m_childConnectionTagsHasBeenSet =
false;
236 bool m_providerNameHasBeenSet =
false;
237 bool m_requestMACSecHasBeenSet =
false;
const Aws::Vector< Tag > & GetChildConnectionTags() const
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 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 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
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