7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iam/model/ResponseMetadata.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
48 template<
typename UserNameT = Aws::String>
49 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet =
true; m_userName = std::forward<UserNameT>(value); }
50 template<
typename UserNameT = Aws::String>
59 template<
typename PolicyNameT = Aws::String>
60 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet =
true; m_policyName = std::forward<PolicyNameT>(value); }
61 template<
typename PolicyNameT = Aws::String>
73 template<
typename PolicyDocumentT = Aws::String>
74 void SetPolicyDocument(PolicyDocumentT&& value) { m_policyDocumentHasBeenSet =
true; m_policyDocument = std::forward<PolicyDocumentT>(value); }
75 template<
typename PolicyDocumentT = Aws::String>
82 template<
typename ResponseMetadataT = ResponseMetadata>
83 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
84 template<
typename ResponseMetadataT = ResponseMetadata>
90 bool m_userNameHasBeenSet =
false;
93 bool m_policyNameHasBeenSet =
false;
96 bool m_policyDocumentHasBeenSet =
false;
99 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
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