AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListGroupMembershipsRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace QuickSight
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_QUICKSIGHT_API ListGroupMembershipsRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListGroupMemberships"; }
35
36 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
37
38 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetGroupName() const{ return m_groupName; }
46 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
47 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
48 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
49 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
50 inline ListGroupMembershipsRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
51 inline ListGroupMembershipsRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
52 inline ListGroupMembershipsRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
54
56
59 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
60 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
61 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
62 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
63 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
64 inline ListGroupMembershipsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
65 inline ListGroupMembershipsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
66 inline ListGroupMembershipsRequest& WithNextToken(const char* value) { SetNextToken(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 ListGroupMembershipsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
78
80
85 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
86 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
87 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
88 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
89 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
90 inline ListGroupMembershipsRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
91 inline ListGroupMembershipsRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
92 inline ListGroupMembershipsRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
94
96
99 inline const Aws::String& GetNamespace() const{ return m_namespace; }
100 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
101 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
102 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
103 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
104 inline ListGroupMembershipsRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
105 inline ListGroupMembershipsRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
106 inline ListGroupMembershipsRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
108 private:
109
110 Aws::String m_groupName;
111 bool m_groupNameHasBeenSet = false;
112
113 Aws::String m_nextToken;
114 bool m_nextTokenHasBeenSet = false;
115
116 int m_maxResults;
117 bool m_maxResultsHasBeenSet = false;
118
119 Aws::String m_awsAccountId;
120 bool m_awsAccountIdHasBeenSet = false;
121
122 Aws::String m_namespace;
123 bool m_namespaceHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace QuickSight
128} // namespace Aws
ListGroupMembershipsRequest & WithGroupName(const char *value)
ListGroupMembershipsRequest & WithNextToken(const Aws::String &value)
ListGroupMembershipsRequest & WithGroupName(Aws::String &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
ListGroupMembershipsRequest & WithAwsAccountId(Aws::String &&value)
ListGroupMembershipsRequest & WithNextToken(const char *value)
ListGroupMembershipsRequest & WithNextToken(Aws::String &&value)
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListGroupMembershipsRequest & WithAwsAccountId(const char *value)
ListGroupMembershipsRequest & WithNamespace(const char *value)
ListGroupMembershipsRequest & WithNamespace(const Aws::String &value)
ListGroupMembershipsRequest & WithMaxResults(int value)
ListGroupMembershipsRequest & WithGroupName(const Aws::String &value)
ListGroupMembershipsRequest & WithAwsAccountId(const Aws::String &value)
ListGroupMembershipsRequest & WithNamespace(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String