AWS SDK for C++  1.9.161
AWS SDK for C++
ListDelegatedServicesForAccountRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Organizations
15 {
16 namespace 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 "ListDelegatedServicesForAccount"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetAccountId() const{ return m_accountId; }
42 
47  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48 
53  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
54 
59  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
60 
65  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
66 
71  inline ListDelegatedServicesForAccountRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
72 
77  inline ListDelegatedServicesForAccountRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
78 
83  inline ListDelegatedServicesForAccountRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
84 
85 
93  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
94 
102  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
103 
111  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
112 
120  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
121 
129  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
130 
138  inline ListDelegatedServicesForAccountRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
139 
147  inline ListDelegatedServicesForAccountRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
148 
156  inline ListDelegatedServicesForAccountRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
157 
158 
170  inline int GetMaxResults() const{ return m_maxResults; }
171 
183  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
184 
196  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
197 
209  inline ListDelegatedServicesForAccountRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
210 
211  private:
212 
213  Aws::String m_accountId;
214  bool m_accountIdHasBeenSet;
215 
216  Aws::String m_nextToken;
217  bool m_nextTokenHasBeenSet;
218 
219  int m_maxResults;
220  bool m_maxResultsHasBeenSet;
221  };
222 
223 } // namespace Model
224 } // namespace Organizations
225 } // namespace Aws
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::SetAccountId
void SetAccountId(const char *value)
Definition: ListDelegatedServicesForAccountRequest.h:65
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDelegatedServicesForAccountRequest.h:30
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: ListDelegatedServicesForAccountRequest.h:47
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListDelegatedServicesForAccountRequest.h:183
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::WithAccountId
ListDelegatedServicesForAccountRequest & WithAccountId(const char *value)
Definition: ListDelegatedServicesForAccountRequest.h:83
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::WithAccountId
ListDelegatedServicesForAccountRequest & WithAccountId(Aws::String &&value)
Definition: ListDelegatedServicesForAccountRequest.h:77
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: ListDelegatedServicesForAccountRequest.h:59
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::GetMaxResults
int GetMaxResults() const
Definition: ListDelegatedServicesForAccountRequest.h:170
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::WithNextToken
ListDelegatedServicesForAccountRequest & WithNextToken(const Aws::String &value)
Definition: ListDelegatedServicesForAccountRequest.h:138
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDelegatedServicesForAccountRequest.h:111
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::WithMaxResults
ListDelegatedServicesForAccountRequest & WithMaxResults(int value)
Definition: ListDelegatedServicesForAccountRequest.h:209
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::ListDelegatedServicesForAccountRequest
ListDelegatedServicesForAccountRequest()
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDelegatedServicesForAccountRequest.h:102
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDelegatedServicesForAccountRequest.h:93
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDelegatedServicesForAccountRequest.h:129
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListDelegatedServicesForAccountRequest.h:196
AWS_ORGANIZATIONS_API
#define AWS_ORGANIZATIONS_API
Definition: Organizations_EXPORTS.h:28
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: ListDelegatedServicesForAccountRequest.h:41
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::WithNextToken
ListDelegatedServicesForAccountRequest & WithNextToken(Aws::String &&value)
Definition: ListDelegatedServicesForAccountRequest.h:147
Aws::Organizations::OrganizationsRequest
Definition: OrganizationsRequest.h:17
AWSString.h
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: ListDelegatedServicesForAccountRequest.h:53
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDelegatedServicesForAccountRequest.h:120
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::WithNextToken
ListDelegatedServicesForAccountRequest & WithNextToken(const char *value)
Definition: ListDelegatedServicesForAccountRequest.h:156
Aws
Definition: AccessManagementClient.h:15
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest::WithAccountId
ListDelegatedServicesForAccountRequest & WithAccountId(const Aws::String &value)
Definition: ListDelegatedServicesForAccountRequest.h:71
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Organizations_EXPORTS.h
Aws::Organizations::Model::ListDelegatedServicesForAccountRequest
Definition: ListDelegatedServicesForAccountRequest.h:22
OrganizationsRequest.h