AWS SDK for C++  1.9.158
AWS SDK for C++
ListPendingInvitationResourcesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ram/RAM_EXPORTS.h>
8 #include <aws/ram/RAMRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace RAM
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 "ListPendingInvitationResources"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
42  inline const Aws::String& GetResourceShareInvitationArn() const{ return m_resourceShareInvitationArn; }
43 
50  inline bool ResourceShareInvitationArnHasBeenSet() const { return m_resourceShareInvitationArnHasBeenSet; }
51 
58  inline void SetResourceShareInvitationArn(const Aws::String& value) { m_resourceShareInvitationArnHasBeenSet = true; m_resourceShareInvitationArn = value; }
59 
66  inline void SetResourceShareInvitationArn(Aws::String&& value) { m_resourceShareInvitationArnHasBeenSet = true; m_resourceShareInvitationArn = std::move(value); }
67 
74  inline void SetResourceShareInvitationArn(const char* value) { m_resourceShareInvitationArnHasBeenSet = true; m_resourceShareInvitationArn.assign(value); }
75 
82  inline ListPendingInvitationResourcesRequest& WithResourceShareInvitationArn(const Aws::String& value) { SetResourceShareInvitationArn(value); return *this;}
83 
90  inline ListPendingInvitationResourcesRequest& WithResourceShareInvitationArn(Aws::String&& value) { SetResourceShareInvitationArn(std::move(value)); return *this;}
91 
98  inline ListPendingInvitationResourcesRequest& WithResourceShareInvitationArn(const char* value) { SetResourceShareInvitationArn(value); return *this;}
99 
100 
108  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
109 
117  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
118 
126  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
127 
135  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
136 
144  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
145 
153  inline ListPendingInvitationResourcesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
154 
162  inline ListPendingInvitationResourcesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
163 
171  inline ListPendingInvitationResourcesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
172 
173 
185  inline int GetMaxResults() const{ return m_maxResults; }
186 
198  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
199 
211  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
212 
224  inline ListPendingInvitationResourcesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
225 
226 
236  inline const ResourceRegionScopeFilter& GetResourceRegionScope() const{ return m_resourceRegionScope; }
237 
247  inline bool ResourceRegionScopeHasBeenSet() const { return m_resourceRegionScopeHasBeenSet; }
248 
258  inline void SetResourceRegionScope(const ResourceRegionScopeFilter& value) { m_resourceRegionScopeHasBeenSet = true; m_resourceRegionScope = value; }
259 
269  inline void SetResourceRegionScope(ResourceRegionScopeFilter&& value) { m_resourceRegionScopeHasBeenSet = true; m_resourceRegionScope = std::move(value); }
270 
280  inline ListPendingInvitationResourcesRequest& WithResourceRegionScope(const ResourceRegionScopeFilter& value) { SetResourceRegionScope(value); return *this;}
281 
291  inline ListPendingInvitationResourcesRequest& WithResourceRegionScope(ResourceRegionScopeFilter&& value) { SetResourceRegionScope(std::move(value)); return *this;}
292 
293  private:
294 
295  Aws::String m_resourceShareInvitationArn;
296  bool m_resourceShareInvitationArnHasBeenSet;
297 
298  Aws::String m_nextToken;
299  bool m_nextTokenHasBeenSet;
300 
301  int m_maxResults;
302  bool m_maxResultsHasBeenSet;
303 
304  ResourceRegionScopeFilter m_resourceRegionScope;
305  bool m_resourceRegionScopeHasBeenSet;
306  };
307 
308 } // namespace Model
309 } // namespace RAM
310 } // namespace Aws
Aws::RAM::Model::ListPendingInvitationResourcesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPendingInvitationResourcesRequest.h:108
Aws::RAM::Model::ListPendingInvitationResourcesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListPendingInvitationResourcesRequest.h:198
Aws::RAM::Model::ListPendingInvitationResourcesRequest::WithResourceRegionScope
ListPendingInvitationResourcesRequest & WithResourceRegionScope(const ResourceRegionScopeFilter &value)
Definition: ListPendingInvitationResourcesRequest.h:280
Aws::RAM::Model::ListPendingInvitationResourcesRequest::WithResourceShareInvitationArn
ListPendingInvitationResourcesRequest & WithResourceShareInvitationArn(const char *value)
Definition: ListPendingInvitationResourcesRequest.h:98
Aws::RAM::Model::ListPendingInvitationResourcesRequest::GetResourceRegionScope
const ResourceRegionScopeFilter & GetResourceRegionScope() const
Definition: ListPendingInvitationResourcesRequest.h:236
Aws::RAM::Model::ListPendingInvitationResourcesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListPendingInvitationResourcesRequest.h:144
Aws::RAM::Model::ListPendingInvitationResourcesRequest::WithResourceShareInvitationArn
ListPendingInvitationResourcesRequest & WithResourceShareInvitationArn(const Aws::String &value)
Definition: ListPendingInvitationResourcesRequest.h:82
Aws::RAM::Model::ListPendingInvitationResourcesRequest::GetResourceShareInvitationArn
const Aws::String & GetResourceShareInvitationArn() const
Definition: ListPendingInvitationResourcesRequest.h:42
RAMRequest.h
Aws::RAM::Model::ListPendingInvitationResourcesRequest::SetResourceShareInvitationArn
void SetResourceShareInvitationArn(const char *value)
Definition: ListPendingInvitationResourcesRequest.h:74
Aws::RAM::Model::ListPendingInvitationResourcesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPendingInvitationResourcesRequest.h:135
Aws::RAM::Model::ResourceRegionScopeFilter
ResourceRegionScopeFilter
Definition: ResourceRegionScopeFilter.h:17
Aws::RAM::Model::ListPendingInvitationResourcesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListPendingInvitationResourcesRequest.h:31
Aws::RAM::Model::ListPendingInvitationResourcesRequest::SetResourceShareInvitationArn
void SetResourceShareInvitationArn(const Aws::String &value)
Definition: ListPendingInvitationResourcesRequest.h:58
Aws::RAM::Model::ListPendingInvitationResourcesRequest::SetResourceShareInvitationArn
void SetResourceShareInvitationArn(Aws::String &&value)
Definition: ListPendingInvitationResourcesRequest.h:66
Aws::RAM::Model::ListPendingInvitationResourcesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListPendingInvitationResourcesRequest.h:117
Aws::RAM::Model::ListPendingInvitationResourcesRequest::WithMaxResults
ListPendingInvitationResourcesRequest & WithMaxResults(int value)
Definition: ListPendingInvitationResourcesRequest.h:224
Aws::RAM::Model::ListPendingInvitationResourcesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPendingInvitationResourcesRequest.h:126
Aws::RAM::Model::ListPendingInvitationResourcesRequest::WithNextToken
ListPendingInvitationResourcesRequest & WithNextToken(const Aws::String &value)
Definition: ListPendingInvitationResourcesRequest.h:153
AWSString.h
RAM_EXPORTS.h
Aws::RAM::Model::ListPendingInvitationResourcesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RAM::Model::ListPendingInvitationResourcesRequest::WithNextToken
ListPendingInvitationResourcesRequest & WithNextToken(Aws::String &&value)
Definition: ListPendingInvitationResourcesRequest.h:162
Aws::RAM::Model::ListPendingInvitationResourcesRequest
Definition: ListPendingInvitationResourcesRequest.h:23
Aws::RAM::Model::ListPendingInvitationResourcesRequest::WithResourceRegionScope
ListPendingInvitationResourcesRequest & WithResourceRegionScope(ResourceRegionScopeFilter &&value)
Definition: ListPendingInvitationResourcesRequest.h:291
Aws::RAM::Model::ListPendingInvitationResourcesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListPendingInvitationResourcesRequest.h:185
AWS_RAM_API
#define AWS_RAM_API
Definition: RAM_EXPORTS.h:28
Aws::RAM::Model::ListPendingInvitationResourcesRequest::SetResourceRegionScope
void SetResourceRegionScope(const ResourceRegionScopeFilter &value)
Definition: ListPendingInvitationResourcesRequest.h:258
Aws::RAM::Model::ListPendingInvitationResourcesRequest::ListPendingInvitationResourcesRequest
ListPendingInvitationResourcesRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::RAM::Model::ListPendingInvitationResourcesRequest::WithNextToken
ListPendingInvitationResourcesRequest & WithNextToken(const char *value)
Definition: ListPendingInvitationResourcesRequest.h:171
Aws::RAM::Model::ListPendingInvitationResourcesRequest::ResourceShareInvitationArnHasBeenSet
bool ResourceShareInvitationArnHasBeenSet() const
Definition: ListPendingInvitationResourcesRequest.h:50
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RAM::Model::ListPendingInvitationResourcesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListPendingInvitationResourcesRequest.h:211
Aws::RAM::Model::ListPendingInvitationResourcesRequest::WithResourceShareInvitationArn
ListPendingInvitationResourcesRequest & WithResourceShareInvitationArn(Aws::String &&value)
Definition: ListPendingInvitationResourcesRequest.h:90
ResourceRegionScopeFilter.h
Aws::RAM::Model::ListPendingInvitationResourcesRequest::SetResourceRegionScope
void SetResourceRegionScope(ResourceRegionScopeFilter &&value)
Definition: ListPendingInvitationResourcesRequest.h:269
Aws::RAM::Model::ListPendingInvitationResourcesRequest::ResourceRegionScopeHasBeenSet
bool ResourceRegionScopeHasBeenSet() const
Definition: ListPendingInvitationResourcesRequest.h:247
Aws::RAM::RAMRequest
Definition: RAMRequest.h:17