AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ListGroupsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace QuickSight {
18namespace Model {
19
23 public:
24 AWS_QUICKSIGHT_API ListGroupsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ListGroups"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
34 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
42 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
43 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
44 template <typename AwsAccountIdT = Aws::String>
45 void SetAwsAccountId(AwsAccountIdT&& value) {
46 m_awsAccountIdHasBeenSet = true;
47 m_awsAccountId = std::forward<AwsAccountIdT>(value);
48 }
49 template <typename AwsAccountIdT = Aws::String>
50 ListGroupsRequest& WithAwsAccountId(AwsAccountIdT&& value) {
51 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
52 return *this;
53 }
55
57
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) {
64 m_nextTokenHasBeenSet = true;
65 m_nextToken = std::forward<NextTokenT>(value);
66 }
67 template <typename NextTokenT = Aws::String>
68 ListGroupsRequest& WithNextToken(NextTokenT&& value) {
69 SetNextToken(std::forward<NextTokenT>(value));
70 return *this;
71 }
73
75
78 inline int GetMaxResults() const { return m_maxResults; }
79 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
80 inline void SetMaxResults(int value) {
81 m_maxResultsHasBeenSet = true;
82 m_maxResults = value;
83 }
84 inline ListGroupsRequest& WithMaxResults(int value) {
85 SetMaxResults(value);
86 return *this;
87 }
89
91
94 inline const Aws::String& GetNamespace() const { return m_namespace; }
95 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
96 template <typename NamespaceT = Aws::String>
97 void SetNamespace(NamespaceT&& value) {
98 m_namespaceHasBeenSet = true;
99 m_namespace = std::forward<NamespaceT>(value);
100 }
101 template <typename NamespaceT = Aws::String>
102 ListGroupsRequest& WithNamespace(NamespaceT&& value) {
103 SetNamespace(std::forward<NamespaceT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_awsAccountId;
109
110 Aws::String m_nextToken;
111
112 int m_maxResults{0};
113
114 Aws::String m_namespace;
115 bool m_awsAccountIdHasBeenSet = false;
116 bool m_nextTokenHasBeenSet = false;
117 bool m_maxResultsHasBeenSet = false;
118 bool m_namespaceHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace QuickSight
123} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListGroupsRequest & WithMaxResults(int value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
void SetAwsAccountId(AwsAccountIdT &&value)
const Aws::String & GetAwsAccountId() const
AWS_QUICKSIGHT_API ListGroupsRequest()=default
ListGroupsRequest & WithAwsAccountId(AwsAccountIdT &&value)
ListGroupsRequest & WithNextToken(NextTokenT &&value)
ListGroupsRequest & WithNamespace(NamespaceT &&value)
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String