AWS SDK for C++  1.9.158
AWS SDK for C++
GetAccountAuthorizationDetailsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iam/IAM_EXPORTS.h>
8 #include <aws/iam/IAMRequest.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace IAM
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "GetAccountAuthorizationDetails"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
49  inline const Aws::Vector<EntityType>& GetFilter() const{ return m_filter; }
50 
59  inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
60 
69  inline void SetFilter(const Aws::Vector<EntityType>& value) { m_filterHasBeenSet = true; m_filter = value; }
70 
79  inline void SetFilter(Aws::Vector<EntityType>&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
80 
89  inline GetAccountAuthorizationDetailsRequest& WithFilter(const Aws::Vector<EntityType>& value) { SetFilter(value); return *this;}
90 
99  inline GetAccountAuthorizationDetailsRequest& WithFilter(Aws::Vector<EntityType>&& value) { SetFilter(std::move(value)); return *this;}
100 
109  inline GetAccountAuthorizationDetailsRequest& AddFilter(const EntityType& value) { m_filterHasBeenSet = true; m_filter.push_back(value); return *this; }
110 
119  inline GetAccountAuthorizationDetailsRequest& AddFilter(EntityType&& value) { m_filterHasBeenSet = true; m_filter.push_back(std::move(value)); return *this; }
120 
121 
132  inline int GetMaxItems() const{ return m_maxItems; }
133 
144  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
145 
156  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
157 
168  inline GetAccountAuthorizationDetailsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
169 
170 
177  inline const Aws::String& GetMarker() const{ return m_marker; }
178 
185  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
186 
193  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
194 
201  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
202 
209  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
210 
217  inline GetAccountAuthorizationDetailsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
218 
225  inline GetAccountAuthorizationDetailsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
226 
233  inline GetAccountAuthorizationDetailsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
234 
235  private:
236 
237  Aws::Vector<EntityType> m_filter;
238  bool m_filterHasBeenSet;
239 
240  int m_maxItems;
241  bool m_maxItemsHasBeenSet;
242 
243  Aws::String m_marker;
244  bool m_markerHasBeenSet;
245  };
246 
247 } // namespace Model
248 } // namespace IAM
249 } // namespace Aws
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::WithMarker
GetAccountAuthorizationDetailsRequest & WithMarker(const Aws::String &value)
Definition: GetAccountAuthorizationDetailsRequest.h:217
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::WithFilter
GetAccountAuthorizationDetailsRequest & WithFilter(Aws::Vector< EntityType > &&value)
Definition: GetAccountAuthorizationDetailsRequest.h:99
Aws::Http::URI
Definition: URI.h:32
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::WithMarker
GetAccountAuthorizationDetailsRequest & WithMarker(Aws::String &&value)
Definition: GetAccountAuthorizationDetailsRequest.h:225
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: GetAccountAuthorizationDetailsRequest.h:193
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::SetMarker
void SetMarker(const char *value)
Definition: GetAccountAuthorizationDetailsRequest.h:209
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetAccountAuthorizationDetailsRequest.h:32
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::GetFilter
const Aws::Vector< EntityType > & GetFilter() const
Definition: GetAccountAuthorizationDetailsRequest.h:49
Aws::IAM::IAMRequest
Definition: IAMRequest.h:17
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::SetMaxItems
void SetMaxItems(int value)
Definition: GetAccountAuthorizationDetailsRequest.h:156
Aws::EMR::Model::AuthMode::NOT_SET
@ NOT_SET
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: GetAccountAuthorizationDetailsRequest.h:185
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
EntityType.h
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWSVector.h
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::WithMarker
GetAccountAuthorizationDetailsRequest & WithMarker(const char *value)
Definition: GetAccountAuthorizationDetailsRequest.h:233
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::SetFilter
void SetFilter(const Aws::Vector< EntityType > &value)
Definition: GetAccountAuthorizationDetailsRequest.h:69
AWS_IAM_API
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:28
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::FilterHasBeenSet
bool FilterHasBeenSet() const
Definition: GetAccountAuthorizationDetailsRequest.h:59
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::AddFilter
GetAccountAuthorizationDetailsRequest & AddFilter(EntityType &&value)
Definition: GetAccountAuthorizationDetailsRequest.h:119
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: GetAccountAuthorizationDetailsRequest.h:144
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::GetAccountAuthorizationDetailsRequest
GetAccountAuthorizationDetailsRequest()
Aws::IAM::Model::EntityType
EntityType
Definition: EntityType.h:17
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::AddFilter
GetAccountAuthorizationDetailsRequest & AddFilter(const EntityType &value)
Definition: GetAccountAuthorizationDetailsRequest.h:109
AWSString.h
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::WithMaxItems
GetAccountAuthorizationDetailsRequest & WithMaxItems(int value)
Definition: GetAccountAuthorizationDetailsRequest.h:168
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::GetMaxItems
int GetMaxItems() const
Definition: GetAccountAuthorizationDetailsRequest.h:132
IAM_EXPORTS.h
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: GetAccountAuthorizationDetailsRequest.h:177
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::WithFilter
GetAccountAuthorizationDetailsRequest & WithFilter(const Aws::Vector< EntityType > &value)
Definition: GetAccountAuthorizationDetailsRequest.h:89
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest
Definition: GetAccountAuthorizationDetailsRequest.h:24
IAMRequest.h
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::GetAccountAuthorizationDetailsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::SetFilter
void SetFilter(Aws::Vector< EntityType > &&value)
Definition: GetAccountAuthorizationDetailsRequest.h:79
Aws::IAM::Model::GetAccountAuthorizationDetailsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: GetAccountAuthorizationDetailsRequest.h:201