AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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 template<typename FilterT = Aws::Vector<EntityType>>
53 void SetFilter(FilterT&& value) { m_filterHasBeenSet = true; m_filter = std::forward<FilterT>(value); }
54 template<typename FilterT = Aws::Vector<EntityType>>
55 GetAccountAuthorizationDetailsRequest& WithFilter(FilterT&& value) { SetFilter(std::forward<FilterT>(value)); return *this;}
56 inline GetAccountAuthorizationDetailsRequest& AddFilter(EntityType value) { m_filterHasBeenSet = true; m_filter.push_back(value); return *this; }
58
60
70 inline int GetMaxItems() const { return m_maxItems; }
71 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
72 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
73 inline GetAccountAuthorizationDetailsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
75
77
83 inline const Aws::String& GetMarker() const { return m_marker; }
84 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
85 template<typename MarkerT = Aws::String>
86 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
87 template<typename MarkerT = Aws::String>
88 GetAccountAuthorizationDetailsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
90 private:
91
93 bool m_filterHasBeenSet = false;
94
95 int m_maxItems{0};
96 bool m_maxItemsHasBeenSet = false;
97
98 Aws::String m_marker;
99 bool m_markerHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace IAM
104} // namespace Aws
GetAccountAuthorizationDetailsRequest & WithMaxItems(int value)
GetAccountAuthorizationDetailsRequest & WithFilter(FilterT &&value)
GetAccountAuthorizationDetailsRequest & AddFilter(EntityType value)
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
GetAccountAuthorizationDetailsRequest & WithMarker(MarkerT &&value)
AWS_IAM_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector