AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SearchGroupsRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/quicksight/model/GroupSearchFilter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace QuickSight
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_QUICKSIGHT_API SearchGroupsRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "SearchGroups"; }
37
38 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
39
40 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
49 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
50 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
51 template<typename AwsAccountIdT = Aws::String>
52 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
53 template<typename AwsAccountIdT = Aws::String>
54 SearchGroupsRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetNextToken() const { return m_nextToken; }
62 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
63 template<typename NextTokenT = Aws::String>
64 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
65 template<typename NextTokenT = Aws::String>
66 SearchGroupsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
68
70
73 inline int GetMaxResults() const { return m_maxResults; }
74 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
75 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
76 inline SearchGroupsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
78
80
83 inline const Aws::String& GetNamespace() const { return m_namespace; }
84 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
85 template<typename NamespaceT = Aws::String>
86 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
87 template<typename NamespaceT = Aws::String>
88 SearchGroupsRequest& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
90
92
96 inline const Aws::Vector<GroupSearchFilter>& GetFilters() const { return m_filters; }
97 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
98 template<typename FiltersT = Aws::Vector<GroupSearchFilter>>
99 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
100 template<typename FiltersT = Aws::Vector<GroupSearchFilter>>
101 SearchGroupsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
102 template<typename FiltersT = GroupSearchFilter>
103 SearchGroupsRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
105 private:
106
107 Aws::String m_awsAccountId;
108 bool m_awsAccountIdHasBeenSet = false;
109
110 Aws::String m_nextToken;
111 bool m_nextTokenHasBeenSet = false;
112
113 int m_maxResults{0};
114 bool m_maxResultsHasBeenSet = false;
115
116 Aws::String m_namespace;
117 bool m_namespaceHasBeenSet = false;
118
120 bool m_filtersHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace QuickSight
125} // namespace Aws
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
const Aws::Vector< GroupSearchFilter > & GetFilters() const
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
SearchGroupsRequest & WithNamespace(NamespaceT &&value)
SearchGroupsRequest & WithFilters(FiltersT &&value)
SearchGroupsRequest & WithNextToken(NextTokenT &&value)
AWS_QUICKSIGHT_API SearchGroupsRequest()=default
virtual const char * GetServiceRequestName() const override
SearchGroupsRequest & WithAwsAccountId(AwsAccountIdT &&value)
SearchGroupsRequest & AddFilters(FiltersT &&value)
SearchGroupsRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector