7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ServiceCatalog
54 inline ShareError&
AddAccounts(
const char* value) { m_accountsHasBeenSet =
true; m_accounts.push_back(value);
return *
this; }
65 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
79 inline void SetError(
const char* value) { m_errorHasBeenSet =
true; m_error.assign(value); }
87 bool m_accountsHasBeenSet =
false;
90 bool m_messageHasBeenSet =
false;
93 bool m_errorHasBeenSet =
false;
ShareError & WithMessage(const Aws::String &value)
ShareError & WithError(const Aws::String &value)
AWS_SERVICECATALOG_API ShareError(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICECATALOG_API ShareError & operator=(Aws::Utils::Json::JsonView jsonValue)
ShareError & AddAccounts(const char *value)
void SetError(Aws::String &&value)
ShareError & WithMessage(const char *value)
void SetMessage(const Aws::String &value)
void SetError(const char *value)
void SetAccounts(const Aws::Vector< Aws::String > &value)
ShareError & WithError(const char *value)
void SetError(const Aws::String &value)
void SetAccounts(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetAccounts() const
bool ErrorHasBeenSet() const
const Aws::String & GetMessage() const
const Aws::String & GetError() const
void SetMessage(Aws::String &&value)
AWS_SERVICECATALOG_API ShareError()
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
bool MessageHasBeenSet() const
ShareError & WithError(Aws::String &&value)
ShareError & WithMessage(Aws::String &&value)
ShareError & WithAccounts(Aws::Vector< Aws::String > &&value)
void SetMessage(const char *value)
ShareError & WithAccounts(const Aws::Vector< Aws::String > &value)
ShareError & AddAccounts(Aws::String &&value)
ShareError & AddAccounts(const Aws::String &value)
bool AccountsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue