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>
61 template<
typename PolicyNameT = Aws::String>
62 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet =
true; m_policyName = std::forward<PolicyNameT>(value); }
63 template<
typename PolicyNameT = Aws::String>
71 template<
typename PolicyArnT = Aws::String>
72 void SetPolicyArn(PolicyArnT&& value) { m_policyArnHasBeenSet =
true; m_policyArn = std::forward<PolicyArnT>(value); }
73 template<
typename PolicyArnT = Aws::String>
79 bool m_policyNameHasBeenSet =
false;
82 bool m_policyArnHasBeenSet =
false;
void SetPolicyName(PolicyNameT &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_IAM_API AttachedPolicy()=default
const Aws::String & GetPolicyArn() const
bool PolicyArnHasBeenSet() const
void SetPolicyArn(PolicyArnT &&value)
AWS_IAM_API AttachedPolicy & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AttachedPolicy & WithPolicyArn(PolicyArnT &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AttachedPolicy & WithPolicyName(PolicyNameT &&value)
bool PolicyNameHasBeenSet() const
const Aws::String & GetPolicyName() const
AWS_IAM_API AttachedPolicy(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream