7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/model/FreeTrialInfoErrorCode.h>
48 template<
typename AccountIdT = Aws::String>
49 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
50 template<
typename AccountIdT = Aws::String>
70 template<
typename MessageT = Aws::String>
71 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
72 template<
typename MessageT = Aws::String>
78 bool m_accountIdHasBeenSet =
false;
81 bool m_codeHasBeenSet =
false;
84 bool m_messageHasBeenSet =
false;
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
FreeTrialInfoErrorCode GetCode() const
const Aws::String & GetAccountId() const
FreeTrialInfoError & WithAccountId(AccountIdT &&value)
void SetCode(FreeTrialInfoErrorCode value)
bool MessageHasBeenSet() const
bool AccountIdHasBeenSet() const
AWS_INSPECTOR2_API FreeTrialInfoError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(AccountIdT &&value)
AWS_INSPECTOR2_API FreeTrialInfoError(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
bool CodeHasBeenSet() const
FreeTrialInfoError & WithMessage(MessageT &&value)
FreeTrialInfoError & WithCode(FreeTrialInfoErrorCode value)
AWS_INSPECTOR2_API FreeTrialInfoError()=default
void SetMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue