7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/directconnect/DirectConnect_EXPORTS.h>
10#include <aws/directconnect/model/AvailableBillingMode.h>
21namespace DirectConnect {
42 template <
typename LocationCodeT = Aws::String>
44 m_locationCodeHasBeenSet =
true;
45 m_locationCode = std::forward<LocationCodeT>(value);
47 template <
typename LocationCodeT = Aws::String>
61 template <
typename LocationNameT = Aws::String>
63 m_locationNameHasBeenSet =
true;
64 m_locationName = std::forward<LocationNameT>(value);
66 template <
typename LocationNameT = Aws::String>
79 template <
typename RegionT = Aws::String>
81 m_regionHasBeenSet =
true;
82 m_region = std::forward<RegionT>(value);
84 template <
typename RegionT = Aws::String>
97 template <
typename AvailablePortSpeedsT = Aws::Vector<Aws::String>>
99 m_availablePortSpeedsHasBeenSet =
true;
100 m_availablePortSpeeds = std::forward<AvailablePortSpeedsT>(value);
102 template <
typename AvailablePortSpeedsT = Aws::Vector<Aws::String>>
107 template <
typename AvailablePortSpeedsT = Aws::String>
109 m_availablePortSpeedsHasBeenSet =
true;
110 m_availablePortSpeeds.emplace_back(std::forward<AvailablePortSpeedsT>(value));
121 template <
typename AvailableProv
idersT = Aws::Vector<Aws::String>>
123 m_availableProvidersHasBeenSet =
true;
124 m_availableProviders = std::forward<AvailableProvidersT>(value);
126 template <
typename AvailableProv
idersT = Aws::Vector<Aws::String>>
131 template <
typename AvailableProv
idersT = Aws::String>
133 m_availableProvidersHasBeenSet =
true;
134 m_availableProviders.emplace_back(std::forward<AvailableProvidersT>(value));
145 template <
typename AvailableMacSecPortSpeedsT = Aws::Vector<Aws::String>>
147 m_availableMacSecPortSpeedsHasBeenSet =
true;
148 m_availableMacSecPortSpeeds = std::forward<AvailableMacSecPortSpeedsT>(value);
150 template <
typename AvailableMacSecPortSpeedsT = Aws::Vector<Aws::String>>
155 template <
typename AvailableMacSecPortSpeedsT = Aws::String>
157 m_availableMacSecPortSpeedsHasBeenSet =
true;
158 m_availableMacSecPortSpeeds.emplace_back(std::forward<AvailableMacSecPortSpeedsT>(value));
170 template <
typename AvailableBillingModesT = Aws::Vector<AvailableBillingMode>>
172 m_availableBillingModesHasBeenSet =
true;
173 m_availableBillingModes = std::forward<AvailableBillingModesT>(value);
175 template <
typename AvailableBillingModesT = Aws::Vector<AvailableBillingMode>>
180 template <
typename AvailableBillingModesT = AvailableBillingMode>
182 m_availableBillingModesHasBeenSet =
true;
183 m_availableBillingModes.emplace_back(std::forward<AvailableBillingModesT>(value));
201 bool m_locationCodeHasBeenSet =
false;
202 bool m_locationNameHasBeenSet =
false;
203 bool m_regionHasBeenSet =
false;
204 bool m_availablePortSpeedsHasBeenSet =
false;
205 bool m_availableProvidersHasBeenSet =
false;
206 bool m_availableMacSecPortSpeedsHasBeenSet =
false;
207 bool m_availableBillingModesHasBeenSet =
false;
Location & WithLocationName(LocationNameT &&value)
void SetAvailableProviders(AvailableProvidersT &&value)
const Aws::Vector< Aws::String > & GetAvailablePortSpeeds() const
Location & WithRegion(RegionT &&value)
bool AvailableBillingModesHasBeenSet() const
const Aws::Vector< AvailableBillingMode > & GetAvailableBillingModes() const
bool LocationNameHasBeenSet() const
const Aws::String & GetLocationName() const
bool LocationCodeHasBeenSet() const
const Aws::String & GetRegion() const
Location & WithLocationCode(LocationCodeT &&value)
const Aws::String & GetLocationCode() const
AWS_DIRECTCONNECT_API Location(Aws::Utils::Json::JsonView jsonValue)
void SetAvailablePortSpeeds(AvailablePortSpeedsT &&value)
Location & WithAvailableMacSecPortSpeeds(AvailableMacSecPortSpeedsT &&value)
AWS_DIRECTCONNECT_API Location()=default
Location & WithAvailableBillingModes(AvailableBillingModesT &&value)
Location & AddAvailableMacSecPortSpeeds(AvailableMacSecPortSpeedsT &&value)
void SetRegion(RegionT &&value)
AWS_DIRECTCONNECT_API Location & operator=(Aws::Utils::Json::JsonView jsonValue)
Location & AddAvailablePortSpeeds(AvailablePortSpeedsT &&value)
bool AvailableProvidersHasBeenSet() const
bool AvailablePortSpeedsHasBeenSet() const
void SetAvailableBillingModes(AvailableBillingModesT &&value)
const Aws::Vector< Aws::String > & GetAvailableProviders() const
void SetAvailableMacSecPortSpeeds(AvailableMacSecPortSpeedsT &&value)
Location & WithAvailableProviders(AvailableProvidersT &&value)
bool AvailableMacSecPortSpeedsHasBeenSet() const
void SetLocationName(LocationNameT &&value)
void SetLocationCode(LocationCodeT &&value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetAvailableMacSecPortSpeeds() const
Location & AddAvailableBillingModes(AvailableBillingModesT &&value)
bool RegionHasBeenSet() const
Location & AddAvailableProviders(AvailableProvidersT &&value)
Location & WithAvailablePortSpeeds(AvailablePortSpeedsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue