AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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{
36 {
37 public:
38 AWS_IAM_API GetGroupPolicyResult() = default;
41
42
44
47 inline const Aws::String& GetGroupName() const { return m_groupName; }
48 template<typename GroupNameT = Aws::String>
49 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet = true; m_groupName = std::forward<GroupNameT>(value); }
50 template<typename GroupNameT = Aws::String>
51 GetGroupPolicyResult& WithGroupName(GroupNameT&& value) { SetGroupName(std::forward<GroupNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetPolicyName() const { return m_policyName; }
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>
62 GetGroupPolicyResult& WithPolicyName(PolicyNameT&& value) { SetPolicyName(std::forward<PolicyNameT>(value)); return *this;}
64
66
72 inline const Aws::String& GetPolicyDocument() const { return m_policyDocument; }
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>
76 GetGroupPolicyResult& WithPolicyDocument(PolicyDocumentT&& value) { SetPolicyDocument(std::forward<PolicyDocumentT>(value)); return *this;}
78
80
81 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
82 template<typename ResponseMetadataT = ResponseMetadata>
83 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
84 template<typename ResponseMetadataT = ResponseMetadata>
85 GetGroupPolicyResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
87 private:
88
89 Aws::String m_groupName;
90 bool m_groupNameHasBeenSet = false;
91
92 Aws::String m_policyName;
93 bool m_policyNameHasBeenSet = false;
94
95 Aws::String m_policyDocument;
96 bool m_policyDocumentHasBeenSet = false;
97
98 ResponseMetadata m_responseMetadata;
99 bool m_responseMetadataHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace IAM
104} // namespace Aws
GetGroupPolicyResult & WithPolicyName(PolicyNameT &&value)
GetGroupPolicyResult & WithPolicyDocument(PolicyDocumentT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
const Aws::String & GetPolicyDocument() const
const Aws::String & GetPolicyName() const
AWS_IAM_API GetGroupPolicyResult()=default
GetGroupPolicyResult & WithResponseMetadata(ResponseMetadataT &&value)
const Aws::String & GetGroupName() const
AWS_IAM_API GetGroupPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetGroupPolicyResult & WithGroupName(GroupNameT &&value)
AWS_IAM_API GetGroupPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetPolicyDocument(PolicyDocumentT &&value)
const ResponseMetadata & GetResponseMetadata() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument