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 RoleNameT = Aws::String>
45 m_roleNameHasBeenSet =
true;
46 m_roleName = std::forward<RoleNameT>(value);
48 template <
typename RoleNameT = 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_roleNameHasBeenSet =
false;
118 bool m_policyNameHasBeenSet =
false;
119 bool m_policyDocumentHasBeenSet =
false;
120 bool m_responseMetadataHasBeenSet =
false;
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetRolePolicyResult & WithRoleName(RoleNameT &&value)
void SetRoleName(RoleNameT &&value)
GetRolePolicyResult & WithPolicyDocument(PolicyDocumentT &&value)
const Aws::String & GetRoleName() const
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_IAM_API GetRolePolicyResult()=default
GetRolePolicyResult & WithPolicyName(PolicyNameT &&value)
AWS_IAM_API GetRolePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
void SetPolicyName(PolicyNameT &&value)
void SetPolicyDocument(PolicyDocumentT &&value)
const Aws::String & GetPolicyDocument() const
GetRolePolicyResult & WithResponseMetadata(ResponseMetadataT &&value)
const Aws::String & GetPolicyName() const
AWS_IAM_API GetRolePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument