7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace OpenSearchServerless
49 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
63 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
76 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
77 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
85 bool m_errorCodeHasBeenSet =
false;
88 bool m_errorMessageHasBeenSet =
false;
91 bool m_idHasBeenSet =
false;
void SetErrorMessage(Aws::String &&value)
const Aws::String & GetId() const
AWS_OPENSEARCHSERVERLESS_API VpcEndpointErrorDetail(Aws::Utils::Json::JsonView jsonValue)
void SetId(Aws::String &&value)
void SetErrorCode(const char *value)
void SetErrorCode(const Aws::String &value)
VpcEndpointErrorDetail & WithErrorMessage(const Aws::String &value)
void SetErrorMessage(const Aws::String &value)
VpcEndpointErrorDetail & WithId(const char *value)
AWS_OPENSEARCHSERVERLESS_API VpcEndpointErrorDetail()
VpcEndpointErrorDetail & WithErrorCode(const Aws::String &value)
const Aws::String & GetErrorMessage() const
void SetId(const char *value)
AWS_OPENSEARCHSERVERLESS_API VpcEndpointErrorDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetErrorCode() const
void SetErrorMessage(const char *value)
VpcEndpointErrorDetail & WithId(const Aws::String &value)
bool IdHasBeenSet() const
bool ErrorMessageHasBeenSet() const
void SetErrorCode(Aws::String &&value)
VpcEndpointErrorDetail & WithErrorMessage(const char *value)
bool ErrorCodeHasBeenSet() const
void SetId(const Aws::String &value)
VpcEndpointErrorDetail & WithErrorMessage(Aws::String &&value)
VpcEndpointErrorDetail & WithErrorCode(const char *value)
VpcEndpointErrorDetail & WithErrorCode(Aws::String &&value)
VpcEndpointErrorDetail & WithId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue