7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/directconnect/model/DirectConnectGatewayState.h>
22namespace DirectConnect
51 inline void SetDirectConnectGatewayId(
const char* value) { m_directConnectGatewayIdHasBeenSet =
true; m_directConnectGatewayId.assign(value); }
65 inline void SetDirectConnectGatewayName(
const char* value) { m_directConnectGatewayNameHasBeenSet =
true; m_directConnectGatewayName.assign(value); }
77 inline void SetAmazonSideAsn(
long long value) { m_amazonSideAsnHasBeenSet =
true; m_amazonSideAsn = value; }
90 inline void SetOwnerAccount(
const char* value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount.assign(value); }
122 inline void SetStateChangeError(
const char* value) { m_stateChangeErrorHasBeenSet =
true; m_stateChangeError.assign(value); }
130 bool m_directConnectGatewayIdHasBeenSet =
false;
133 bool m_directConnectGatewayNameHasBeenSet =
false;
135 long long m_amazonSideAsn;
136 bool m_amazonSideAsnHasBeenSet =
false;
139 bool m_ownerAccountHasBeenSet =
false;
142 bool m_directConnectGatewayStateHasBeenSet =
false;
145 bool m_stateChangeErrorHasBeenSet =
false;
void SetStateChangeError(const Aws::String &value)
DirectConnectGateway & WithStateChangeError(const Aws::String &value)
bool DirectConnectGatewayNameHasBeenSet() const
DirectConnectGateway & WithAmazonSideAsn(long long value)
bool DirectConnectGatewayIdHasBeenSet() const
bool AmazonSideAsnHasBeenSet() const
void SetAmazonSideAsn(long long value)
void SetOwnerAccount(const Aws::String &value)
void SetStateChangeError(const char *value)
void SetDirectConnectGatewayName(const Aws::String &value)
const Aws::String & GetStateChangeError() const
DirectConnectGateway & WithDirectConnectGatewayName(Aws::String &&value)
DirectConnectGateway & WithDirectConnectGatewayId(Aws::String &&value)
void SetStateChangeError(Aws::String &&value)
void SetDirectConnectGatewayId(Aws::String &&value)
void SetDirectConnectGatewayState(const DirectConnectGatewayState &value)
void SetDirectConnectGatewayName(const char *value)
DirectConnectGateway & WithDirectConnectGatewayName(const Aws::String &value)
long long GetAmazonSideAsn() const
const Aws::String & GetDirectConnectGatewayName() const
DirectConnectGateway & WithDirectConnectGatewayName(const char *value)
AWS_DIRECTCONNECT_API DirectConnectGateway(Aws::Utils::Json::JsonView jsonValue)
DirectConnectGateway & WithDirectConnectGatewayState(DirectConnectGatewayState &&value)
void SetDirectConnectGatewayState(DirectConnectGatewayState &&value)
const Aws::String & GetDirectConnectGatewayId() const
void SetOwnerAccount(const char *value)
AWS_DIRECTCONNECT_API DirectConnectGateway()
DirectConnectGateway & WithDirectConnectGatewayId(const Aws::String &value)
DirectConnectGateway & WithStateChangeError(const char *value)
DirectConnectGateway & WithDirectConnectGatewayState(const DirectConnectGatewayState &value)
const Aws::String & GetOwnerAccount() const
const DirectConnectGatewayState & GetDirectConnectGatewayState() const
DirectConnectGateway & WithDirectConnectGatewayId(const char *value)
AWS_DIRECTCONNECT_API DirectConnectGateway & operator=(Aws::Utils::Json::JsonView jsonValue)
DirectConnectGateway & WithOwnerAccount(const Aws::String &value)
DirectConnectGateway & WithStateChangeError(Aws::String &&value)
bool OwnerAccountHasBeenSet() const
bool StateChangeErrorHasBeenSet() const
void SetDirectConnectGatewayName(Aws::String &&value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDirectConnectGatewayId(const char *value)
void SetOwnerAccount(Aws::String &&value)
bool DirectConnectGatewayStateHasBeenSet() const
DirectConnectGateway & WithOwnerAccount(Aws::String &&value)
void SetDirectConnectGatewayId(const Aws::String &value)
DirectConnectGateway & WithOwnerAccount(const char *value)
DirectConnectGatewayState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue