7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iam/IAM_EXPORTS.h>
55 template <
typename PolicyNameT = Aws::String>
57 m_policyNameHasBeenSet =
true;
58 m_policyName = std::forward<PolicyNameT>(value);
60 template <
typename PolicyNameT = Aws::String>
71 template <
typename PolicyArnT = Aws::String>
73 m_policyArnHasBeenSet =
true;
74 m_policyArn = std::forward<PolicyArnT>(value);
76 template <
typename PolicyArnT = Aws::String>
86 bool m_policyNameHasBeenSet =
false;
87 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