AWS SDK for C++  1.8.100
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
const Aws::Vector< Aws::String > & GetPolicyNames() const
ListGroupPoliciesResult & AddPolicyNames(Aws::String &&value)
ListGroupPoliciesResult & WithResponseMetadata(ResponseMetadata &&value)
const ResponseMetadata & GetResponseMetadata() const
ListGroupPoliciesResult & AddPolicyNames(const char *value)
void SetPolicyNames(Aws::Vector< Aws::String > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
ListGroupPoliciesResult & WithIsTruncated(bool value)
void SetPolicyNames(const Aws::Vector< Aws::String > &value)
ListGroupPoliciesResult & WithMarker(const Aws::String &value)
ListGroupPoliciesResult & WithResponseMetadata(const ResponseMetadata &value)
void SetResponseMetadata(const ResponseMetadata &value)
ListGroupPoliciesResult & WithMarker(Aws::String &&value)
ListGroupPoliciesResult & WithPolicyNames(const Aws::Vector< Aws::String > &value)
ListGroupPoliciesResult & WithMarker(const char *value)
ListGroupPoliciesResult & WithPolicyNames(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetResponseMetadata(ResponseMetadata &&value)
ListGroupPoliciesResult & AddPolicyNames(const Aws::String &value)
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:28