7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/supportauthz/SupportAuthZ_EXPORTS.h>
9#include <aws/supportauthz/model/ActionSet.h>
10#include <aws/supportauthz/model/Condition.h>
11#include <aws/supportauthz/model/ResourceSet.h>
22namespace SupportAuthZ {
33 AWS_SUPPORTAUTHZ_API
Permit() =
default;
44 template <
typename ActionsT = ActionSet>
46 m_actionsHasBeenSet =
true;
47 m_actions = std::forward<ActionsT>(value);
49 template <
typename ActionsT = ActionSet>
62 template <
typename ResourcesT = ResourceSet>
64 m_resourcesHasBeenSet =
true;
65 m_resources = std::forward<ResourcesT>(value);
67 template <
typename ResourcesT = ResourceSet>
81 template <
typename ConditionsT = Aws::Vector<Condition>>
83 m_conditionsHasBeenSet =
true;
84 m_conditions = std::forward<ConditionsT>(value);
86 template <
typename ConditionsT = Aws::Vector<Condition>>
91 template <
typename ConditionsT = Condition>
93 m_conditionsHasBeenSet =
true;
94 m_conditions.emplace_back(std::forward<ConditionsT>(value));
104 bool m_actionsHasBeenSet =
false;
105 bool m_resourcesHasBeenSet =
false;
106 bool m_conditionsHasBeenSet =
false;
void SetConditions(ConditionsT &&value)
void SetActions(ActionsT &&value)
const Aws::Vector< Condition > & GetConditions() const
void SetResources(ResourcesT &&value)
Permit & AddConditions(ConditionsT &&value)
Permit & WithConditions(ConditionsT &&value)
bool ActionsHasBeenSet() const
AWS_SUPPORTAUTHZ_API Permit()=default
const ResourceSet & GetResources() const
bool ConditionsHasBeenSet() const
AWS_SUPPORTAUTHZ_API Permit & operator=(Aws::Utils::Json::JsonView jsonValue)
const ActionSet & GetActions() const
AWS_SUPPORTAUTHZ_API Aws::Utils::Json::JsonValue Jsonize() const
Permit & WithActions(ActionsT &&value)
bool ResourcesHasBeenSet() const
Permit & WithResources(ResourcesT &&value)
AWS_SUPPORTAUTHZ_API Permit(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue