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>
52 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
66 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
74 bool m_policyNameHasBeenSet =
false;
77 bool m_policyDocumentHasBeenSet =
false;
void SetPolicyName(Aws::String &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetPolicyName(const Aws::String &value)
PolicyDetail & WithPolicyDocument(const char *value)
void SetPolicyName(const char *value)
void SetPolicyDocument(Aws::String &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_IAM_API PolicyDetail()
PolicyDetail & WithPolicyDocument(Aws::String &&value)
PolicyDetail & WithPolicyName(const char *value)
void SetPolicyDocument(const Aws::String &value)
bool PolicyDocumentHasBeenSet() const
PolicyDetail & WithPolicyName(const Aws::String &value)
AWS_IAM_API PolicyDetail & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PolicyDetail & WithPolicyName(Aws::String &&value)
const Aws::String & GetPolicyDocument() const
bool PolicyNameHasBeenSet() const
AWS_IAM_API PolicyDetail(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPolicyDocument(const char *value)
const Aws::String & GetPolicyName() const
PolicyDetail & WithPolicyDocument(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