AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 Role GetRole() const { return m_role; }
47 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
48 inline void SetRole(Role value) { m_roleHasBeenSet = true; m_role = value; }
49 inline ListRoleMembershipsRequest& WithRole(Role value) { SetRole(value); return *this;}
51
53
56 inline const Aws::String& GetNextToken() const { return m_nextToken; }
57 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
58 template<typename NextTokenT = Aws::String>
59 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
60 template<typename NextTokenT = Aws::String>
61 ListRoleMembershipsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
63
65
68 inline int GetMaxResults() const { return m_maxResults; }
69 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
70 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
71 inline ListRoleMembershipsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
73
75
80 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
81 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
82 template<typename AwsAccountIdT = Aws::String>
83 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
84 template<typename AwsAccountIdT = Aws::String>
85 ListRoleMembershipsRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
87
89
92 inline const Aws::String& GetNamespace() const { return m_namespace; }
93 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
94 template<typename NamespaceT = Aws::String>
95 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
96 template<typename NamespaceT = Aws::String>
97 ListRoleMembershipsRequest& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
99 private:
100
101 Role m_role{Role::NOT_SET};
102 bool m_roleHasBeenSet = false;
103
104 Aws::String m_nextToken;
105 bool m_nextTokenHasBeenSet = false;
106
107 int m_maxResults{0};
108 bool m_maxResultsHasBeenSet = false;
109
110 Aws::String m_awsAccountId;
111 bool m_awsAccountIdHasBeenSet = false;
112
113 Aws::String m_namespace;
114 bool m_namespaceHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace QuickSight
119} // namespace Aws
AWS_QUICKSIGHT_API ListRoleMembershipsRequest()=default
ListRoleMembershipsRequest & WithNamespace(NamespaceT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
ListRoleMembershipsRequest & WithAwsAccountId(AwsAccountIdT &&value)
virtual const char * GetServiceRequestName() const override
ListRoleMembershipsRequest & WithMaxResults(int value)
ListRoleMembershipsRequest & WithNextToken(NextTokenT &&value)
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String