7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/chime/model/ErrorCode.h>
51 inline void SetPhoneNumberId(
const char* value) { m_phoneNumberIdHasBeenSet =
true; m_phoneNumberId.assign(value); }
77 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
85 bool m_phoneNumberIdHasBeenSet =
false;
88 bool m_errorCodeHasBeenSet =
false;
91 bool m_errorMessageHasBeenSet =
false;
void SetPhoneNumberId(const Aws::String &value)
PhoneNumberError & WithPhoneNumberId(const char *value)
bool ErrorCodeHasBeenSet() const
void SetErrorCode(ErrorCode &&value)
PhoneNumberError & WithErrorMessage(const char *value)
AWS_CHIME_API PhoneNumberError()
PhoneNumberError & WithPhoneNumberId(Aws::String &&value)
PhoneNumberError & WithPhoneNumberId(const Aws::String &value)
void SetErrorMessage(const char *value)
const ErrorCode & GetErrorCode() const
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CHIME_API PhoneNumberError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPhoneNumberId(Aws::String &&value)
AWS_CHIME_API PhoneNumberError(Aws::Utils::Json::JsonView jsonValue)
PhoneNumberError & WithErrorCode(ErrorCode &&value)
PhoneNumberError & WithErrorMessage(Aws::String &&value)
void SetErrorMessage(Aws::String &&value)
PhoneNumberError & WithErrorCode(const ErrorCode &value)
PhoneNumberError & WithErrorMessage(const Aws::String &value)
bool ErrorMessageHasBeenSet() const
void SetErrorCode(const ErrorCode &value)
bool PhoneNumberIdHasBeenSet() const
void SetPhoneNumberId(const char *value)
const Aws::String & GetPhoneNumberId() const
void SetErrorMessage(const Aws::String &value)
const Aws::String & GetErrorMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue