7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iam/IAM_EXPORTS.h>
10#include <aws/iam/model/ResponseMetadata.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
43 template <
typename UserNameT = Aws::String>
45 m_userNameHasBeenSet =
true;
46 m_userName = std::forward<UserNameT>(value);
48 template <
typename UserNameT = Aws::String>
60 template <
typename PolicyNameT = Aws::String>
62 m_policyNameHasBeenSet =
true;
63 m_policyName = std::forward<PolicyNameT>(value);
65 template <
typename PolicyNameT = Aws::String>
80 template <
typename PolicyDocumentT = Aws::String>
82 m_policyDocumentHasBeenSet =
true;
83 m_policyDocument = std::forward<PolicyDocumentT>(value);
85 template <
typename PolicyDocumentT = Aws::String>
95 template <
typename ResponseMetadataT = ResponseMetadata>
97 m_responseMetadataHasBeenSet =
true;
98 m_responseMetadata = std::forward<ResponseMetadataT>(value);
100 template <
typename ResponseMetadataT = ResponseMetadata>
117 bool m_userNameHasBeenSet =
false;
118 bool m_policyNameHasBeenSet =
false;
119 bool m_policyDocumentHasBeenSet =
false;
120 bool m_responseMetadataHasBeenSet =
false;
const Aws::String & GetUserName() const
void SetUserName(UserNameT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
const Aws::String & GetPolicyName() const
void SetPolicyName(PolicyNameT &&value)
AWS_IAM_API GetUserPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_IAM_API GetUserPolicyResult()=default
void SetPolicyDocument(PolicyDocumentT &&value)
GetUserPolicyResult & WithPolicyName(PolicyNameT &&value)
const Aws::String & GetPolicyDocument() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetUserPolicyResult & WithUserName(UserNameT &&value)
AWS_IAM_API GetUserPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetUserPolicyResult & WithResponseMetadata(ResponseMetadataT &&value)
const ResponseMetadata & GetResponseMetadata() const
GetUserPolicyResult & WithPolicyDocument(PolicyDocumentT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument