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>
20namespace DirectConnect {
41 template <
typename LocationCodeT = Aws::String>
43 m_locationCodeHasBeenSet =
true;
44 m_locationCode = std::forward<LocationCodeT>(value);
46 template <
typename LocationCodeT = Aws::String>
60 template <
typename LocationNameT = Aws::String>
62 m_locationNameHasBeenSet =
true;
63 m_locationName = std::forward<LocationNameT>(value);
65 template <
typename LocationNameT = Aws::String>
78 template <
typename RegionT = Aws::String>
80 m_regionHasBeenSet =
true;
81 m_region = std::forward<RegionT>(value);
83 template <
typename RegionT = Aws::String>
96 template <
typename AvailablePortSpeedsT = Aws::Vector<Aws::String>>
98 m_availablePortSpeedsHasBeenSet =
true;
99 m_availablePortSpeeds = std::forward<AvailablePortSpeedsT>(value);
101 template <
typename AvailablePortSpeedsT = Aws::Vector<Aws::String>>
106 template <
typename AvailablePortSpeedsT = Aws::String>
108 m_availablePortSpeedsHasBeenSet =
true;
109 m_availablePortSpeeds.emplace_back(std::forward<AvailablePortSpeedsT>(value));
120 template <
typename AvailableProv
idersT = Aws::Vector<Aws::String>>
122 m_availableProvidersHasBeenSet =
true;
123 m_availableProviders = std::forward<AvailableProvidersT>(value);
125 template <
typename AvailableProv
idersT = Aws::Vector<Aws::String>>
130 template <
typename AvailableProv
idersT = Aws::String>
132 m_availableProvidersHasBeenSet =
true;
133 m_availableProviders.emplace_back(std::forward<AvailableProvidersT>(value));
144 template <
typename AvailableMacSecPortSpeedsT = Aws::Vector<Aws::String>>
146 m_availableMacSecPortSpeedsHasBeenSet =
true;
147 m_availableMacSecPortSpeeds = std::forward<AvailableMacSecPortSpeedsT>(value);
149 template <
typename AvailableMacSecPortSpeedsT = Aws::Vector<Aws::String>>
154 template <
typename AvailableMacSecPortSpeedsT = Aws::String>
156 m_availableMacSecPortSpeedsHasBeenSet =
true;
157 m_availableMacSecPortSpeeds.emplace_back(std::forward<AvailableMacSecPortSpeedsT>(value));
173 bool m_locationCodeHasBeenSet =
false;
174 bool m_locationNameHasBeenSet =
false;
175 bool m_regionHasBeenSet =
false;
176 bool m_availablePortSpeedsHasBeenSet =
false;
177 bool m_availableProvidersHasBeenSet =
false;
178 bool m_availableMacSecPortSpeedsHasBeenSet =
false;
Location & WithLocationName(LocationNameT &&value)
void SetAvailableProviders(AvailableProvidersT &&value)
const Aws::Vector< Aws::String > & GetAvailablePortSpeeds() const
Location & WithRegion(RegionT &&value)
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 & 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
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
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