AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAccountAuthorizationDetailsRequest.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/iam/model/EntityType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IAM
17{
18namespace 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_IAM_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
50 inline const Aws::Vector<EntityType>& GetFilter() const{ return m_filter; }
51 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
52 inline void SetFilter(const Aws::Vector<EntityType>& value) { m_filterHasBeenSet = true; m_filter = value; }
53 inline void SetFilter(Aws::Vector<EntityType>&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
55 inline GetAccountAuthorizationDetailsRequest& WithFilter(Aws::Vector<EntityType>&& value) { SetFilter(std::move(value)); return *this;}
56 inline GetAccountAuthorizationDetailsRequest& AddFilter(const EntityType& value) { m_filterHasBeenSet = true; m_filter.push_back(value); return *this; }
57 inline GetAccountAuthorizationDetailsRequest& AddFilter(EntityType&& value) { m_filterHasBeenSet = true; m_filter.push_back(std::move(value)); return *this; }
59
61
71 inline int GetMaxItems() const{ return m_maxItems; }
72 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
73 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
74 inline GetAccountAuthorizationDetailsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
76
78
84 inline const Aws::String& GetMarker() const{ return m_marker; }
85 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
86 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
87 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
88 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
89 inline GetAccountAuthorizationDetailsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
90 inline GetAccountAuthorizationDetailsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
91 inline GetAccountAuthorizationDetailsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
93 private:
94
96 bool m_filterHasBeenSet = false;
97
98 int m_maxItems;
99 bool m_maxItemsHasBeenSet = false;
100
101 Aws::String m_marker;
102 bool m_markerHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace IAM
107} // namespace Aws
GetAccountAuthorizationDetailsRequest & WithMarker(const char *value)
GetAccountAuthorizationDetailsRequest & WithMarker(const Aws::String &value)
GetAccountAuthorizationDetailsRequest & WithFilter(const Aws::Vector< EntityType > &value)
GetAccountAuthorizationDetailsRequest & WithMaxItems(int value)
GetAccountAuthorizationDetailsRequest & WithMarker(Aws::String &&value)
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_IAM_API Aws::String SerializePayload() const override
GetAccountAuthorizationDetailsRequest & AddFilter(EntityType &&value)
GetAccountAuthorizationDetailsRequest & WithFilter(Aws::Vector< EntityType > &&value)
GetAccountAuthorizationDetailsRequest & AddFilter(const EntityType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector