AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
52 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
53 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
54 inline SearchGroupsRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
55 inline SearchGroupsRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
56 inline SearchGroupsRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
58
60
63 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
64 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
65 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
66 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
67 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
68 inline SearchGroupsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
69 inline SearchGroupsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
70 inline SearchGroupsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
72
74
77 inline int GetMaxResults() const{ return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
80 inline SearchGroupsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
82
84
87 inline const Aws::String& GetNamespace() const{ return m_namespace; }
88 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
89 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
90 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
91 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
92 inline SearchGroupsRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
93 inline SearchGroupsRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
94 inline SearchGroupsRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
96
98
102 inline const Aws::Vector<GroupSearchFilter>& GetFilters() const{ return m_filters; }
103 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
104 inline void SetFilters(const Aws::Vector<GroupSearchFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
105 inline void SetFilters(Aws::Vector<GroupSearchFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
106 inline SearchGroupsRequest& WithFilters(const Aws::Vector<GroupSearchFilter>& value) { SetFilters(value); return *this;}
107 inline SearchGroupsRequest& WithFilters(Aws::Vector<GroupSearchFilter>&& value) { SetFilters(std::move(value)); return *this;}
108 inline SearchGroupsRequest& AddFilters(const GroupSearchFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
109 inline SearchGroupsRequest& AddFilters(GroupSearchFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
111 private:
112
113 Aws::String m_awsAccountId;
114 bool m_awsAccountIdHasBeenSet = false;
115
116 Aws::String m_nextToken;
117 bool m_nextTokenHasBeenSet = false;
118
119 int m_maxResults;
120 bool m_maxResultsHasBeenSet = false;
121
122 Aws::String m_namespace;
123 bool m_namespaceHasBeenSet = false;
124
126 bool m_filtersHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace QuickSight
131} // namespace Aws
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
void SetNextToken(const Aws::String &value)
SearchGroupsRequest & WithFilters(const Aws::Vector< GroupSearchFilter > &value)
const Aws::Vector< GroupSearchFilter > & GetFilters() const
SearchGroupsRequest & AddFilters(GroupSearchFilter &&value)
void SetFilters(Aws::Vector< GroupSearchFilter > &&value)
SearchGroupsRequest & WithNextToken(const char *value)
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetNamespace(const Aws::String &value)
SearchGroupsRequest & WithNamespace(Aws::String &&value)
SearchGroupsRequest & AddFilters(const GroupSearchFilter &value)
SearchGroupsRequest & WithNamespace(const char *value)
SearchGroupsRequest & WithAwsAccountId(const char *value)
SearchGroupsRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
SearchGroupsRequest & WithNamespace(const Aws::String &value)
SearchGroupsRequest & WithNextToken(const Aws::String &value)
void SetFilters(const Aws::Vector< GroupSearchFilter > &value)
void SetAwsAccountId(const Aws::String &value)
SearchGroupsRequest & WithAwsAccountId(Aws::String &&value)
SearchGroupsRequest & WithFilters(Aws::Vector< GroupSearchFilter > &&value)
SearchGroupsRequest & WithAwsAccountId(const Aws::String &value)
SearchGroupsRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector