7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mq/MQ_EXPORTS.h>
10#include <aws/mq/model/ResourceShareError.h>
42 template <
typename ErrorAttributeT = Aws::String>
44 m_errorAttributeHasBeenSet =
true;
45 m_errorAttribute = std::forward<ErrorAttributeT>(value);
47 template <
typename ErrorAttributeT = Aws::String>
60 template <
typename MessageT = Aws::String>
62 m_messageHasBeenSet =
true;
63 m_message = std::forward<MessageT>(value);
65 template <
typename MessageT = Aws::String>
78 template <
typename ResourceShareErrorsT = Aws::Vector<ResourceShareError>>
80 m_resourceShareErrorsHasBeenSet =
true;
81 m_resourceShareErrors = std::forward<ResourceShareErrorsT>(value);
83 template <
typename ResourceShareErrorsT = Aws::Vector<ResourceShareError>>
88 template <
typename ResourceShareErrorsT = ResourceShareError>
90 m_resourceShareErrorsHasBeenSet =
true;
91 m_resourceShareErrors.emplace_back(std::forward<ResourceShareErrorsT>(value));
101 bool m_errorAttributeHasBeenSet =
false;
102 bool m_messageHasBeenSet =
false;
103 bool m_resourceShareErrorsHasBeenSet =
false;
UnauthorizedException & AddResourceShareErrors(ResourceShareErrorsT &&value)
AWS_MQ_API UnauthorizedException & operator=(Aws::Utils::Json::JsonView jsonValue)
UnauthorizedException & WithErrorAttribute(ErrorAttributeT &&value)
const Aws::String & GetErrorAttribute() const
UnauthorizedException & WithMessage(MessageT &&value)
const Aws::Vector< ResourceShareError > & GetResourceShareErrors() const
AWS_MQ_API UnauthorizedException(Aws::Utils::Json::JsonView jsonValue)
AWS_MQ_API UnauthorizedException()=default
bool ErrorAttributeHasBeenSet() const
void SetMessage(MessageT &&value)
void SetErrorAttribute(ErrorAttributeT &&value)
void SetResourceShareErrors(ResourceShareErrorsT &&value)
const Aws::String & GetMessage() const
bool ResourceShareErrorsHasBeenSet() const
UnauthorizedException & WithResourceShareErrors(ResourceShareErrorsT &&value)
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
bool MessageHasBeenSet() 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