AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceShareInvitation.h
1
6#pragma once
7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ram/model/ResourceShareInvitationStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace RAM
24{
25namespace Model
26{
27
35 {
36 public:
41
42
44
49 inline const Aws::String& GetResourceShareInvitationArn() const{ return m_resourceShareInvitationArn; }
50 inline bool ResourceShareInvitationArnHasBeenSet() const { return m_resourceShareInvitationArnHasBeenSet; }
51 inline void SetResourceShareInvitationArn(const Aws::String& value) { m_resourceShareInvitationArnHasBeenSet = true; m_resourceShareInvitationArn = value; }
52 inline void SetResourceShareInvitationArn(Aws::String&& value) { m_resourceShareInvitationArnHasBeenSet = true; m_resourceShareInvitationArn = std::move(value); }
53 inline void SetResourceShareInvitationArn(const char* value) { m_resourceShareInvitationArnHasBeenSet = true; m_resourceShareInvitationArn.assign(value); }
58
60
63 inline const Aws::String& GetResourceShareName() const{ return m_resourceShareName; }
64 inline bool ResourceShareNameHasBeenSet() const { return m_resourceShareNameHasBeenSet; }
65 inline void SetResourceShareName(const Aws::String& value) { m_resourceShareNameHasBeenSet = true; m_resourceShareName = value; }
66 inline void SetResourceShareName(Aws::String&& value) { m_resourceShareNameHasBeenSet = true; m_resourceShareName = std::move(value); }
67 inline void SetResourceShareName(const char* value) { m_resourceShareNameHasBeenSet = true; m_resourceShareName.assign(value); }
69 inline ResourceShareInvitation& WithResourceShareName(Aws::String&& value) { SetResourceShareName(std::move(value)); return *this;}
70 inline ResourceShareInvitation& WithResourceShareName(const char* value) { SetResourceShareName(value); return *this;}
72
74
79 inline const Aws::String& GetResourceShareArn() const{ return m_resourceShareArn; }
80 inline bool ResourceShareArnHasBeenSet() const { return m_resourceShareArnHasBeenSet; }
81 inline void SetResourceShareArn(const Aws::String& value) { m_resourceShareArnHasBeenSet = true; m_resourceShareArn = value; }
82 inline void SetResourceShareArn(Aws::String&& value) { m_resourceShareArnHasBeenSet = true; m_resourceShareArn = std::move(value); }
83 inline void SetResourceShareArn(const char* value) { m_resourceShareArnHasBeenSet = true; m_resourceShareArn.assign(value); }
84 inline ResourceShareInvitation& WithResourceShareArn(const Aws::String& value) { SetResourceShareArn(value); return *this;}
85 inline ResourceShareInvitation& WithResourceShareArn(Aws::String&& value) { SetResourceShareArn(std::move(value)); return *this;}
86 inline ResourceShareInvitation& WithResourceShareArn(const char* value) { SetResourceShareArn(value); return *this;}
88
90
93 inline const Aws::String& GetSenderAccountId() const{ return m_senderAccountId; }
94 inline bool SenderAccountIdHasBeenSet() const { return m_senderAccountIdHasBeenSet; }
95 inline void SetSenderAccountId(const Aws::String& value) { m_senderAccountIdHasBeenSet = true; m_senderAccountId = value; }
96 inline void SetSenderAccountId(Aws::String&& value) { m_senderAccountIdHasBeenSet = true; m_senderAccountId = std::move(value); }
97 inline void SetSenderAccountId(const char* value) { m_senderAccountIdHasBeenSet = true; m_senderAccountId.assign(value); }
98 inline ResourceShareInvitation& WithSenderAccountId(const Aws::String& value) { SetSenderAccountId(value); return *this;}
99 inline ResourceShareInvitation& WithSenderAccountId(Aws::String&& value) { SetSenderAccountId(std::move(value)); return *this;}
100 inline ResourceShareInvitation& WithSenderAccountId(const char* value) { SetSenderAccountId(value); return *this;}
102
104
107 inline const Aws::String& GetReceiverAccountId() const{ return m_receiverAccountId; }
108 inline bool ReceiverAccountIdHasBeenSet() const { return m_receiverAccountIdHasBeenSet; }
109 inline void SetReceiverAccountId(const Aws::String& value) { m_receiverAccountIdHasBeenSet = true; m_receiverAccountId = value; }
110 inline void SetReceiverAccountId(Aws::String&& value) { m_receiverAccountIdHasBeenSet = true; m_receiverAccountId = std::move(value); }
111 inline void SetReceiverAccountId(const char* value) { m_receiverAccountIdHasBeenSet = true; m_receiverAccountId.assign(value); }
113 inline ResourceShareInvitation& WithReceiverAccountId(Aws::String&& value) { SetReceiverAccountId(std::move(value)); return *this;}
114 inline ResourceShareInvitation& WithReceiverAccountId(const char* value) { SetReceiverAccountId(value); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetInvitationTimestamp() const{ return m_invitationTimestamp; }
122 inline bool InvitationTimestampHasBeenSet() const { return m_invitationTimestampHasBeenSet; }
123 inline void SetInvitationTimestamp(const Aws::Utils::DateTime& value) { m_invitationTimestampHasBeenSet = true; m_invitationTimestamp = value; }
124 inline void SetInvitationTimestamp(Aws::Utils::DateTime&& value) { m_invitationTimestampHasBeenSet = true; m_invitationTimestamp = std::move(value); }
128
130
133 inline const ResourceShareInvitationStatus& GetStatus() const{ return m_status; }
134 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
135 inline void SetStatus(const ResourceShareInvitationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
136 inline void SetStatus(ResourceShareInvitationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
137 inline ResourceShareInvitation& WithStatus(const ResourceShareInvitationStatus& value) { SetStatus(value); return *this;}
138 inline ResourceShareInvitation& WithStatus(ResourceShareInvitationStatus&& value) { SetStatus(std::move(value)); return *this;}
140
142
148 inline const Aws::String& GetReceiverArn() const{ return m_receiverArn; }
149 inline bool ReceiverArnHasBeenSet() const { return m_receiverArnHasBeenSet; }
150 inline void SetReceiverArn(const Aws::String& value) { m_receiverArnHasBeenSet = true; m_receiverArn = value; }
151 inline void SetReceiverArn(Aws::String&& value) { m_receiverArnHasBeenSet = true; m_receiverArn = std::move(value); }
152 inline void SetReceiverArn(const char* value) { m_receiverArnHasBeenSet = true; m_receiverArn.assign(value); }
153 inline ResourceShareInvitation& WithReceiverArn(const Aws::String& value) { SetReceiverArn(value); return *this;}
154 inline ResourceShareInvitation& WithReceiverArn(Aws::String&& value) { SetReceiverArn(std::move(value)); return *this;}
155 inline ResourceShareInvitation& WithReceiverArn(const char* value) { SetReceiverArn(value); return *this;}
157 private:
158
159 Aws::String m_resourceShareInvitationArn;
160 bool m_resourceShareInvitationArnHasBeenSet = false;
161
162 Aws::String m_resourceShareName;
163 bool m_resourceShareNameHasBeenSet = false;
164
165 Aws::String m_resourceShareArn;
166 bool m_resourceShareArnHasBeenSet = false;
167
168 Aws::String m_senderAccountId;
169 bool m_senderAccountIdHasBeenSet = false;
170
171 Aws::String m_receiverAccountId;
172 bool m_receiverAccountIdHasBeenSet = false;
173
174 Aws::Utils::DateTime m_invitationTimestamp;
175 bool m_invitationTimestampHasBeenSet = false;
176
178 bool m_statusHasBeenSet = false;
179
180 Aws::String m_receiverArn;
181 bool m_receiverArnHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace RAM
186} // namespace Aws
void SetStatus(const ResourceShareInvitationStatus &value)
ResourceShareInvitation & WithSenderAccountId(Aws::String &&value)
ResourceShareInvitation & WithSenderAccountId(const char *value)
ResourceShareInvitation & WithResourceShareInvitationArn(Aws::String &&value)
void SetReceiverAccountId(const Aws::String &value)
ResourceShareInvitation & WithStatus(const ResourceShareInvitationStatus &value)
void SetResourceShareArn(const Aws::String &value)
AWS_RAM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetResourceShareInvitationArn() const
void SetInvitationTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetInvitationTimestamp() const
ResourceShareInvitation & WithReceiverArn(const Aws::String &value)
ResourceShareInvitation & WithReceiverAccountId(const char *value)
ResourceShareInvitation & WithStatus(ResourceShareInvitationStatus &&value)
ResourceShareInvitation & WithReceiverArn(Aws::String &&value)
ResourceShareInvitation & WithResourceShareName(const char *value)
void SetInvitationTimestamp(Aws::Utils::DateTime &&value)
ResourceShareInvitation & WithResourceShareArn(Aws::String &&value)
ResourceShareInvitation & WithResourceShareName(const Aws::String &value)
void SetResourceShareName(const Aws::String &value)
ResourceShareInvitation & WithResourceShareArn(const char *value)
ResourceShareInvitation & WithResourceShareInvitationArn(const Aws::String &value)
ResourceShareInvitation & WithResourceShareArn(const Aws::String &value)
ResourceShareInvitation & WithResourceShareName(Aws::String &&value)
void SetResourceShareInvitationArn(const Aws::String &value)
void SetResourceShareInvitationArn(Aws::String &&value)
ResourceShareInvitation & WithReceiverAccountId(const Aws::String &value)
void SetSenderAccountId(const Aws::String &value)
void SetStatus(ResourceShareInvitationStatus &&value)
const ResourceShareInvitationStatus & GetStatus() const
ResourceShareInvitation & WithInvitationTimestamp(Aws::Utils::DateTime &&value)
ResourceShareInvitation & WithReceiverAccountId(Aws::String &&value)
ResourceShareInvitation & WithInvitationTimestamp(const Aws::Utils::DateTime &value)
ResourceShareInvitation & WithResourceShareInvitationArn(const char *value)
ResourceShareInvitation & WithReceiverArn(const char *value)
ResourceShareInvitation & WithSenderAccountId(const Aws::String &value)
AWS_RAM_API ResourceShareInvitation(Aws::Utils::Json::JsonView jsonValue)
AWS_RAM_API ResourceShareInvitation & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue