7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mq/MQ_EXPORTS.h>
41 template <
typename ErrorCodeT = Aws::String>
43 m_errorCodeHasBeenSet =
true;
44 m_errorCode = std::forward<ErrorCodeT>(value);
46 template <
typename ErrorCodeT = Aws::String>
59 template <
typename ResourceShareArnT = Aws::String>
61 m_resourceShareArnHasBeenSet =
true;
62 m_resourceShareArn = std::forward<ResourceShareArnT>(value);
64 template <
typename ResourceShareArnT = Aws::String>
77 template <
typename StatusT = Aws::String>
79 m_statusHasBeenSet =
true;
80 m_status = std::forward<StatusT>(value);
82 template <
typename StatusT = Aws::String>
94 bool m_errorCodeHasBeenSet =
false;
95 bool m_resourceShareArnHasBeenSet =
false;
96 bool m_statusHasBeenSet =
false;
AWS_MQ_API ResourceShareError()=default
bool ResourceShareArnHasBeenSet() const
void SetStatus(StatusT &&value)
const Aws::String & GetStatus() const
bool ErrorCodeHasBeenSet() const
ResourceShareError & WithErrorCode(ErrorCodeT &&value)
AWS_MQ_API ResourceShareError & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetErrorCode() const
void SetErrorCode(ErrorCodeT &&value)
bool StatusHasBeenSet() const
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceShareError & WithStatus(StatusT &&value)
ResourceShareError & WithResourceShareArn(ResourceShareArnT &&value)
void SetResourceShareArn(ResourceShareArnT &&value)
const Aws::String & GetResourceShareArn() const
AWS_MQ_API ResourceShareError(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue