7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/model/FreeTrialInfoErrorCode.h>
50 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
76 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
84 bool m_accountIdHasBeenSet =
false;
87 bool m_codeHasBeenSet =
false;
90 bool m_messageHasBeenSet =
false;
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCode(FreeTrialInfoErrorCode &&value)
FreeTrialInfoError & WithAccountId(const char *value)
void SetAccountId(const Aws::String &value)
void SetMessage(const char *value)
FreeTrialInfoError & WithMessage(const char *value)
void SetAccountId(const char *value)
const Aws::String & GetAccountId() const
FreeTrialInfoError & WithMessage(const Aws::String &value)
void SetAccountId(Aws::String &&value)
FreeTrialInfoError & WithCode(const FreeTrialInfoErrorCode &value)
void SetMessage(const Aws::String &value)
FreeTrialInfoError & WithCode(FreeTrialInfoErrorCode &&value)
bool MessageHasBeenSet() const
bool AccountIdHasBeenSet() const
AWS_INSPECTOR2_API FreeTrialInfoError & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API FreeTrialInfoError()
AWS_INSPECTOR2_API FreeTrialInfoError(Aws::Utils::Json::JsonView jsonValue)
FreeTrialInfoError & WithAccountId(const Aws::String &value)
const Aws::String & GetMessage() const
FreeTrialInfoError & WithAccountId(Aws::String &&value)
void SetMessage(Aws::String &&value)
bool CodeHasBeenSet() const
FreeTrialInfoError & WithMessage(Aws::String &&value)
const FreeTrialInfoErrorCode & GetCode() const
void SetCode(const FreeTrialInfoErrorCode &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue