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 SetConnectionId(
const char* value) { m_connectionIdHasBeenSet =
true; m_connectionId.assign(value); }
62 inline void SetOwnerAccount(
const char* value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount.assign(value); }
80 inline void SetBandwidth(
const char* value) { m_bandwidthHasBeenSet =
true; m_bandwidth.assign(value); }
94 inline void SetConnectionName(
const char* value) { m_connectionNameHasBeenSet =
true; m_connectionName.assign(value); }
106 inline void SetVlan(
int value) { m_vlanHasBeenSet =
true; m_vlan = value; }
126 bool m_connectionIdHasBeenSet =
false;
129 bool m_ownerAccountHasBeenSet =
false;
132 bool m_bandwidthHasBeenSet =
false;
135 bool m_connectionNameHasBeenSet =
false;
138 bool m_vlanHasBeenSet =
false;
141 bool m_tagsHasBeenSet =
false;
const Aws::Vector< Tag > & GetTags() const
virtual const char * GetServiceRequestName() const override
AllocateHostedConnectionRequest & WithVlan(int value)
AllocateHostedConnectionRequest & WithOwnerAccount(const char *value)
const Aws::String & GetOwnerAccount() const
AllocateHostedConnectionRequest & WithOwnerAccount(Aws::String &&value)
AllocateHostedConnectionRequest & WithBandwidth(Aws::String &&value)
void SetConnectionId(Aws::String &&value)
AllocateHostedConnectionRequest & AddTags(const Tag &value)
void SetConnectionId(const char *value)
void SetBandwidth(const char *value)
AllocateHostedConnectionRequest & WithBandwidth(const char *value)
AllocateHostedConnectionRequest & WithConnectionName(const char *value)
void SetConnectionName(Aws::String &&value)
bool VlanHasBeenSet() const
AllocateHostedConnectionRequest & AddTags(Tag &&value)
bool OwnerAccountHasBeenSet() const
bool ConnectionNameHasBeenSet() const
void SetConnectionName(const Aws::String &value)
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool BandwidthHasBeenSet() const
AllocateHostedConnectionRequest & WithTags(Aws::Vector< Tag > &&value)
void SetConnectionId(const Aws::String &value)
AllocateHostedConnectionRequest & WithBandwidth(const Aws::String &value)
AllocateHostedConnectionRequest & WithOwnerAccount(const Aws::String &value)
void SetOwnerAccount(const Aws::String &value)
void SetOwnerAccount(Aws::String &&value)
void SetBandwidth(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
AllocateHostedConnectionRequest & WithConnectionName(Aws::String &&value)
const Aws::String & GetBandwidth() const
void SetBandwidth(Aws::String &&value)
AllocateHostedConnectionRequest & WithConnectionId(const Aws::String &value)
AllocateHostedConnectionRequest & WithConnectionId(Aws::String &&value)
const Aws::String & GetConnectionId() const
void SetTags(Aws::Vector< Tag > &&value)
bool ConnectionIdHasBeenSet() const
AllocateHostedConnectionRequest & WithTags(const Aws::Vector< Tag > &value)
void SetOwnerAccount(const char *value)
AWS_DIRECTCONNECT_API AllocateHostedConnectionRequest()
bool TagsHasBeenSet() const
const Aws::String & GetConnectionName() const
void SetConnectionName(const char *value)
AllocateHostedConnectionRequest & WithConnectionName(const Aws::String &value)
AllocateHostedConnectionRequest & WithConnectionId(const char *value)
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
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