AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetGroupPolicyResult.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 GetGroupPolicyResult();
40
41
43
46 inline const Aws::String& GetGroupName() const{ return m_groupName; }
47 inline void SetGroupName(const Aws::String& value) { m_groupName = value; }
48 inline void SetGroupName(Aws::String&& value) { m_groupName = std::move(value); }
49 inline void SetGroupName(const char* value) { m_groupName.assign(value); }
50 inline GetGroupPolicyResult& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
51 inline GetGroupPolicyResult& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
52 inline GetGroupPolicyResult& WithGroupName(const char* value) { SetGroupName(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 GetGroupPolicyResult& WithPolicyName(const Aws::String& value) { SetPolicyName(value); return *this;}
64 inline GetGroupPolicyResult& WithPolicyName(Aws::String&& value) { SetPolicyName(std::move(value)); return *this;}
65 inline GetGroupPolicyResult& 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 GetGroupPolicyResult& WithPolicyDocument(const Aws::String& value) { SetPolicyDocument(value); return *this;}
80 inline GetGroupPolicyResult& WithPolicyDocument(Aws::String&& value) { SetPolicyDocument(std::move(value)); return *this;}
81 inline GetGroupPolicyResult& 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 GetGroupPolicyResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
92 private:
93
94 Aws::String m_groupName;
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
GetGroupPolicyResult & WithGroupName(Aws::String &&value)
GetGroupPolicyResult & WithResponseMetadata(ResponseMetadata &&value)
void SetPolicyDocument(const Aws::String &value)
const Aws::String & GetPolicyDocument() const
void SetPolicyDocument(Aws::String &&value)
const Aws::String & GetPolicyName() const
GetGroupPolicyResult & WithResponseMetadata(const ResponseMetadata &value)
GetGroupPolicyResult & WithPolicyDocument(const char *value)
GetGroupPolicyResult & WithPolicyDocument(const Aws::String &value)
GetGroupPolicyResult & WithPolicyName(Aws::String &&value)
GetGroupPolicyResult & WithGroupName(const Aws::String &value)
GetGroupPolicyResult & WithPolicyDocument(Aws::String &&value)
const Aws::String & GetGroupName() const
GetGroupPolicyResult & WithPolicyName(const Aws::String &value)
AWS_IAM_API GetGroupPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(ResponseMetadata &&value)
GetGroupPolicyResult & WithPolicyName(const char *value)
void SetResponseMetadata(const ResponseMetadata &value)
void SetGroupName(const Aws::String &value)
void SetPolicyName(const Aws::String &value)
GetGroupPolicyResult & WithGroupName(const char *value)
AWS_IAM_API GetGroupPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument