AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetResourceShareInvitationsRequest.h
1
6#pragma once
7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/ram/RAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace RAM
16{
17namespace 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 "GetResourceShareInvitations"; }
32
33 AWS_RAM_API Aws::String SerializePayload() const override;
34
35
37
43 inline const Aws::Vector<Aws::String>& GetResourceShareInvitationArns() const{ return m_resourceShareInvitationArns; }
44 inline bool ResourceShareInvitationArnsHasBeenSet() const { return m_resourceShareInvitationArnsHasBeenSet; }
45 inline void SetResourceShareInvitationArns(const Aws::Vector<Aws::String>& value) { m_resourceShareInvitationArnsHasBeenSet = true; m_resourceShareInvitationArns = value; }
46 inline void SetResourceShareInvitationArns(Aws::Vector<Aws::String>&& value) { m_resourceShareInvitationArnsHasBeenSet = true; m_resourceShareInvitationArns = std::move(value); }
49 inline GetResourceShareInvitationsRequest& AddResourceShareInvitationArns(const Aws::String& value) { m_resourceShareInvitationArnsHasBeenSet = true; m_resourceShareInvitationArns.push_back(value); return *this; }
50 inline GetResourceShareInvitationsRequest& AddResourceShareInvitationArns(Aws::String&& value) { m_resourceShareInvitationArnsHasBeenSet = true; m_resourceShareInvitationArns.push_back(std::move(value)); return *this; }
51 inline GetResourceShareInvitationsRequest& AddResourceShareInvitationArns(const char* value) { m_resourceShareInvitationArnsHasBeenSet = true; m_resourceShareInvitationArns.push_back(value); return *this; }
53
55
61 inline const Aws::Vector<Aws::String>& GetResourceShareArns() const{ return m_resourceShareArns; }
62 inline bool ResourceShareArnsHasBeenSet() const { return m_resourceShareArnsHasBeenSet; }
63 inline void SetResourceShareArns(const Aws::Vector<Aws::String>& value) { m_resourceShareArnsHasBeenSet = true; m_resourceShareArns = value; }
64 inline void SetResourceShareArns(Aws::Vector<Aws::String>&& value) { m_resourceShareArnsHasBeenSet = true; m_resourceShareArns = std::move(value); }
67 inline GetResourceShareInvitationsRequest& AddResourceShareArns(const Aws::String& value) { m_resourceShareArnsHasBeenSet = true; m_resourceShareArns.push_back(value); return *this; }
68 inline GetResourceShareInvitationsRequest& AddResourceShareArns(Aws::String&& value) { m_resourceShareArnsHasBeenSet = true; m_resourceShareArns.push_back(std::move(value)); return *this; }
69 inline GetResourceShareInvitationsRequest& AddResourceShareArns(const char* value) { m_resourceShareArnsHasBeenSet = true; m_resourceShareArns.push_back(value); return *this; }
71
73
80 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
81 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
82 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
83 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
84 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
85 inline GetResourceShareInvitationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
86 inline GetResourceShareInvitationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
87 inline GetResourceShareInvitationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
89
91
102 inline int GetMaxResults() const{ return m_maxResults; }
103 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
104 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
105 inline GetResourceShareInvitationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
107 private:
108
109 Aws::Vector<Aws::String> m_resourceShareInvitationArns;
110 bool m_resourceShareInvitationArnsHasBeenSet = false;
111
112 Aws::Vector<Aws::String> m_resourceShareArns;
113 bool m_resourceShareArnsHasBeenSet = false;
114
115 Aws::String m_nextToken;
116 bool m_nextTokenHasBeenSet = false;
117
118 int m_maxResults;
119 bool m_maxResultsHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace RAM
124} // namespace Aws
GetResourceShareInvitationsRequest & WithNextToken(Aws::String &&value)
void SetResourceShareInvitationArns(Aws::Vector< Aws::String > &&value)
AWS_RAM_API Aws::String SerializePayload() const override
GetResourceShareInvitationsRequest & WithResourceShareInvitationArns(Aws::Vector< Aws::String > &&value)
GetResourceShareInvitationsRequest & WithNextToken(const Aws::String &value)
GetResourceShareInvitationsRequest & AddResourceShareArns(const char *value)
GetResourceShareInvitationsRequest & WithNextToken(const char *value)
GetResourceShareInvitationsRequest & AddResourceShareInvitationArns(const char *value)
GetResourceShareInvitationsRequest & AddResourceShareInvitationArns(const Aws::String &value)
const Aws::Vector< Aws::String > & GetResourceShareInvitationArns() const
GetResourceShareInvitationsRequest & WithResourceShareArns(const Aws::Vector< Aws::String > &value)
GetResourceShareInvitationsRequest & WithResourceShareArns(Aws::Vector< Aws::String > &&value)
GetResourceShareInvitationsRequest & WithMaxResults(int value)
GetResourceShareInvitationsRequest & AddResourceShareArns(const Aws::String &value)
void SetResourceShareInvitationArns(const Aws::Vector< Aws::String > &value)
GetResourceShareInvitationsRequest & AddResourceShareArns(Aws::String &&value)
GetResourceShareInvitationsRequest & AddResourceShareInvitationArns(Aws::String &&value)
void SetResourceShareArns(const Aws::Vector< Aws::String > &value)
GetResourceShareInvitationsRequest & WithResourceShareInvitationArns(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector