7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/OutboundCrossClusterSearchConnectionStatusCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ElasticsearchService
71 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
79 bool m_statusCodeHasBeenSet =
false;
82 bool m_messageHasBeenSet =
false;
OutboundCrossClusterSearchConnectionStatus & WithMessage(const Aws::String &value)
void SetStatusCode(const OutboundCrossClusterSearchConnectionStatusCode &value)
AWS_ELASTICSEARCHSERVICE_API OutboundCrossClusterSearchConnectionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
OutboundCrossClusterSearchConnectionStatus & WithStatusCode(const OutboundCrossClusterSearchConnectionStatusCode &value)
const OutboundCrossClusterSearchConnectionStatusCode & GetStatusCode() const
OutboundCrossClusterSearchConnectionStatus & WithStatusCode(OutboundCrossClusterSearchConnectionStatusCode &&value)
AWS_ELASTICSEARCHSERVICE_API OutboundCrossClusterSearchConnectionStatus()
bool MessageHasBeenSet() const
OutboundCrossClusterSearchConnectionStatus & WithMessage(const char *value)
bool StatusCodeHasBeenSet() const
void SetStatusCode(OutboundCrossClusterSearchConnectionStatusCode &&value)
OutboundCrossClusterSearchConnectionStatus & WithMessage(Aws::String &&value)
void SetMessage(const char *value)
void SetMessage(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMessage() const
AWS_ELASTICSEARCHSERVICE_API OutboundCrossClusterSearchConnectionStatus(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(Aws::String &&value)
OutboundCrossClusterSearchConnectionStatusCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue