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
45 template<
typename ConnectionIdT = Aws::String>
46 void SetConnectionId(ConnectionIdT&& value) { m_connectionIdHasBeenSet =
true; m_connectionId = std::forward<ConnectionIdT>(value); }
47 template<
typename ConnectionIdT = Aws::String>
58 template<
typename OwnerAccountT = Aws::String>
59 void SetOwnerAccount(OwnerAccountT&& value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount = std::forward<OwnerAccountT>(value); }
60 template<
typename OwnerAccountT = Aws::String>
74 template<
typename Bandw
idthT = Aws::String>
75 void SetBandwidth(BandwidthT&& value) { m_bandwidthHasBeenSet =
true; m_bandwidth = std::forward<BandwidthT>(value); }
76 template<
typename Bandw
idthT = Aws::String>
86 template<
typename ConnectionNameT = Aws::String>
87 void SetConnectionName(ConnectionNameT&& value) { m_connectionNameHasBeenSet =
true; m_connectionName = std::forward<ConnectionNameT>(value); }
88 template<
typename ConnectionNameT = Aws::String>
96 inline int GetVlan()
const {
return m_vlan; }
98 inline void SetVlan(
int value) { m_vlanHasBeenSet =
true; m_vlan = value; }
108 template<
typename TagsT = Aws::Vector<Tag>>
109 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
110 template<
typename TagsT = Aws::Vector<Tag>>
112 template<
typename TagsT = Tag>
118 bool m_connectionIdHasBeenSet =
false;
121 bool m_ownerAccountHasBeenSet =
false;
124 bool m_bandwidthHasBeenSet =
false;
127 bool m_connectionNameHasBeenSet =
false;
130 bool m_vlanHasBeenSet =
false;
133 bool m_tagsHasBeenSet =
false;
const Aws::Vector< Tag > & GetTags() const
virtual const char * GetServiceRequestName() const override
AllocateHostedConnectionRequest & WithVlan(int value)
void SetConnectionName(ConnectionNameT &&value)
const Aws::String & GetOwnerAccount() const
void SetConnectionId(ConnectionIdT &&value)
bool VlanHasBeenSet() const
bool OwnerAccountHasBeenSet() const
bool ConnectionNameHasBeenSet() const
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool BandwidthHasBeenSet() const
AllocateHostedConnectionRequest & WithTags(TagsT &&value)
const Aws::String & GetBandwidth() const
AWS_DIRECTCONNECT_API AllocateHostedConnectionRequest()=default
void SetBandwidth(BandwidthT &&value)
AllocateHostedConnectionRequest & WithConnectionId(ConnectionIdT &&value)
AllocateHostedConnectionRequest & AddTags(TagsT &&value)
const Aws::String & GetConnectionId() const
AllocateHostedConnectionRequest & WithConnectionName(ConnectionNameT &&value)
bool ConnectionIdHasBeenSet() const
void SetOwnerAccount(OwnerAccountT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetConnectionName() const
AllocateHostedConnectionRequest & WithBandwidth(BandwidthT &&value)
AllocateHostedConnectionRequest & WithOwnerAccount(OwnerAccountT &&value)
void SetTags(TagsT &&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