7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace DirectConnect
47 template<
typename LocationCodeT = Aws::String>
48 void SetLocationCode(LocationCodeT&& value) { m_locationCodeHasBeenSet =
true; m_locationCode = std::forward<LocationCodeT>(value); }
49 template<
typename LocationCodeT = Aws::String>
60 template<
typename LocationNameT = Aws::String>
61 void SetLocationName(LocationNameT&& value) { m_locationNameHasBeenSet =
true; m_locationName = std::forward<LocationNameT>(value); }
62 template<
typename LocationNameT = Aws::String>
72 template<
typename RegionT = Aws::String>
73 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
74 template<
typename RegionT = Aws::String>
84 template<
typename AvailablePortSpeedsT = Aws::Vector<Aws::String>>
85 void SetAvailablePortSpeeds(AvailablePortSpeedsT&& value) { m_availablePortSpeedsHasBeenSet =
true; m_availablePortSpeeds = std::forward<AvailablePortSpeedsT>(value); }
86 template<
typename AvailablePortSpeedsT = Aws::Vector<Aws::String>>
88 template<
typename AvailablePortSpeedsT = Aws::String>
89 Location&
AddAvailablePortSpeeds(AvailablePortSpeedsT&& value) { m_availablePortSpeedsHasBeenSet =
true; m_availablePortSpeeds.emplace_back(std::forward<AvailablePortSpeedsT>(value));
return *
this; }
98 template<
typename AvailableProv
idersT = Aws::Vector<Aws::String>>
99 void SetAvailableProviders(AvailableProvidersT&& value) { m_availableProvidersHasBeenSet =
true; m_availableProviders = std::forward<AvailableProvidersT>(value); }
100 template<
typename AvailableProv
idersT = Aws::Vector<Aws::String>>
102 template<
typename AvailableProv
idersT = Aws::String>
103 Location&
AddAvailableProviders(AvailableProvidersT&& value) { m_availableProvidersHasBeenSet =
true; m_availableProviders.emplace_back(std::forward<AvailableProvidersT>(value));
return *
this; }
112 template<
typename AvailableMacSecPortSpeedsT = Aws::Vector<Aws::String>>
113 void SetAvailableMacSecPortSpeeds(AvailableMacSecPortSpeedsT&& value) { m_availableMacSecPortSpeedsHasBeenSet =
true; m_availableMacSecPortSpeeds = std::forward<AvailableMacSecPortSpeedsT>(value); }
114 template<
typename AvailableMacSecPortSpeedsT = Aws::Vector<Aws::String>>
116 template<
typename AvailableMacSecPortSpeedsT = Aws::String>
117 Location&
AddAvailableMacSecPortSpeeds(AvailableMacSecPortSpeedsT&& value) { m_availableMacSecPortSpeedsHasBeenSet =
true; m_availableMacSecPortSpeeds.emplace_back(std::forward<AvailableMacSecPortSpeedsT>(value));
return *
this; }
122 bool m_locationCodeHasBeenSet =
false;
125 bool m_locationNameHasBeenSet =
false;
128 bool m_regionHasBeenSet =
false;
131 bool m_availablePortSpeedsHasBeenSet =
false;
134 bool m_availableProvidersHasBeenSet =
false;
137 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