AWS SDK for C++  0.12.9
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 
43  inline const Aws::Vector<EntityType>& GetFilter() const{ return m_filter; }
44 
51  inline void SetFilter(const Aws::Vector<EntityType>& value) { m_filterHasBeenSet = true; m_filter = value; }
52 
59  inline void SetFilter(Aws::Vector<EntityType>&& value) { m_filterHasBeenSet = true; m_filter = value; }
60 
67  inline GetAccountAuthorizationDetailsRequest& WithFilter(const Aws::Vector<EntityType>& value) { SetFilter(value); return *this;}
68 
75  inline GetAccountAuthorizationDetailsRequest& WithFilter(Aws::Vector<EntityType>&& value) { SetFilter(value); return *this;}
76 
83  inline GetAccountAuthorizationDetailsRequest& AddFilter(const EntityType& value) { m_filterHasBeenSet = true; m_filter.push_back(value); return *this; }
84 
91  inline GetAccountAuthorizationDetailsRequest& AddFilter(EntityType&& value) { m_filterHasBeenSet = true; m_filter.push_back(value); return *this; }
92 
103  inline long GetMaxItems() const{ return m_maxItems; }
104 
115  inline void SetMaxItems(long value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
116 
127  inline GetAccountAuthorizationDetailsRequest& WithMaxItems(long value) { SetMaxItems(value); return *this;}
128 
135  inline const Aws::String& GetMarker() const{ return m_marker; }
136 
143  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
144 
151  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
152 
159  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
160 
167  inline GetAccountAuthorizationDetailsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
168 
175  inline GetAccountAuthorizationDetailsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
176 
183  inline GetAccountAuthorizationDetailsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
184 
185  private:
186  Aws::Vector<EntityType> m_filter;
187  bool m_filterHasBeenSet;
188  long m_maxItems;
189  bool m_maxItemsHasBeenSet;
190  Aws::String m_marker;
191  bool m_markerHasBeenSet;
192  };
193 
194 } // namespace Model
195 } // namespace IAM
196 } // namespace Aws
GetAccountAuthorizationDetailsRequest & WithMaxItems(long value)
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)
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:34
GetAccountAuthorizationDetailsRequest & WithMarker(const char *value)
JSON (JavaScript Object Notation).