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 InterconnectNameT = Aws::String>
46 void SetInterconnectName(InterconnectNameT&& value) { m_interconnectNameHasBeenSet =
true; m_interconnectName = std::forward<InterconnectNameT>(value); }
47 template<
typename InterconnectNameT = Aws::String>
57 template<
typename Bandw
idthT = Aws::String>
58 void SetBandwidth(BandwidthT&& value) { m_bandwidthHasBeenSet =
true; m_bandwidth = std::forward<BandwidthT>(value); }
59 template<
typename Bandw
idthT = Aws::String>
69 template<
typename LocationT = Aws::String>
70 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
71 template<
typename LocationT = Aws::String>
81 template<
typename LagIdT = Aws::String>
82 void SetLagId(LagIdT&& value) { m_lagIdHasBeenSet =
true; m_lagId = std::forward<LagIdT>(value); }
83 template<
typename LagIdT = Aws::String>
93 template<
typename TagsT = Aws::Vector<Tag>>
94 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
95 template<
typename TagsT = Aws::Vector<Tag>>
97 template<
typename TagsT = Tag>
107 template<
typename Prov
iderNameT = Aws::String>
108 void SetProviderName(ProviderNameT&& value) { m_providerNameHasBeenSet =
true; m_providerName = std::forward<ProviderNameT>(value); }
109 template<
typename Prov
iderNameT = Aws::String>
120 inline void SetRequestMACSec(
bool value) { m_requestMACSecHasBeenSet =
true; m_requestMACSec = value; }
126 bool m_interconnectNameHasBeenSet =
false;
129 bool m_bandwidthHasBeenSet =
false;
132 bool m_locationHasBeenSet =
false;
135 bool m_lagIdHasBeenSet =
false;
138 bool m_tagsHasBeenSet =
false;
141 bool m_providerNameHasBeenSet =
false;
143 bool m_requestMACSec{
false};
144 bool m_requestMACSecHasBeenSet =
false;
void SetInterconnectName(InterconnectNameT &&value)
bool LagIdHasBeenSet() const
void SetBandwidth(BandwidthT &&value)
CreateInterconnectRequest & WithProviderName(ProviderNameT &&value)
void SetProviderName(ProviderNameT &&value)
void SetTags(TagsT &&value)
CreateInterconnectRequest & WithInterconnectName(InterconnectNameT &&value)
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateInterconnectRequest & WithRequestMACSec(bool value)
CreateInterconnectRequest & AddTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
CreateInterconnectRequest & WithBandwidth(BandwidthT &&value)
const Aws::String & GetProviderName() const
bool RequestMACSecHasBeenSet() const
const Aws::String & GetBandwidth() const
void SetLocation(LocationT &&value)
bool InterconnectNameHasBeenSet() const
bool LocationHasBeenSet() const
CreateInterconnectRequest & WithTags(TagsT &&value)
AWS_DIRECTCONNECT_API CreateInterconnectRequest()=default
const Aws::Vector< Tag > & GetTags() const
CreateInterconnectRequest & WithLagId(LagIdT &&value)
void SetLagId(LagIdT &&value)
const Aws::String & GetLocation() const
bool BandwidthHasBeenSet() const
const Aws::String & GetLagId() const
const Aws::String & GetInterconnectName() const
bool GetRequestMACSec() const
void SetRequestMACSec(bool value)
bool TagsHasBeenSet() const
bool ProviderNameHasBeenSet() const
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
CreateInterconnectRequest & WithLocation(LocationT &&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