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>
58 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
70 inline void SetPolicyArn(
const char* value) { m_policyArnHasBeenSet =
true; m_policyArn.assign(value); }
78 bool m_policyNameHasBeenSet =
false;
81 bool m_policyArnHasBeenSet =
false;
AttachedPolicy & WithPolicyName(const Aws::String &value)
void SetPolicyArn(const char *value)
void SetPolicyName(const char *value)
AttachedPolicy & WithPolicyArn(Aws::String &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetPolicyArn() const
bool PolicyArnHasBeenSet() const
void SetPolicyArn(const Aws::String &value)
AttachedPolicy & WithPolicyArn(const char *value)
void SetPolicyName(const Aws::String &value)
void SetPolicyName(Aws::String &&value)
AttachedPolicy & WithPolicyName(Aws::String &&value)
AttachedPolicy & WithPolicyArn(const Aws::String &value)
AttachedPolicy & WithPolicyName(const char *value)
AWS_IAM_API AttachedPolicy & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool PolicyNameHasBeenSet() const
const Aws::String & GetPolicyName() const
AWS_IAM_API AttachedPolicy()
AWS_IAM_API AttachedPolicy(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPolicyArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream