AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPolicyStoreId(const Aws::String& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = value; }
47 inline void SetPolicyStoreId(Aws::String&& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = std::move(value); }
48 inline void SetPolicyStoreId(const char* value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId.assign(value); }
49 inline ListIdentitySourcesRequest& WithPolicyStoreId(const Aws::String& value) { SetPolicyStoreId(value); return *this;}
50 inline ListIdentitySourcesRequest& WithPolicyStoreId(Aws::String&& value) { SetPolicyStoreId(std::move(value)); return *this;}
51 inline ListIdentitySourcesRequest& WithPolicyStoreId(const char* value) { SetPolicyStoreId(value); return *this;}
53
55
62 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
63 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
64 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
65 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
66 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
67 inline ListIdentitySourcesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
68 inline ListIdentitySourcesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
69 inline ListIdentitySourcesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
71
73
85 inline int GetMaxResults() const{ return m_maxResults; }
86 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
87 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
88 inline ListIdentitySourcesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
90
92
96 inline const Aws::Vector<IdentitySourceFilter>& GetFilters() const{ return m_filters; }
97 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
98 inline void SetFilters(const Aws::Vector<IdentitySourceFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
99 inline void SetFilters(Aws::Vector<IdentitySourceFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
101 inline ListIdentitySourcesRequest& WithFilters(Aws::Vector<IdentitySourceFilter>&& value) { SetFilters(std::move(value)); return *this;}
102 inline ListIdentitySourcesRequest& AddFilters(const IdentitySourceFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
103 inline ListIdentitySourcesRequest& AddFilters(IdentitySourceFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
105 private:
106
107 Aws::String m_policyStoreId;
108 bool m_policyStoreIdHasBeenSet = false;
109
110 Aws::String m_nextToken;
111 bool m_nextTokenHasBeenSet = false;
112
113 int m_maxResults;
114 bool m_maxResultsHasBeenSet = false;
115
117 bool m_filtersHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace VerifiedPermissions
122} // namespace Aws
ListIdentitySourcesRequest & WithNextToken(const Aws::String &value)
const Aws::Vector< IdentitySourceFilter > & GetFilters() const
ListIdentitySourcesRequest & AddFilters(IdentitySourceFilter &&value)
ListIdentitySourcesRequest & AddFilters(const IdentitySourceFilter &value)
ListIdentitySourcesRequest & WithPolicyStoreId(const Aws::String &value)
ListIdentitySourcesRequest & WithPolicyStoreId(const char *value)
void SetFilters(const Aws::Vector< IdentitySourceFilter > &value)
AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override
ListIdentitySourcesRequest & WithNextToken(Aws::String &&value)
ListIdentitySourcesRequest & WithPolicyStoreId(Aws::String &&value)
ListIdentitySourcesRequest & WithNextToken(const char *value)
ListIdentitySourcesRequest & WithFilters(const Aws::Vector< IdentitySourceFilter > &value)
ListIdentitySourcesRequest & WithFilters(Aws::Vector< IdentitySourceFilter > &&value)
void SetFilters(Aws::Vector< IdentitySourceFilter > &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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