AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AcceptDataGrantResult.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dataexchange/model/DataGrantAcceptanceState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/dataexchange/model/GrantDistributionScope.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataExchange
27{
28namespace Model
29{
31 {
32 public:
33 AWS_DATAEXCHANGE_API AcceptDataGrantResult();
36
37
39
42 inline const Aws::String& GetName() const{ return m_name; }
43 inline void SetName(const Aws::String& value) { m_name = value; }
44 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
45 inline void SetName(const char* value) { m_name.assign(value); }
46 inline AcceptDataGrantResult& WithName(const Aws::String& value) { SetName(value); return *this;}
47 inline AcceptDataGrantResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
48 inline AcceptDataGrantResult& WithName(const char* value) { SetName(value); return *this;}
50
52
55 inline const Aws::String& GetSenderPrincipal() const{ return m_senderPrincipal; }
56 inline void SetSenderPrincipal(const Aws::String& value) { m_senderPrincipal = value; }
57 inline void SetSenderPrincipal(Aws::String&& value) { m_senderPrincipal = std::move(value); }
58 inline void SetSenderPrincipal(const char* value) { m_senderPrincipal.assign(value); }
59 inline AcceptDataGrantResult& WithSenderPrincipal(const Aws::String& value) { SetSenderPrincipal(value); return *this;}
60 inline AcceptDataGrantResult& WithSenderPrincipal(Aws::String&& value) { SetSenderPrincipal(std::move(value)); return *this;}
61 inline AcceptDataGrantResult& WithSenderPrincipal(const char* value) { SetSenderPrincipal(value); return *this;}
63
65
68 inline const Aws::String& GetReceiverPrincipal() const{ return m_receiverPrincipal; }
69 inline void SetReceiverPrincipal(const Aws::String& value) { m_receiverPrincipal = value; }
70 inline void SetReceiverPrincipal(Aws::String&& value) { m_receiverPrincipal = std::move(value); }
71 inline void SetReceiverPrincipal(const char* value) { m_receiverPrincipal.assign(value); }
72 inline AcceptDataGrantResult& WithReceiverPrincipal(const Aws::String& value) { SetReceiverPrincipal(value); return *this;}
73 inline AcceptDataGrantResult& WithReceiverPrincipal(Aws::String&& value) { SetReceiverPrincipal(std::move(value)); return *this;}
74 inline AcceptDataGrantResult& WithReceiverPrincipal(const char* value) { SetReceiverPrincipal(value); return *this;}
76
78
81 inline const Aws::String& GetDescription() const{ return m_description; }
82 inline void SetDescription(const Aws::String& value) { m_description = value; }
83 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
84 inline void SetDescription(const char* value) { m_description.assign(value); }
85 inline AcceptDataGrantResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
86 inline AcceptDataGrantResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
87 inline AcceptDataGrantResult& WithDescription(const char* value) { SetDescription(value); return *this;}
89
91
94 inline const DataGrantAcceptanceState& GetAcceptanceState() const{ return m_acceptanceState; }
95 inline void SetAcceptanceState(const DataGrantAcceptanceState& value) { m_acceptanceState = value; }
96 inline void SetAcceptanceState(DataGrantAcceptanceState&& value) { m_acceptanceState = std::move(value); }
98 inline AcceptDataGrantResult& WithAcceptanceState(DataGrantAcceptanceState&& value) { SetAcceptanceState(std::move(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetAcceptedAt() const{ return m_acceptedAt; }
106 inline void SetAcceptedAt(const Aws::Utils::DateTime& value) { m_acceptedAt = value; }
107 inline void SetAcceptedAt(Aws::Utils::DateTime&& value) { m_acceptedAt = std::move(value); }
108 inline AcceptDataGrantResult& WithAcceptedAt(const Aws::Utils::DateTime& value) { SetAcceptedAt(value); return *this;}
109 inline AcceptDataGrantResult& WithAcceptedAt(Aws::Utils::DateTime&& value) { SetAcceptedAt(std::move(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetEndsAt() const{ return m_endsAt; }
117 inline void SetEndsAt(const Aws::Utils::DateTime& value) { m_endsAt = value; }
118 inline void SetEndsAt(Aws::Utils::DateTime&& value) { m_endsAt = std::move(value); }
119 inline AcceptDataGrantResult& WithEndsAt(const Aws::Utils::DateTime& value) { SetEndsAt(value); return *this;}
120 inline AcceptDataGrantResult& WithEndsAt(Aws::Utils::DateTime&& value) { SetEndsAt(std::move(value)); return *this;}
122
124
127 inline const GrantDistributionScope& GetGrantDistributionScope() const{ return m_grantDistributionScope; }
128 inline void SetGrantDistributionScope(const GrantDistributionScope& value) { m_grantDistributionScope = value; }
129 inline void SetGrantDistributionScope(GrantDistributionScope&& value) { m_grantDistributionScope = std::move(value); }
133
135
138 inline const Aws::String& GetDataSetId() const{ return m_dataSetId; }
139 inline void SetDataSetId(const Aws::String& value) { m_dataSetId = value; }
140 inline void SetDataSetId(Aws::String&& value) { m_dataSetId = std::move(value); }
141 inline void SetDataSetId(const char* value) { m_dataSetId.assign(value); }
142 inline AcceptDataGrantResult& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;}
143 inline AcceptDataGrantResult& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;}
144 inline AcceptDataGrantResult& WithDataSetId(const char* value) { SetDataSetId(value); return *this;}
146
148
151 inline const Aws::String& GetId() const{ return m_id; }
152 inline void SetId(const Aws::String& value) { m_id = value; }
153 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
154 inline void SetId(const char* value) { m_id.assign(value); }
155 inline AcceptDataGrantResult& WithId(const Aws::String& value) { SetId(value); return *this;}
156 inline AcceptDataGrantResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
157 inline AcceptDataGrantResult& WithId(const char* value) { SetId(value); return *this;}
159
161
164 inline const Aws::String& GetArn() const{ return m_arn; }
165 inline void SetArn(const Aws::String& value) { m_arn = value; }
166 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
167 inline void SetArn(const char* value) { m_arn.assign(value); }
168 inline AcceptDataGrantResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
169 inline AcceptDataGrantResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
170 inline AcceptDataGrantResult& WithArn(const char* value) { SetArn(value); return *this;}
172
174
177 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
178 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
179 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
180 inline AcceptDataGrantResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
181 inline AcceptDataGrantResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
183
185
188 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
189 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
190 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
191 inline AcceptDataGrantResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
192 inline AcceptDataGrantResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
194
196
197 inline const Aws::String& GetRequestId() const{ return m_requestId; }
198 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
199 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
200 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
201 inline AcceptDataGrantResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
202 inline AcceptDataGrantResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
203 inline AcceptDataGrantResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
205 private:
206
207 Aws::String m_name;
208
209 Aws::String m_senderPrincipal;
210
211 Aws::String m_receiverPrincipal;
212
213 Aws::String m_description;
214
215 DataGrantAcceptanceState m_acceptanceState;
216
217 Aws::Utils::DateTime m_acceptedAt;
218
219 Aws::Utils::DateTime m_endsAt;
220
221 GrantDistributionScope m_grantDistributionScope;
222
223 Aws::String m_dataSetId;
224
225 Aws::String m_id;
226
227 Aws::String m_arn;
228
229 Aws::Utils::DateTime m_createdAt;
230
231 Aws::Utils::DateTime m_updatedAt;
232
233 Aws::String m_requestId;
234 };
235
236} // namespace Model
237} // namespace DataExchange
238} // namespace Aws
AcceptDataGrantResult & WithDataSetId(Aws::String &&value)
AcceptDataGrantResult & WithEndsAt(const Aws::Utils::DateTime &value)
AcceptDataGrantResult & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndsAt() const
AcceptDataGrantResult & WithEndsAt(Aws::Utils::DateTime &&value)
AcceptDataGrantResult & WithAcceptanceState(DataGrantAcceptanceState &&value)
AcceptDataGrantResult & WithDataSetId(const Aws::String &value)
const GrantDistributionScope & GetGrantDistributionScope() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetGrantDistributionScope(const GrantDistributionScope &value)
AcceptDataGrantResult & WithArn(const Aws::String &value)
AcceptDataGrantResult & WithSenderPrincipal(const char *value)
AcceptDataGrantResult & WithDescription(Aws::String &&value)
AcceptDataGrantResult & WithReceiverPrincipal(Aws::String &&value)
AcceptDataGrantResult & WithAcceptedAt(const Aws::Utils::DateTime &value)
AcceptDataGrantResult & WithRequestId(Aws::String &&value)
AcceptDataGrantResult & WithSenderPrincipal(const Aws::String &value)
AcceptDataGrantResult & WithDataSetId(const char *value)
const Aws::Utils::DateTime & GetAcceptedAt() const
void SetAcceptanceState(DataGrantAcceptanceState &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AcceptDataGrantResult & WithArn(const char *value)
void SetEndsAt(const Aws::Utils::DateTime &value)
AcceptDataGrantResult & WithDescription(const Aws::String &value)
AcceptDataGrantResult & WithAcceptedAt(Aws::Utils::DateTime &&value)
void SetGrantDistributionScope(GrantDistributionScope &&value)
const DataGrantAcceptanceState & GetAcceptanceState() const
AWS_DATAEXCHANGE_API AcceptDataGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AcceptDataGrantResult & WithId(const Aws::String &value)
AcceptDataGrantResult & WithReceiverPrincipal(const char *value)
AcceptDataGrantResult & WithGrantDistributionScope(const GrantDistributionScope &value)
AcceptDataGrantResult & WithName(const char *value)
AcceptDataGrantResult & WithAcceptanceState(const DataGrantAcceptanceState &value)
AcceptDataGrantResult & WithId(const char *value)
AcceptDataGrantResult & WithRequestId(const Aws::String &value)
AcceptDataGrantResult & WithDescription(const char *value)
AcceptDataGrantResult & WithId(Aws::String &&value)
AcceptDataGrantResult & WithArn(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
AcceptDataGrantResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
AcceptDataGrantResult & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_DATAEXCHANGE_API AcceptDataGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AcceptDataGrantResult & WithGrantDistributionScope(GrantDistributionScope &&value)
void SetAcceptedAt(const Aws::Utils::DateTime &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
AcceptDataGrantResult & WithSenderPrincipal(Aws::String &&value)
AcceptDataGrantResult & WithName(const Aws::String &value)
AcceptDataGrantResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
AcceptDataGrantResult & WithRequestId(const char *value)
void SetAcceptanceState(const DataGrantAcceptanceState &value)
AcceptDataGrantResult & WithReceiverPrincipal(const Aws::String &value)
AcceptDataGrantResult & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue