AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListRoleMembershipsRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/model/Role.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace QuickSight
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_QUICKSIGHT_API ListRoleMembershipsRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListRoleMemberships"; }
36
37 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
38
39 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Role& GetRole() const{ return m_role; }
47 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
48 inline void SetRole(const Role& value) { m_roleHasBeenSet = true; m_role = value; }
49 inline void SetRole(Role&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
50 inline ListRoleMembershipsRequest& WithRole(const Role& value) { SetRole(value); return *this;}
51 inline ListRoleMembershipsRequest& WithRole(Role&& value) { SetRole(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
59 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
60 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
61 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
62 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
63 inline ListRoleMembershipsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
64 inline ListRoleMembershipsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
65 inline ListRoleMembershipsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
67
69
72 inline int GetMaxResults() const{ return m_maxResults; }
73 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
74 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
75 inline ListRoleMembershipsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
77
79
84 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
85 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
86 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
87 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
88 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
89 inline ListRoleMembershipsRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
90 inline ListRoleMembershipsRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
91 inline ListRoleMembershipsRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
93
95
98 inline const Aws::String& GetNamespace() const{ return m_namespace; }
99 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
100 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
101 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
102 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
103 inline ListRoleMembershipsRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
104 inline ListRoleMembershipsRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
105 inline ListRoleMembershipsRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
107 private:
108
109 Role m_role;
110 bool m_roleHasBeenSet = false;
111
112 Aws::String m_nextToken;
113 bool m_nextTokenHasBeenSet = false;
114
115 int m_maxResults;
116 bool m_maxResultsHasBeenSet = false;
117
118 Aws::String m_awsAccountId;
119 bool m_awsAccountIdHasBeenSet = false;
120
121 Aws::String m_namespace;
122 bool m_namespaceHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace QuickSight
127} // namespace Aws
ListRoleMembershipsRequest & WithNamespace(Aws::String &&value)
ListRoleMembershipsRequest & WithNextToken(const Aws::String &value)
ListRoleMembershipsRequest & WithNextToken(const char *value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
ListRoleMembershipsRequest & WithRole(Role &&value)
ListRoleMembershipsRequest & WithRole(const Role &value)
virtual const char * GetServiceRequestName() const override
ListRoleMembershipsRequest & WithNextToken(Aws::String &&value)
ListRoleMembershipsRequest & WithMaxResults(int value)
ListRoleMembershipsRequest & WithAwsAccountId(const char *value)
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListRoleMembershipsRequest & WithAwsAccountId(const Aws::String &value)
ListRoleMembershipsRequest & WithAwsAccountId(Aws::String &&value)
ListRoleMembershipsRequest & WithNamespace(const Aws::String &value)
ListRoleMembershipsRequest & WithNamespace(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String