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
47 inline void SetNumberOfConnections(
int value) { m_numberOfConnectionsHasBeenSet =
true; m_numberOfConnections = value; }
57 template<
typename LocationT = Aws::String>
58 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
59 template<
typename LocationT = Aws::String>
70 template<
typename ConnectionsBandw
idthT = Aws::String>
71 void SetConnectionsBandwidth(ConnectionsBandwidthT&& value) { m_connectionsBandwidthHasBeenSet =
true; m_connectionsBandwidth = std::forward<ConnectionsBandwidthT>(value); }
72 template<
typename ConnectionsBandw
idthT = Aws::String>
82 template<
typename LagNameT = Aws::String>
83 void SetLagName(LagNameT&& value) { m_lagNameHasBeenSet =
true; m_lagName = std::forward<LagNameT>(value); }
84 template<
typename LagNameT = Aws::String>
94 template<
typename ConnectionIdT = Aws::String>
95 void SetConnectionId(ConnectionIdT&& value) { m_connectionIdHasBeenSet =
true; m_connectionId = std::forward<ConnectionIdT>(value); }
96 template<
typename ConnectionIdT = Aws::String>
106 template<
typename TagsT = Aws::Vector<Tag>>
107 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
108 template<
typename TagsT = Aws::Vector<Tag>>
110 template<
typename TagsT = Tag>
111 CreateLagRequest&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
120 template<
typename ChildConnectionTagsT = Aws::Vector<Tag>>
121 void SetChildConnectionTags(ChildConnectionTagsT&& value) { m_childConnectionTagsHasBeenSet =
true; m_childConnectionTags = std::forward<ChildConnectionTagsT>(value); }
122 template<
typename ChildConnectionTagsT = Aws::Vector<Tag>>
124 template<
typename ChildConnectionTagsT = Tag>
125 CreateLagRequest&
AddChildConnectionTags(ChildConnectionTagsT&& value) { m_childConnectionTagsHasBeenSet =
true; m_childConnectionTags.emplace_back(std::forward<ChildConnectionTagsT>(value));
return *
this; }
134 template<
typename Prov
iderNameT = Aws::String>
135 void SetProviderName(ProviderNameT&& value) { m_providerNameHasBeenSet =
true; m_providerName = std::forward<ProviderNameT>(value); }
136 template<
typename Prov
iderNameT = Aws::String>
150 inline void SetRequestMACSec(
bool value) { m_requestMACSecHasBeenSet =
true; m_requestMACSec = value; }
155 int m_numberOfConnections{0};
156 bool m_numberOfConnectionsHasBeenSet =
false;
159 bool m_locationHasBeenSet =
false;
162 bool m_connectionsBandwidthHasBeenSet =
false;
165 bool m_lagNameHasBeenSet =
false;
168 bool m_connectionIdHasBeenSet =
false;
171 bool m_tagsHasBeenSet =
false;
174 bool m_childConnectionTagsHasBeenSet =
false;
177 bool m_providerNameHasBeenSet =
false;
179 bool m_requestMACSec{
false};
180 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