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 SetLocation(
const char* value) { m_locationHasBeenSet =
true; m_location.assign(value); }
61 inline void SetBandwidth(
const char* value) { m_bandwidthHasBeenSet =
true; m_bandwidth.assign(value); }
75 inline void SetConnectionName(
const char* value) { m_connectionNameHasBeenSet =
true; m_connectionName.assign(value); }
89 inline void SetLagId(
const char* value) { m_lagIdHasBeenSet =
true; m_lagId.assign(value); }
118 inline void SetProviderName(
const char* value) { m_providerNameHasBeenSet =
true; m_providerName.assign(value); }
134 inline void SetRequestMACSec(
bool value) { m_requestMACSecHasBeenSet =
true; m_requestMACSec = value; }
140 bool m_locationHasBeenSet =
false;
143 bool m_bandwidthHasBeenSet =
false;
146 bool m_connectionNameHasBeenSet =
false;
149 bool m_lagIdHasBeenSet =
false;
152 bool m_tagsHasBeenSet =
false;
155 bool m_providerNameHasBeenSet =
false;
157 bool m_requestMACSec;
158 bool m_requestMACSecHasBeenSet =
false;
CreateConnectionRequest & WithLagId(const char *value)
CreateConnectionRequest & WithLocation(const Aws::String &value)
bool LocationHasBeenSet() const
void SetLagId(const char *value)
void SetProviderName(const Aws::String &value)
bool ConnectionNameHasBeenSet() const
CreateConnectionRequest & WithTags(const Aws::Vector< Tag > &value)
void SetLagId(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
CreateConnectionRequest & WithRequestMACSec(bool value)
CreateConnectionRequest & WithLagId(const Aws::String &value)
CreateConnectionRequest & AddTags(const Tag &value)
void SetTags(const Aws::Vector< Tag > &value)
CreateConnectionRequest & WithProviderName(Aws::String &&value)
const Aws::String & GetBandwidth() const
void SetLagId(Aws::String &&value)
void SetRequestMACSec(bool value)
void SetBandwidth(const char *value)
bool GetRequestMACSec() const
CreateConnectionRequest & WithTags(Aws::Vector< Tag > &&value)
void SetConnectionName(const Aws::String &value)
const Aws::String & GetLagId() const
void SetLocation(Aws::String &&value)
CreateConnectionRequest & WithConnectionName(Aws::String &&value)
void SetConnectionName(const char *value)
void SetBandwidth(Aws::String &&value)
CreateConnectionRequest & AddTags(Tag &&value)
void SetProviderName(Aws::String &&value)
CreateConnectionRequest & WithLocation(Aws::String &&value)
void SetBandwidth(const Aws::String &value)
void SetLocation(const char *value)
CreateConnectionRequest & WithBandwidth(const Aws::String &value)
bool RequestMACSecHasBeenSet() const
CreateConnectionRequest & WithLocation(const char *value)
AWS_DIRECTCONNECT_API CreateConnectionRequest()
CreateConnectionRequest & WithProviderName(const Aws::String &value)
const Aws::String & GetConnectionName() const
CreateConnectionRequest & WithConnectionName(const char *value)
bool TagsHasBeenSet() const
void SetProviderName(const char *value)
bool ProviderNameHasBeenSet() const
void SetConnectionName(Aws::String &&value)
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
const Aws::Vector< Tag > & GetTags() const
void SetLocation(const Aws::String &value)
const Aws::String & GetLocation() const
bool BandwidthHasBeenSet() const
const Aws::String & GetProviderName() const
CreateConnectionRequest & WithLagId(Aws::String &&value)
bool LagIdHasBeenSet() const
CreateConnectionRequest & WithProviderName(const char *value)
CreateConnectionRequest & WithConnectionName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateConnectionRequest & WithBandwidth(const char *value)
CreateConnectionRequest & WithBandwidth(Aws::String &&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