AWS SDK for C++  0.14.3
AWS SDK for C++
GetAccountAuthorizationDetailsRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/iam/IAM_EXPORTS.h>
17 #include <aws/iam/IAMRequest.h>
21 
22 namespace Aws
23 {
24 namespace IAM
25 {
26 namespace Model
27 {
28 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
45  inline const Aws::Vector<EntityType>& GetFilter() const{ return m_filter; }
46 
55  inline void SetFilter(const Aws::Vector<EntityType>& value) { m_filterHasBeenSet = true; m_filter = value; }
56 
65  inline void SetFilter(Aws::Vector<EntityType>&& value) { m_filterHasBeenSet = true; m_filter = value; }
66 
75  inline GetAccountAuthorizationDetailsRequest& WithFilter(const Aws::Vector<EntityType>& value) { SetFilter(value); return *this;}
76 
85  inline GetAccountAuthorizationDetailsRequest& WithFilter(Aws::Vector<EntityType>&& value) { SetFilter(value); return *this;}
86 
95  inline GetAccountAuthorizationDetailsRequest& AddFilter(const EntityType& value) { m_filterHasBeenSet = true; m_filter.push_back(value); return *this; }
96 
105  inline GetAccountAuthorizationDetailsRequest& AddFilter(EntityType&& value) { m_filterHasBeenSet = true; m_filter.push_back(value); return *this; }
106 
117  inline int GetMaxItems() const{ return m_maxItems; }
118 
129  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
130 
141  inline GetAccountAuthorizationDetailsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
142 
149  inline const Aws::String& GetMarker() const{ return m_marker; }
150 
157  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
158 
165  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
166 
173  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
174 
181  inline GetAccountAuthorizationDetailsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
182 
189  inline GetAccountAuthorizationDetailsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
190 
197  inline GetAccountAuthorizationDetailsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
198 
199  private:
200  Aws::Vector<EntityType> m_filter;
201  bool m_filterHasBeenSet;
202  int m_maxItems;
203  bool m_maxItemsHasBeenSet;
204  Aws::String m_marker;
205  bool m_markerHasBeenSet;
206  };
207 
208 } // namespace Model
209 } // namespace IAM
210 } // namespace Aws
GetAccountAuthorizationDetailsRequest & WithMarker(const Aws::String &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
GetAccountAuthorizationDetailsRequest & WithMarker(Aws::String &&value)
GetAccountAuthorizationDetailsRequest & AddFilter(const EntityType &value)
GetAccountAuthorizationDetailsRequest & WithFilter(const Aws::Vector< EntityType > &value)
GetAccountAuthorizationDetailsRequest & AddFilter(EntityType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetAccountAuthorizationDetailsRequest & WithFilter(Aws::Vector< EntityType > &&value)
GetAccountAuthorizationDetailsRequest & WithMaxItems(int value)
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:37
GetAccountAuthorizationDetailsRequest & WithMarker(const char *value)
JSON (JavaScript Object Notation).