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 {
41 template <
typename ConnectionIdT = Aws::String>
43 m_connectionIdHasBeenSet =
true;
44 m_connectionId = std::forward<ConnectionIdT>(value);
46 template <
typename ConnectionIdT = Aws::String>
60 template <
typename OwnerAccountT = Aws::String>
62 m_ownerAccountHasBeenSet =
true;
63 m_ownerAccount = std::forward<OwnerAccountT>(value);
65 template <
typename OwnerAccountT = Aws::String>
82 template <
typename Bandw
idthT = Aws::String>
84 m_bandwidthHasBeenSet =
true;
85 m_bandwidth = std::forward<BandwidthT>(value);
87 template <
typename Bandw
idthT = Aws::String>
100 template <
typename ConnectionNameT = Aws::String>
102 m_connectionNameHasBeenSet =
true;
103 m_connectionName = std::forward<ConnectionNameT>(value);
105 template <
typename ConnectionNameT = Aws::String>
119 m_vlanHasBeenSet =
true;
134 template <
typename TagsT = Aws::Vector<Tag>>
136 m_tagsHasBeenSet =
true;
137 m_tags = std::forward<TagsT>(value);
139 template <
typename TagsT = Aws::Vector<Tag>>
141 SetTags(std::forward<TagsT>(value));
144 template <
typename TagsT = Tag>
146 m_tagsHasBeenSet =
true;
147 m_tags.emplace_back(std::forward<TagsT>(value));
163 bool m_connectionIdHasBeenSet =
false;
164 bool m_ownerAccountHasBeenSet =
false;
165 bool m_bandwidthHasBeenSet =
false;
166 bool m_connectionNameHasBeenSet =
false;
167 bool m_vlanHasBeenSet =
false;
168 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