AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListIdentitySourcesRequest.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/verifiedpermissions/VerifiedPermissionsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/verifiedpermissions/model/IdentitySourceFilter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace VerifiedPermissions
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_VERIFIEDPERMISSIONS_API ListIdentitySourcesRequest() = default;
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 "ListIdentitySources"; }
33
34 AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override;
35
36 AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
44 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
45 inline bool PolicyStoreIdHasBeenSet() const { return m_policyStoreIdHasBeenSet; }
46 template<typename PolicyStoreIdT = Aws::String>
47 void SetPolicyStoreId(PolicyStoreIdT&& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = std::forward<PolicyStoreIdT>(value); }
48 template<typename PolicyStoreIdT = Aws::String>
49 ListIdentitySourcesRequest& WithPolicyStoreId(PolicyStoreIdT&& value) { SetPolicyStoreId(std::forward<PolicyStoreIdT>(value)); return *this;}
51
53
60 inline const Aws::String& GetNextToken() const { return m_nextToken; }
61 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
62 template<typename NextTokenT = Aws::String>
63 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
64 template<typename NextTokenT = Aws::String>
65 ListIdentitySourcesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
67
69
81 inline int GetMaxResults() const { return m_maxResults; }
82 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
83 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
84 inline ListIdentitySourcesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
86
88
92 inline const Aws::Vector<IdentitySourceFilter>& GetFilters() const { return m_filters; }
93 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
94 template<typename FiltersT = Aws::Vector<IdentitySourceFilter>>
95 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
96 template<typename FiltersT = Aws::Vector<IdentitySourceFilter>>
97 ListIdentitySourcesRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
98 template<typename FiltersT = IdentitySourceFilter>
99 ListIdentitySourcesRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
101 private:
102
103 Aws::String m_policyStoreId;
104 bool m_policyStoreIdHasBeenSet = false;
105
106 Aws::String m_nextToken;
107 bool m_nextTokenHasBeenSet = false;
108
109 int m_maxResults{0};
110 bool m_maxResultsHasBeenSet = false;
111
113 bool m_filtersHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace VerifiedPermissions
118} // namespace Aws
ListIdentitySourcesRequest & WithPolicyStoreId(PolicyStoreIdT &&value)
const Aws::Vector< IdentitySourceFilter > & GetFilters() const
ListIdentitySourcesRequest & AddFilters(FiltersT &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override
ListIdentitySourcesRequest & WithNextToken(NextTokenT &&value)
AWS_VERIFIEDPERMISSIONS_API ListIdentitySourcesRequest()=default
AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListIdentitySourcesRequest & WithFilters(FiltersT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector