AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRolePolicyResult.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iam/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace IAM
25{
26namespace Model
27{
35 {
36 public:
37 AWS_IAM_API GetRolePolicyResult();
40
41
43
46 inline const Aws::String& GetRoleName() const{ return m_roleName; }
47 inline void SetRoleName(const Aws::String& value) { m_roleName = value; }
48 inline void SetRoleName(Aws::String&& value) { m_roleName = std::move(value); }
49 inline void SetRoleName(const char* value) { m_roleName.assign(value); }
50 inline GetRolePolicyResult& WithRoleName(const Aws::String& value) { SetRoleName(value); return *this;}
51 inline GetRolePolicyResult& WithRoleName(Aws::String&& value) { SetRoleName(std::move(value)); return *this;}
52 inline GetRolePolicyResult& WithRoleName(const char* value) { SetRoleName(value); return *this;}
54
56
59 inline const Aws::String& GetPolicyName() const{ return m_policyName; }
60 inline void SetPolicyName(const Aws::String& value) { m_policyName = value; }
61 inline void SetPolicyName(Aws::String&& value) { m_policyName = std::move(value); }
62 inline void SetPolicyName(const char* value) { m_policyName.assign(value); }
63 inline GetRolePolicyResult& WithPolicyName(const Aws::String& value) { SetPolicyName(value); return *this;}
64 inline GetRolePolicyResult& WithPolicyName(Aws::String&& value) { SetPolicyName(std::move(value)); return *this;}
65 inline GetRolePolicyResult& WithPolicyName(const char* value) { SetPolicyName(value); return *this;}
67
69
75 inline const Aws::String& GetPolicyDocument() const{ return m_policyDocument; }
76 inline void SetPolicyDocument(const Aws::String& value) { m_policyDocument = value; }
77 inline void SetPolicyDocument(Aws::String&& value) { m_policyDocument = std::move(value); }
78 inline void SetPolicyDocument(const char* value) { m_policyDocument.assign(value); }
79 inline GetRolePolicyResult& WithPolicyDocument(const Aws::String& value) { SetPolicyDocument(value); return *this;}
80 inline GetRolePolicyResult& WithPolicyDocument(Aws::String&& value) { SetPolicyDocument(std::move(value)); return *this;}
81 inline GetRolePolicyResult& WithPolicyDocument(const char* value) { SetPolicyDocument(value); return *this;}
83
85
86 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
87 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
88 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
90 inline GetRolePolicyResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
92 private:
93
94 Aws::String m_roleName;
95
96 Aws::String m_policyName;
97
98 Aws::String m_policyDocument;
99
100 ResponseMetadata m_responseMetadata;
101 };
102
103} // namespace Model
104} // namespace IAM
105} // namespace Aws
GetRolePolicyResult & WithRoleName(Aws::String &&value)
void SetPolicyName(Aws::String &&value)
GetRolePolicyResult & WithResponseMetadata(ResponseMetadata &&value)
void SetResponseMetadata(const ResponseMetadata &value)
void SetPolicyDocument(Aws::String &&value)
GetRolePolicyResult & WithPolicyName(const Aws::String &value)
void SetPolicyDocument(const Aws::String &value)
void SetResponseMetadata(ResponseMetadata &&value)
GetRolePolicyResult & WithPolicyDocument(Aws::String &&value)
const Aws::String & GetRoleName() const
GetRolePolicyResult & WithPolicyDocument(const Aws::String &value)
void SetRoleName(const Aws::String &value)
AWS_IAM_API GetRolePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetRolePolicyResult & WithPolicyName(Aws::String &&value)
const ResponseMetadata & GetResponseMetadata() const
const Aws::String & GetPolicyDocument() const
GetRolePolicyResult & WithResponseMetadata(const ResponseMetadata &value)
GetRolePolicyResult & WithRoleName(const Aws::String &value)
const Aws::String & GetPolicyName() const
void SetPolicyName(const Aws::String &value)
GetRolePolicyResult & WithPolicyDocument(const char *value)
AWS_IAM_API GetRolePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetRolePolicyResult & WithPolicyName(const char *value)
GetRolePolicyResult & WithRoleName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument