7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mturk-requester/MTurk_EXPORTS.h>
10#include <aws/mturk-requester/model/PolicyParameter.h>
44 template <
typename PolicyNameT = Aws::String>
46 m_policyNameHasBeenSet =
true;
47 m_policyName = std::forward<PolicyNameT>(value);
49 template <
typename PolicyNameT = Aws::String>
62 template <
typename ParametersT = Aws::Vector<PolicyParameter>>
64 m_parametersHasBeenSet =
true;
65 m_parameters = std::forward<ParametersT>(value);
67 template <
typename ParametersT = Aws::Vector<PolicyParameter>>
72 template <
typename ParametersT = PolicyParameter>
74 m_parametersHasBeenSet =
true;
75 m_parameters.emplace_back(std::forward<ParametersT>(value));
83 bool m_policyNameHasBeenSet =
false;
84 bool m_parametersHasBeenSet =
false;
bool PolicyNameHasBeenSet() const
AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< PolicyParameter > & GetParameters() const
void SetParameters(ParametersT &&value)
AWS_MTURK_API ReviewPolicy()=default
const Aws::String & GetPolicyName() const
bool ParametersHasBeenSet() const
ReviewPolicy & WithPolicyName(PolicyNameT &&value)
ReviewPolicy & AddParameters(ParametersT &&value)
ReviewPolicy & WithParameters(ParametersT &&value)
void SetPolicyName(PolicyNameT &&value)
AWS_MTURK_API ReviewPolicy(Aws::Utils::Json::JsonView jsonValue)
AWS_MTURK_API ReviewPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue