7#include <aws/mturk-requester/MTurk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mturk-requester/model/PolicyParameter.h>
50 template<
typename PolicyNameT = Aws::String>
51 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet =
true; m_policyName = std::forward<PolicyNameT>(value); }
52 template<
typename PolicyNameT = Aws::String>
62 template<
typename ParametersT = Aws::Vector<PolicyParameter>>
63 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
64 template<
typename ParametersT = Aws::Vector<PolicyParameter>>
66 template<
typename ParametersT = PolicyParameter>
67 ReviewPolicy&
AddParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters.emplace_back(std::forward<ParametersT>(value));
return *
this; }
72 bool m_policyNameHasBeenSet =
false;
75 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