7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/polly/Polly_EXPORTS.h>
41 template <
typename ReasonT = Aws::String>
43 m_reasonHasBeenSet =
true;
44 m_reason = std::forward<ReasonT>(value);
46 template <
typename ReasonT = Aws::String>
59 template <
typename ResourceT = Aws::String>
61 m_resourceHasBeenSet =
true;
62 m_resource = std::forward<ResourceT>(value);
64 template <
typename ResourceT = Aws::String>
74 bool m_reasonHasBeenSet =
false;
75 bool m_resourceHasBeenSet =
false;
AWS_POLLY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetResource() const
const Aws::String & GetReason() const
ThrottlingReason & WithReason(ReasonT &&value)
AWS_POLLY_API ThrottlingReason()=default
bool ReasonHasBeenSet() const
ThrottlingReason & WithResource(ResourceT &&value)
bool ResourceHasBeenSet() const
void SetResource(ResourceT &&value)
void SetReason(ReasonT &&value)
AWS_POLLY_API ThrottlingReason(Aws::Utils::Json::JsonView jsonValue)
AWS_POLLY_API ThrottlingReason & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue