7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/model/TransitGatewayRegistrationState.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace NetworkManager
62 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
70 bool m_codeHasBeenSet =
false;
73 bool m_messageHasBeenSet =
false;
TransitGatewayRegistrationStateReason & WithMessage(const char *value)
TransitGatewayRegistrationStateReason & WithMessage(const Aws::String &value)
void SetMessage(const Aws::String &value)
const TransitGatewayRegistrationState & GetCode() const
void SetCode(const TransitGatewayRegistrationState &value)
bool CodeHasBeenSet() const
AWS_NETWORKMANAGER_API TransitGatewayRegistrationStateReason()
AWS_NETWORKMANAGER_API TransitGatewayRegistrationStateReason(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKMANAGER_API TransitGatewayRegistrationStateReason & operator=(Aws::Utils::Json::JsonView jsonValue)
TransitGatewayRegistrationStateReason & WithCode(TransitGatewayRegistrationState &&value)
const Aws::String & GetMessage() const
bool MessageHasBeenSet() const
void SetMessage(Aws::String &&value)
TransitGatewayRegistrationStateReason & WithMessage(Aws::String &&value)
void SetMessage(const char *value)
void SetCode(TransitGatewayRegistrationState &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
TransitGatewayRegistrationStateReason & WithCode(const TransitGatewayRegistrationState &value)
TransitGatewayRegistrationState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue