AWS SDK for C++  1.9.109
AWS SDK for C++
ListHandshakesForOrganizationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Organizations
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "ListHandshakesForOrganization"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
48  inline const HandshakeFilter& GetFilter() const{ return m_filter; }
49 
60  inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
61 
72  inline void SetFilter(const HandshakeFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
73 
84  inline void SetFilter(HandshakeFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
85 
96  inline ListHandshakesForOrganizationRequest& WithFilter(const HandshakeFilter& value) { SetFilter(value); return *this;}
97 
108  inline ListHandshakesForOrganizationRequest& WithFilter(HandshakeFilter&& value) { SetFilter(std::move(value)); return *this;}
109 
110 
118  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
119 
127  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
128 
136  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
137 
145  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
146 
154  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
155 
163  inline ListHandshakesForOrganizationRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
164 
172  inline ListHandshakesForOrganizationRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
173 
181  inline ListHandshakesForOrganizationRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
182 
183 
195  inline int GetMaxResults() const{ return m_maxResults; }
196 
208  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
209 
221  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
222 
234  inline ListHandshakesForOrganizationRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
235 
236  private:
237 
238  HandshakeFilter m_filter;
239  bool m_filterHasBeenSet;
240 
241  Aws::String m_nextToken;
242  bool m_nextTokenHasBeenSet;
243 
244  int m_maxResults;
245  bool m_maxResultsHasBeenSet;
246  };
247 
248 } // namespace Model
249 } // namespace Organizations
250 } // namespace Aws
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::WithNextToken
ListHandshakesForOrganizationRequest & WithNextToken(Aws::String &&value)
Definition: ListHandshakesForOrganizationRequest.h:172
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::WithMaxResults
ListHandshakesForOrganizationRequest & WithMaxResults(int value)
Definition: ListHandshakesForOrganizationRequest.h:234
HandshakeFilter.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListHandshakesForOrganizationRequest.h:136
Aws::Organizations::Model::HandshakeFilter
Definition: HandshakeFilter.h:34
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::WithFilter
ListHandshakesForOrganizationRequest & WithFilter(HandshakeFilter &&value)
Definition: ListHandshakesForOrganizationRequest.h:108
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::GetFilter
const HandshakeFilter & GetFilter() const
Definition: ListHandshakesForOrganizationRequest.h:48
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::GetMaxResults
int GetMaxResults() const
Definition: ListHandshakesForOrganizationRequest.h:195
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::FilterHasBeenSet
bool FilterHasBeenSet() const
Definition: ListHandshakesForOrganizationRequest.h:60
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListHandshakesForOrganizationRequest.h:31
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_ORGANIZATIONS_API
#define AWS_ORGANIZATIONS_API
Definition: Organizations_EXPORTS.h:28
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListHandshakesForOrganizationRequest.h:208
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListHandshakesForOrganizationRequest.h:154
Aws::Organizations::OrganizationsRequest
Definition: OrganizationsRequest.h:17
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::WithNextToken
ListHandshakesForOrganizationRequest & WithNextToken(const Aws::String &value)
Definition: ListHandshakesForOrganizationRequest.h:163
AWSString.h
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::SetFilter
void SetFilter(const HandshakeFilter &value)
Definition: ListHandshakesForOrganizationRequest.h:72
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::WithFilter
ListHandshakesForOrganizationRequest & WithFilter(const HandshakeFilter &value)
Definition: ListHandshakesForOrganizationRequest.h:96
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::SetFilter
void SetFilter(HandshakeFilter &&value)
Definition: ListHandshakesForOrganizationRequest.h:84
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::WithNextToken
ListHandshakesForOrganizationRequest & WithNextToken(const char *value)
Definition: ListHandshakesForOrganizationRequest.h:181
Aws::Organizations::Model::ListHandshakesForOrganizationRequest
Definition: ListHandshakesForOrganizationRequest.h:23
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListHandshakesForOrganizationRequest.h:145
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListHandshakesForOrganizationRequest.h:127
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::ListHandshakesForOrganizationRequest
ListHandshakesForOrganizationRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Organizations_EXPORTS.h
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListHandshakesForOrganizationRequest.h:118
Aws::Organizations::Model::ListHandshakesForOrganizationRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListHandshakesForOrganizationRequest.h:221
OrganizationsRequest.h