7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/verifiedpermissions/model/EntityIdentifier.h>
22namespace VerifiedPermissions
50 inline void SetPolicyTemplateId(
const char* value) { m_policyTemplateIdHasBeenSet =
true; m_policyTemplateId.assign(value); }
87 bool m_policyTemplateIdHasBeenSet =
false;
90 bool m_principalHasBeenSet =
false;
93 bool m_resourceHasBeenSet =
false;
AWS_VERIFIEDPERMISSIONS_API TemplateLinkedPolicyDefinition()
void SetPrincipal(const EntityIdentifier &value)
const Aws::String & GetPolicyTemplateId() const
TemplateLinkedPolicyDefinition & WithPrincipal(EntityIdentifier &&value)
AWS_VERIFIEDPERMISSIONS_API TemplateLinkedPolicyDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
TemplateLinkedPolicyDefinition & WithPolicyTemplateId(const Aws::String &value)
void SetPolicyTemplateId(const char *value)
TemplateLinkedPolicyDefinition & WithPolicyTemplateId(const char *value)
bool PrincipalHasBeenSet() const
void SetPrincipal(EntityIdentifier &&value)
const EntityIdentifier & GetResource() const
void SetPolicyTemplateId(Aws::String &&value)
void SetResource(const EntityIdentifier &value)
void SetPolicyTemplateId(const Aws::String &value)
AWS_VERIFIEDPERMISSIONS_API TemplateLinkedPolicyDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetResource(EntityIdentifier &&value)
const EntityIdentifier & GetPrincipal() const
TemplateLinkedPolicyDefinition & WithResource(const EntityIdentifier &value)
TemplateLinkedPolicyDefinition & WithResource(EntityIdentifier &&value)
bool PolicyTemplateIdHasBeenSet() const
TemplateLinkedPolicyDefinition & WithPrincipal(const EntityIdentifier &value)
bool ResourceHasBeenSet() const
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
TemplateLinkedPolicyDefinition & WithPolicyTemplateId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue