AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAccountAssignmentsRequest.h
1
6#pragma once
7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/sso-admin/SSOAdminRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SSOAdmin
15{
16namespace Model
17{
18
22 {
23 public:
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 "ListAccountAssignments"; }
31
32 AWS_SSOADMIN_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetAccountId() const{ return m_accountId; }
43 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
44 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
45 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
46 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
47 inline ListAccountAssignmentsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
48 inline ListAccountAssignmentsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
49 inline ListAccountAssignmentsRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
51
53
60 inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
61 inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
62 inline void SetInstanceArn(const Aws::String& value) { m_instanceArnHasBeenSet = true; m_instanceArn = value; }
63 inline void SetInstanceArn(Aws::String&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::move(value); }
64 inline void SetInstanceArn(const char* value) { m_instanceArnHasBeenSet = true; m_instanceArn.assign(value); }
65 inline ListAccountAssignmentsRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
66 inline ListAccountAssignmentsRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
67 inline ListAccountAssignmentsRequest& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
69
71
74 inline int GetMaxResults() const{ return m_maxResults; }
75 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
76 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
77 inline ListAccountAssignmentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
79
81
85 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
87 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
88 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
89 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
90 inline ListAccountAssignmentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
91 inline ListAccountAssignmentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
92 inline ListAccountAssignmentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
94
96
99 inline const Aws::String& GetPermissionSetArn() const{ return m_permissionSetArn; }
100 inline bool PermissionSetArnHasBeenSet() const { return m_permissionSetArnHasBeenSet; }
101 inline void SetPermissionSetArn(const Aws::String& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = value; }
102 inline void SetPermissionSetArn(Aws::String&& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = std::move(value); }
103 inline void SetPermissionSetArn(const char* value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn.assign(value); }
105 inline ListAccountAssignmentsRequest& WithPermissionSetArn(Aws::String&& value) { SetPermissionSetArn(std::move(value)); return *this;}
106 inline ListAccountAssignmentsRequest& WithPermissionSetArn(const char* value) { SetPermissionSetArn(value); return *this;}
108 private:
109
110 Aws::String m_accountId;
111 bool m_accountIdHasBeenSet = false;
112
113 Aws::String m_instanceArn;
114 bool m_instanceArnHasBeenSet = false;
115
116 int m_maxResults;
117 bool m_maxResultsHasBeenSet = false;
118
119 Aws::String m_nextToken;
120 bool m_nextTokenHasBeenSet = false;
121
122 Aws::String m_permissionSetArn;
123 bool m_permissionSetArnHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace SSOAdmin
128} // namespace Aws
ListAccountAssignmentsRequest & WithAccountId(Aws::String &&value)
ListAccountAssignmentsRequest & WithPermissionSetArn(const char *value)
ListAccountAssignmentsRequest & WithMaxResults(int value)
AWS_SSOADMIN_API Aws::String SerializePayload() const override
ListAccountAssignmentsRequest & WithInstanceArn(const char *value)
AWS_SSOADMIN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListAccountAssignmentsRequest & WithInstanceArn(Aws::String &&value)
ListAccountAssignmentsRequest & WithAccountId(const char *value)
ListAccountAssignmentsRequest & WithPermissionSetArn(Aws::String &&value)
ListAccountAssignmentsRequest & WithPermissionSetArn(const Aws::String &value)
ListAccountAssignmentsRequest & WithNextToken(const Aws::String &value)
ListAccountAssignmentsRequest & WithInstanceArn(const Aws::String &value)
ListAccountAssignmentsRequest & WithNextToken(Aws::String &&value)
ListAccountAssignmentsRequest & WithAccountId(const Aws::String &value)
ListAccountAssignmentsRequest & WithNextToken(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String