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
49 inline void SetLocationCode(
const char* value) { m_locationCodeHasBeenSet =
true; m_locationCode.assign(value); }
64 inline void SetLocationName(
const char* value) { m_locationNameHasBeenSet =
true; m_locationName.assign(value); }
78 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
131 bool m_locationCodeHasBeenSet =
false;
134 bool m_locationNameHasBeenSet =
false;
137 bool m_regionHasBeenSet =
false;
140 bool m_availablePortSpeedsHasBeenSet =
false;
143 bool m_availableProvidersHasBeenSet =
false;
146 bool m_availableMacSecPortSpeedsHasBeenSet =
false;
Location & WithRegion(Aws::String &&value)
void SetAvailableMacSecPortSpeeds(const Aws::Vector< Aws::String > &value)
void SetAvailableProviders(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetAvailablePortSpeeds() const
Location & AddAvailablePortSpeeds(Aws::String &&value)
void SetAvailableMacSecPortSpeeds(Aws::Vector< Aws::String > &&value)
Location & AddAvailablePortSpeeds(const char *value)
bool LocationNameHasBeenSet() const
const Aws::String & GetLocationName() const
Location & WithAvailablePortSpeeds(Aws::Vector< Aws::String > &&value)
bool LocationCodeHasBeenSet() const
Location & WithLocationCode(const char *value)
const Aws::String & GetRegion() const
void SetRegion(const char *value)
const Aws::String & GetLocationCode() const
void SetLocationCode(const char *value)
void SetLocationName(const char *value)
void SetAvailablePortSpeeds(Aws::Vector< Aws::String > &&value)
Location & AddAvailableProviders(Aws::String &&value)
AWS_DIRECTCONNECT_API Location(Aws::Utils::Json::JsonView jsonValue)
void SetLocationCode(Aws::String &&value)
Location & WithAvailablePortSpeeds(const Aws::Vector< Aws::String > &value)
Location & WithLocationName(const Aws::String &value)
AWS_DIRECTCONNECT_API Location & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLocationName(const Aws::String &value)
bool AvailableProvidersHasBeenSet() const
void SetLocationName(Aws::String &&value)
bool AvailablePortSpeedsHasBeenSet() const
const Aws::Vector< Aws::String > & GetAvailableProviders() const
void SetAvailablePortSpeeds(const Aws::Vector< Aws::String > &value)
Location & WithAvailableProviders(const Aws::Vector< Aws::String > &value)
Location & WithRegion(const char *value)
Location & WithAvailableMacSecPortSpeeds(Aws::Vector< Aws::String > &&value)
Location & AddAvailablePortSpeeds(const Aws::String &value)
Location & AddAvailableProviders(const char *value)
Location & WithLocationCode(Aws::String &&value)
bool AvailableMacSecPortSpeedsHasBeenSet() const
Location & AddAvailableMacSecPortSpeeds(const char *value)
Location & WithLocationName(Aws::String &&value)
Location & WithLocationName(const char *value)
void SetRegion(const Aws::String &value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetAvailableMacSecPortSpeeds() const
bool RegionHasBeenSet() const
Location & AddAvailableMacSecPortSpeeds(Aws::String &&value)
Location & WithAvailableProviders(Aws::Vector< Aws::String > &&value)
Location & WithAvailableMacSecPortSpeeds(const Aws::Vector< Aws::String > &value)
Location & AddAvailableProviders(const Aws::String &value)
void SetAvailableProviders(const Aws::Vector< Aws::String > &value)
void SetLocationCode(const Aws::String &value)
Location & WithLocationCode(const Aws::String &value)
AWS_DIRECTCONNECT_API Location()
Location & AddAvailableMacSecPortSpeeds(const Aws::String &value)
void SetRegion(Aws::String &&value)
Location & WithRegion(const Aws::String &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