7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iot/model/Policy.h>
47 template<
typename PoliciesT = Aws::Vector<Policy>>
48 void SetPolicies(PoliciesT&& value) { m_policiesHasBeenSet =
true; m_policies = std::forward<PoliciesT>(value); }
49 template<
typename PoliciesT = Aws::Vector<Policy>>
51 template<
typename PoliciesT = Policy>
52 Allowed&
AddPolicies(PoliciesT&& value) { m_policiesHasBeenSet =
true; m_policies.emplace_back(std::forward<PoliciesT>(value));
return *
this; }
57 bool m_policiesHasBeenSet =
false;
bool PoliciesHasBeenSet() const
AWS_IOT_API Allowed & operator=(Aws::Utils::Json::JsonView jsonValue)
Allowed & WithPolicies(PoliciesT &&value)
AWS_IOT_API Allowed(Aws::Utils::Json::JsonView jsonValue)
Allowed & AddPolicies(PoliciesT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API Allowed()=default
void SetPolicies(PoliciesT &&value)
const Aws::Vector< Policy > & GetPolicies() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue