7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/model/VpcEndpointErrorCode.h>
22namespace OpenSearchService
50 inline void SetVpcEndpointId(
const char* value) { m_vpcEndpointIdHasBeenSet =
true; m_vpcEndpointId.assign(value); }
76 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
84 bool m_vpcEndpointIdHasBeenSet =
false;
87 bool m_errorCodeHasBeenSet =
false;
90 bool m_errorMessageHasBeenSet =
false;
VpcEndpointError & WithVpcEndpointId(const Aws::String &value)
VpcEndpointError & WithErrorMessage(const char *value)
AWS_OPENSEARCHSERVICE_API VpcEndpointError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(VpcEndpointErrorCode &&value)
bool VpcEndpointIdHasBeenSet() const
AWS_OPENSEARCHSERVICE_API VpcEndpointError(Aws::Utils::Json::JsonView jsonValue)
void SetVpcEndpointId(const Aws::String &value)
VpcEndpointError & WithErrorMessage(Aws::String &&value)
void SetErrorCode(const VpcEndpointErrorCode &value)
void SetErrorMessage(const char *value)
VpcEndpointError & WithErrorMessage(const Aws::String &value)
VpcEndpointError & WithVpcEndpointId(Aws::String &&value)
void SetVpcEndpointId(Aws::String &&value)
VpcEndpointError & WithErrorCode(VpcEndpointErrorCode &&value)
void SetErrorMessage(const Aws::String &value)
bool ErrorCodeHasBeenSet() const
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetErrorMessage() const
const Aws::String & GetVpcEndpointId() const
bool ErrorMessageHasBeenSet() const
const VpcEndpointErrorCode & GetErrorCode() const
void SetErrorMessage(Aws::String &&value)
VpcEndpointError & WithErrorCode(const VpcEndpointErrorCode &value)
void SetVpcEndpointId(const char *value)
AWS_OPENSEARCHSERVICE_API VpcEndpointError()
VpcEndpointError & WithVpcEndpointId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue