AWS SDK for C++  1.8.156
AWS SDK for C++
ListGroupPoliciesResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iam/IAM_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace IAM
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
49  inline const Aws::Vector<Aws::String>& GetPolicyNames() const{ return m_policyNames; }
50 
57  inline void SetPolicyNames(const Aws::Vector<Aws::String>& value) { m_policyNames = value; }
58 
65  inline void SetPolicyNames(Aws::Vector<Aws::String>&& value) { m_policyNames = std::move(value); }
66 
73  inline ListGroupPoliciesResult& WithPolicyNames(const Aws::Vector<Aws::String>& value) { SetPolicyNames(value); return *this;}
74 
81  inline ListGroupPoliciesResult& WithPolicyNames(Aws::Vector<Aws::String>&& value) { SetPolicyNames(std::move(value)); return *this;}
82 
89  inline ListGroupPoliciesResult& AddPolicyNames(const Aws::String& value) { m_policyNames.push_back(value); return *this; }
90 
97  inline ListGroupPoliciesResult& AddPolicyNames(Aws::String&& value) { m_policyNames.push_back(std::move(value)); return *this; }
98 
105  inline ListGroupPoliciesResult& AddPolicyNames(const char* value) { m_policyNames.push_back(value); return *this; }
106 
107 
117  inline bool GetIsTruncated() const{ return m_isTruncated; }
118 
128  inline void SetIsTruncated(bool value) { m_isTruncated = value; }
129 
139  inline ListGroupPoliciesResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
140 
141 
147  inline const Aws::String& GetMarker() const{ return m_marker; }
148 
154  inline void SetMarker(const Aws::String& value) { m_marker = value; }
155 
161  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
162 
168  inline void SetMarker(const char* value) { m_marker.assign(value); }
169 
175  inline ListGroupPoliciesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
176 
182  inline ListGroupPoliciesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
183 
189  inline ListGroupPoliciesResult& WithMarker(const char* value) { SetMarker(value); return *this;}
190 
191 
192 
193  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
194 
195 
196  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
197 
198 
199  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
200 
201 
202  inline ListGroupPoliciesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
203 
204 
205  inline ListGroupPoliciesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
206 
207  private:
208 
209  Aws::Vector<Aws::String> m_policyNames;
210 
211  bool m_isTruncated;
212 
213  Aws::String m_marker;
214 
215  ResponseMetadata m_responseMetadata;
216  };
217 
218 } // namespace Model
219 } // namespace IAM
220 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IAM::Model::ListGroupPoliciesResult::operator=
ListGroupPoliciesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::IAM::Model::ListGroupPoliciesResult::WithMarker
ListGroupPoliciesResult & WithMarker(Aws::String &&value)
Definition: ListGroupPoliciesResult.h:182
Aws::IAM::Model::ListGroupPoliciesResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListGroupPoliciesResult.h:154
Aws::IAM::Model::ListGroupPoliciesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ListGroupPoliciesResult.h:199
Aws::IAM::Model::ListGroupPoliciesResult::WithPolicyNames
ListGroupPoliciesResult & WithPolicyNames(Aws::Vector< Aws::String > &&value)
Definition: ListGroupPoliciesResult.h:81
Aws::EMR::Model::AuthMode::NOT_SET
@ NOT_SET
Aws::IAM::Model::ListGroupPoliciesResult::AddPolicyNames
ListGroupPoliciesResult & AddPolicyNames(Aws::String &&value)
Definition: ListGroupPoliciesResult.h:97
Aws::IAM::Model::ListGroupPoliciesResult::WithMarker
ListGroupPoliciesResult & WithMarker(const char *value)
Definition: ListGroupPoliciesResult.h:189
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IAM::Model::ListGroupPoliciesResult::ListGroupPoliciesResult
ListGroupPoliciesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::IAM::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::IAM::Model::ListGroupPoliciesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ListGroupPoliciesResult.h:196
AWSVector.h
Aws::IAM::Model::ListGroupPoliciesResult::WithMarker
ListGroupPoliciesResult & WithMarker(const Aws::String &value)
Definition: ListGroupPoliciesResult.h:175
Aws::IAM::Model::ListGroupPoliciesResult::GetIsTruncated
bool GetIsTruncated() const
Definition: ListGroupPoliciesResult.h:117
AWS_IAM_API
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:28
Aws::IAM::Model::ListGroupPoliciesResult::ListGroupPoliciesResult
ListGroupPoliciesResult()
Aws::IAM::Model::ListGroupPoliciesResult::SetPolicyNames
void SetPolicyNames(Aws::Vector< Aws::String > &&value)
Definition: ListGroupPoliciesResult.h:65
Aws::IAM::Model::ListGroupPoliciesResult::AddPolicyNames
ListGroupPoliciesResult & AddPolicyNames(const char *value)
Definition: ListGroupPoliciesResult.h:105
AWSString.h
Aws::IAM::Model::ListGroupPoliciesResult
Definition: ListGroupPoliciesResult.h:36
Aws::IAM::Model::ListGroupPoliciesResult::SetMarker
void SetMarker(const char *value)
Definition: ListGroupPoliciesResult.h:168
Aws::IAM::Model::ListGroupPoliciesResult::SetPolicyNames
void SetPolicyNames(const Aws::Vector< Aws::String > &value)
Definition: ListGroupPoliciesResult.h:57
Aws::IAM::Model::ListGroupPoliciesResult::WithPolicyNames
ListGroupPoliciesResult & WithPolicyNames(const Aws::Vector< Aws::String > &value)
Definition: ListGroupPoliciesResult.h:73
Aws::IAM::Model::ListGroupPoliciesResult::WithIsTruncated
ListGroupPoliciesResult & WithIsTruncated(bool value)
Definition: ListGroupPoliciesResult.h:139
Aws::IAM::Model::ListGroupPoliciesResult::AddPolicyNames
ListGroupPoliciesResult & AddPolicyNames(const Aws::String &value)
Definition: ListGroupPoliciesResult.h:89
Aws::IAM::Model::ListGroupPoliciesResult::WithResponseMetadata
ListGroupPoliciesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ListGroupPoliciesResult.h:205
IAM_EXPORTS.h
ResponseMetadata.h
Aws::IAM::Model::ListGroupPoliciesResult::SetIsTruncated
void SetIsTruncated(bool value)
Definition: ListGroupPoliciesResult.h:128
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IAM::Model::ListGroupPoliciesResult::GetMarker
const Aws::String & GetMarker() const
Definition: ListGroupPoliciesResult.h:147
Aws::IAM::Model::ListGroupPoliciesResult::GetPolicyNames
const Aws::Vector< Aws::String > & GetPolicyNames() const
Definition: ListGroupPoliciesResult.h:49
Aws::IAM::Model::ListGroupPoliciesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ListGroupPoliciesResult.h:193
Aws::IAM::Model::ListGroupPoliciesResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListGroupPoliciesResult.h:161
Aws::IAM::Model::ListGroupPoliciesResult::WithResponseMetadata
ListGroupPoliciesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ListGroupPoliciesResult.h:202