7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iam/model/PolicyType.h>
11#include <aws/iam/model/PolicyOwnerEntityType.h>
55 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
81 inline void SetPolicyArn(
const char* value) { m_policyArnHasBeenSet =
true; m_policyArn.assign(value); }
115 inline void SetEntityName(
const char* value) { m_entityNameHasBeenSet =
true; m_entityName.assign(value); }
123 bool m_policyNameHasBeenSet =
false;
126 bool m_policyTypeHasBeenSet =
false;
129 bool m_policyArnHasBeenSet =
false;
132 bool m_entityTypeHasBeenSet =
false;
135 bool m_entityNameHasBeenSet =
false;
PolicyGrantingServiceAccess & WithEntityName(const char *value)
const Aws::String & GetPolicyName() const
PolicyGrantingServiceAccess & WithPolicyName(Aws::String &&value)
AWS_IAM_API PolicyGrantingServiceAccess()
bool EntityTypeHasBeenSet() const
void SetEntityType(const PolicyOwnerEntityType &value)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PolicyGrantingServiceAccess & WithPolicyArn(Aws::String &&value)
PolicyGrantingServiceAccess & WithPolicyName(const Aws::String &value)
PolicyGrantingServiceAccess & WithPolicyType(const PolicyType &value)
void SetPolicyType(const PolicyType &value)
PolicyGrantingServiceAccess & WithEntityType(const PolicyOwnerEntityType &value)
PolicyGrantingServiceAccess & WithEntityName(Aws::String &&value)
const Aws::String & GetPolicyArn() const
const Aws::String & GetEntityName() const
bool PolicyTypeHasBeenSet() const
PolicyGrantingServiceAccess & WithPolicyArn(const Aws::String &value)
void SetEntityName(const char *value)
PolicyGrantingServiceAccess & WithPolicyType(PolicyType &&value)
void SetPolicyArn(const Aws::String &value)
bool EntityNameHasBeenSet() const
PolicyGrantingServiceAccess & WithPolicyName(const char *value)
const PolicyOwnerEntityType & GetEntityType() const
void SetPolicyType(PolicyType &&value)
void SetPolicyArn(Aws::String &&value)
PolicyGrantingServiceAccess & WithPolicyArn(const char *value)
void SetPolicyArn(const char *value)
void SetPolicyName(const char *value)
AWS_IAM_API PolicyGrantingServiceAccess & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPolicyName(Aws::String &&value)
bool PolicyArnHasBeenSet() const
void SetEntityName(const Aws::String &value)
PolicyGrantingServiceAccess & WithEntityType(PolicyOwnerEntityType &&value)
void SetEntityName(Aws::String &&value)
bool PolicyNameHasBeenSet() const
AWS_IAM_API PolicyGrantingServiceAccess(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEntityType(PolicyOwnerEntityType &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetPolicyName(const Aws::String &value)
const PolicyType & GetPolicyType() const
PolicyGrantingServiceAccess & WithEntityName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream