7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/verifiedpermissions/model/PolicyType.h>
10#include <aws/verifiedpermissions/model/EntityIdentifier.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/verifiedpermissions/model/PolicyDefinitionItem.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/verifiedpermissions/model/PolicyEffect.h>
15#include <aws/verifiedpermissions/model/ActionIdentifier.h>
28namespace VerifiedPermissions
59 inline void SetPolicyStoreId(
const char* value) { m_policyStoreIdHasBeenSet =
true; m_policyStoreId.assign(value); }
73 inline void SetPolicyId(
const char* value) { m_policyIdHasBeenSet =
true; m_policyId.assign(value); }
184 bool m_policyStoreIdHasBeenSet =
false;
187 bool m_policyIdHasBeenSet =
false;
190 bool m_policyTypeHasBeenSet =
false;
193 bool m_principalHasBeenSet =
false;
196 bool m_resourceHasBeenSet =
false;
199 bool m_actionsHasBeenSet =
false;
202 bool m_definitionHasBeenSet =
false;
205 bool m_createdDateHasBeenSet =
false;
208 bool m_lastUpdatedDateHasBeenSet =
false;
211 bool m_effectHasBeenSet =
false;
void SetCreatedDate(const Aws::Utils::DateTime &value)
AWS_VERIFIEDPERMISSIONS_API PolicyItem(Aws::Utils::Json::JsonView jsonValue)
PolicyItem & WithPolicyType(const PolicyType &value)
bool ResourceHasBeenSet() const
void SetPrincipal(const EntityIdentifier &value)
void SetPolicyStoreId(Aws::String &&value)
const Aws::String & GetPolicyStoreId() const
const Aws::String & GetPolicyId() const
PolicyItem & WithPolicyStoreId(const char *value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
PolicyItem & WithResource(EntityIdentifier &&value)
void SetPrincipal(EntityIdentifier &&value)
PolicyItem & AddActions(ActionIdentifier &&value)
bool ActionsHasBeenSet() const
PolicyItem & WithPolicyStoreId(Aws::String &&value)
void SetResource(EntityIdentifier &&value)
const PolicyType & GetPolicyType() const
void SetEffect(PolicyEffect &&value)
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
PolicyItem & WithDefinition(const PolicyDefinitionItem &value)
PolicyItem & WithActions(const Aws::Vector< ActionIdentifier > &value)
PolicyItem & WithCreatedDate(const Aws::Utils::DateTime &value)
const EntityIdentifier & GetPrincipal() const
void SetPolicyId(const Aws::String &value)
AWS_VERIFIEDPERMISSIONS_API PolicyItem()
PolicyItem & WithPrincipal(EntityIdentifier &&value)
void SetPolicyId(const char *value)
PolicyItem & WithPolicyId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedDate() const
PolicyItem & AddActions(const ActionIdentifier &value)
void SetDefinition(const PolicyDefinitionItem &value)
bool CreatedDateHasBeenSet() const
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPolicyType(const PolicyType &value)
bool PolicyTypeHasBeenSet() const
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
void SetPolicyType(PolicyType &&value)
void SetEffect(const PolicyEffect &value)
void SetActions(Aws::Vector< ActionIdentifier > &&value)
PolicyItem & WithActions(Aws::Vector< ActionIdentifier > &&value)
PolicyItem & WithPrincipal(const EntityIdentifier &value)
bool LastUpdatedDateHasBeenSet() const
bool DefinitionHasBeenSet() const
PolicyItem & WithPolicyId(Aws::String &&value)
bool EffectHasBeenSet() const
PolicyItem & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
const EntityIdentifier & GetResource() const
PolicyItem & WithCreatedDate(Aws::Utils::DateTime &&value)
const PolicyDefinitionItem & GetDefinition() const
AWS_VERIFIEDPERMISSIONS_API PolicyItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const PolicyEffect & GetEffect() const
PolicyItem & WithResource(const EntityIdentifier &value)
void SetActions(const Aws::Vector< ActionIdentifier > &value)
const Aws::Vector< ActionIdentifier > & GetActions() const
PolicyItem & WithPolicyId(const char *value)
PolicyItem & WithDefinition(PolicyDefinitionItem &&value)
void SetPolicyStoreId(const char *value)
bool PrincipalHasBeenSet() const
void SetPolicyId(Aws::String &&value)
void SetDefinition(PolicyDefinitionItem &&value)
void SetPolicyStoreId(const Aws::String &value)
PolicyItem & WithEffect(PolicyEffect &&value)
PolicyItem & WithPolicyType(PolicyType &&value)
PolicyItem & WithEffect(const PolicyEffect &value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
void SetResource(const EntityIdentifier &value)
bool PolicyIdHasBeenSet() const
PolicyItem & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
bool PolicyStoreIdHasBeenSet() const
PolicyItem & WithPolicyStoreId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue