7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/polly/Polly_EXPORTS.h>
10#include <aws/polly/model/ThrottlingReason.h>
41 template <
typename MessageT = Aws::String>
43 m_messageHasBeenSet =
true;
44 m_message = std::forward<MessageT>(value);
46 template <
typename MessageT = Aws::String>
59 template <
typename ThrottlingReasonsT = Aws::Vector<ThrottlingReason>>
61 m_throttlingReasonsHasBeenSet =
true;
62 m_throttlingReasons = std::forward<ThrottlingReasonsT>(value);
64 template <
typename ThrottlingReasonsT = Aws::Vector<ThrottlingReason>>
69 template <
typename ThrottlingReasonsT = ThrottlingReason>
71 m_throttlingReasonsHasBeenSet =
true;
72 m_throttlingReasons.emplace_back(std::forward<ThrottlingReasonsT>(value));
80 bool m_messageHasBeenSet =
false;
81 bool m_throttlingReasonsHasBeenSet =
false;
AWS_POLLY_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
ThrottlingException & WithThrottlingReasons(ThrottlingReasonsT &&value)
const Aws::Vector< ThrottlingReason > & GetThrottlingReasons() const
AWS_POLLY_API ThrottlingException()=default
bool MessageHasBeenSet() const
ThrottlingException & WithMessage(MessageT &&value)
AWS_POLLY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMessage() const
void SetThrottlingReasons(ThrottlingReasonsT &&value)
AWS_POLLY_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(MessageT &&value)
bool ThrottlingReasonsHasBeenSet() const
ThrottlingException & AddThrottlingReasons(ThrottlingReasonsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue