AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReceivedDataGrantSummariesEntry.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DataExchange
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DATAEXCHANGE_API ReceivedDataGrantSummariesEntry();
39 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline ReceivedDataGrantSummariesEntry& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline ReceivedDataGrantSummariesEntry& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline ReceivedDataGrantSummariesEntry& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetSenderPrincipal() const{ return m_senderPrincipal; }
61 inline bool SenderPrincipalHasBeenSet() const { return m_senderPrincipalHasBeenSet; }
62 inline void SetSenderPrincipal(const Aws::String& value) { m_senderPrincipalHasBeenSet = true; m_senderPrincipal = value; }
63 inline void SetSenderPrincipal(Aws::String&& value) { m_senderPrincipalHasBeenSet = true; m_senderPrincipal = std::move(value); }
64 inline void SetSenderPrincipal(const char* value) { m_senderPrincipalHasBeenSet = true; m_senderPrincipal.assign(value); }
66 inline ReceivedDataGrantSummariesEntry& WithSenderPrincipal(Aws::String&& value) { SetSenderPrincipal(std::move(value)); return *this;}
67 inline ReceivedDataGrantSummariesEntry& WithSenderPrincipal(const char* value) { SetSenderPrincipal(value); return *this;}
69
71
74 inline const Aws::String& GetReceiverPrincipal() const{ return m_receiverPrincipal; }
75 inline bool ReceiverPrincipalHasBeenSet() const { return m_receiverPrincipalHasBeenSet; }
76 inline void SetReceiverPrincipal(const Aws::String& value) { m_receiverPrincipalHasBeenSet = true; m_receiverPrincipal = value; }
77 inline void SetReceiverPrincipal(Aws::String&& value) { m_receiverPrincipalHasBeenSet = true; m_receiverPrincipal = std::move(value); }
78 inline void SetReceiverPrincipal(const char* value) { m_receiverPrincipalHasBeenSet = true; m_receiverPrincipal.assign(value); }
81 inline ReceivedDataGrantSummariesEntry& WithReceiverPrincipal(const char* value) { SetReceiverPrincipal(value); return *this;}
83
85
88 inline const DataGrantAcceptanceState& GetAcceptanceState() const{ return m_acceptanceState; }
89 inline bool AcceptanceStateHasBeenSet() const { return m_acceptanceStateHasBeenSet; }
90 inline void SetAcceptanceState(const DataGrantAcceptanceState& value) { m_acceptanceStateHasBeenSet = true; m_acceptanceState = value; }
91 inline void SetAcceptanceState(DataGrantAcceptanceState&& value) { m_acceptanceStateHasBeenSet = true; m_acceptanceState = std::move(value); }
95
97
100 inline const Aws::Utils::DateTime& GetAcceptedAt() const{ return m_acceptedAt; }
101 inline bool AcceptedAtHasBeenSet() const { return m_acceptedAtHasBeenSet; }
102 inline void SetAcceptedAt(const Aws::Utils::DateTime& value) { m_acceptedAtHasBeenSet = true; m_acceptedAt = value; }
103 inline void SetAcceptedAt(Aws::Utils::DateTime&& value) { m_acceptedAtHasBeenSet = true; m_acceptedAt = std::move(value); }
105 inline ReceivedDataGrantSummariesEntry& WithAcceptedAt(Aws::Utils::DateTime&& value) { SetAcceptedAt(std::move(value)); return *this;}
107
109
112 inline const Aws::Utils::DateTime& GetEndsAt() const{ return m_endsAt; }
113 inline bool EndsAtHasBeenSet() const { return m_endsAtHasBeenSet; }
114 inline void SetEndsAt(const Aws::Utils::DateTime& value) { m_endsAtHasBeenSet = true; m_endsAt = value; }
115 inline void SetEndsAt(Aws::Utils::DateTime&& value) { m_endsAtHasBeenSet = true; m_endsAt = std::move(value); }
116 inline ReceivedDataGrantSummariesEntry& WithEndsAt(const Aws::Utils::DateTime& value) { SetEndsAt(value); return *this;}
117 inline ReceivedDataGrantSummariesEntry& WithEndsAt(Aws::Utils::DateTime&& value) { SetEndsAt(std::move(value)); return *this;}
119
121
124 inline const Aws::String& GetDataSetId() const{ return m_dataSetId; }
125 inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; }
126 inline void SetDataSetId(const Aws::String& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = value; }
127 inline void SetDataSetId(Aws::String&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::move(value); }
128 inline void SetDataSetId(const char* value) { m_dataSetIdHasBeenSet = true; m_dataSetId.assign(value); }
129 inline ReceivedDataGrantSummariesEntry& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;}
130 inline ReceivedDataGrantSummariesEntry& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;}
131 inline ReceivedDataGrantSummariesEntry& WithDataSetId(const char* value) { SetDataSetId(value); return *this;}
133
135
138 inline const Aws::String& GetId() const{ return m_id; }
139 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
140 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
141 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
142 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
143 inline ReceivedDataGrantSummariesEntry& WithId(const Aws::String& value) { SetId(value); return *this;}
144 inline ReceivedDataGrantSummariesEntry& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
145 inline ReceivedDataGrantSummariesEntry& WithId(const char* value) { SetId(value); return *this;}
147
149
152 inline const Aws::String& GetArn() const{ return m_arn; }
153 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
154 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
155 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
156 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
157 inline ReceivedDataGrantSummariesEntry& WithArn(const Aws::String& value) { SetArn(value); return *this;}
158 inline ReceivedDataGrantSummariesEntry& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
159 inline ReceivedDataGrantSummariesEntry& WithArn(const char* value) { SetArn(value); return *this;}
161
163
166 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
167 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
168 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
169 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
171 inline ReceivedDataGrantSummariesEntry& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
173
175
178 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
179 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
180 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
181 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
183 inline ReceivedDataGrantSummariesEntry& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
185 private:
186
187 Aws::String m_name;
188 bool m_nameHasBeenSet = false;
189
190 Aws::String m_senderPrincipal;
191 bool m_senderPrincipalHasBeenSet = false;
192
193 Aws::String m_receiverPrincipal;
194 bool m_receiverPrincipalHasBeenSet = false;
195
196 DataGrantAcceptanceState m_acceptanceState;
197 bool m_acceptanceStateHasBeenSet = false;
198
199 Aws::Utils::DateTime m_acceptedAt;
200 bool m_acceptedAtHasBeenSet = false;
201
202 Aws::Utils::DateTime m_endsAt;
203 bool m_endsAtHasBeenSet = false;
204
205 Aws::String m_dataSetId;
206 bool m_dataSetIdHasBeenSet = false;
207
208 Aws::String m_id;
209 bool m_idHasBeenSet = false;
210
211 Aws::String m_arn;
212 bool m_arnHasBeenSet = false;
213
214 Aws::Utils::DateTime m_createdAt;
215 bool m_createdAtHasBeenSet = false;
216
217 Aws::Utils::DateTime m_updatedAt;
218 bool m_updatedAtHasBeenSet = false;
219 };
220
221} // namespace Model
222} // namespace DataExchange
223} // namespace Aws
void SetReceiverPrincipal(Aws::String &&value)
ReceivedDataGrantSummariesEntry & WithSenderPrincipal(const Aws::String &value)
void SetName(const Aws::String &value)
ReceivedDataGrantSummariesEntry & WithId(const char *value)
void SetSenderPrincipal(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetReceiverPrincipal() const
void SetId(const Aws::String &value)
AWS_DATAEXCHANGE_API ReceivedDataGrantSummariesEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetArn(const Aws::String &value)
void SetDataSetId(Aws::String &&value)
ReceivedDataGrantSummariesEntry & WithReceiverPrincipal(const Aws::String &value)
ReceivedDataGrantSummariesEntry & WithDataSetId(const Aws::String &value)
void SetEndsAt(Aws::Utils::DateTime &&value)
ReceivedDataGrantSummariesEntry & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetReceiverPrincipal(const char *value)
bool SenderPrincipalHasBeenSet() const
ReceivedDataGrantSummariesEntry & WithName(const char *value)
ReceivedDataGrantSummariesEntry & WithSenderPrincipal(Aws::String &&value)
void SetId(const char *value)
bool ArnHasBeenSet() const
ReceivedDataGrantSummariesEntry & WithReceiverPrincipal(Aws::String &&value)
ReceivedDataGrantSummariesEntry & WithCreatedAt(Aws::Utils::DateTime &&value)
ReceivedDataGrantSummariesEntry & WithEndsAt(Aws::Utils::DateTime &&value)
void SetAcceptanceState(DataGrantAcceptanceState &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool CreatedAtHasBeenSet() const
const Aws::String & GetSenderPrincipal() const
ReceivedDataGrantSummariesEntry & WithId(const Aws::String &value)
void SetEndsAt(const Aws::Utils::DateTime &value)
bool AcceptanceStateHasBeenSet() const
void SetArn(Aws::String &&value)
bool AcceptedAtHasBeenSet() const
void SetName(const char *value)
void SetName(Aws::String &&value)
ReceivedDataGrantSummariesEntry & WithAcceptanceState(const DataGrantAcceptanceState &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetDataSetId(const char *value)
void SetSenderPrincipal(const char *value)
ReceivedDataGrantSummariesEntry & WithDataSetId(Aws::String &&value)
AWS_DATAEXCHANGE_API ReceivedDataGrantSummariesEntry()
ReceivedDataGrantSummariesEntry & WithId(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetAcceptedAt(const Aws::Utils::DateTime &value)
ReceivedDataGrantSummariesEntry & WithAcceptedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetArn() const
void SetId(Aws::String &&value)
ReceivedDataGrantSummariesEntry & WithReceiverPrincipal(const char *value)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
ReceivedDataGrantSummariesEntry & WithAcceptanceState(DataGrantAcceptanceState &&value)
bool ReceiverPrincipalHasBeenSet() const
ReceivedDataGrantSummariesEntry & WithEndsAt(const Aws::Utils::DateTime &value)
ReceivedDataGrantSummariesEntry & WithName(Aws::String &&value)
void SetDataSetId(const Aws::String &value)
void SetArn(const char *value)
bool NameHasBeenSet() const
const Aws::String & GetDataSetId() const
void SetAcceptanceState(const DataGrantAcceptanceState &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
ReceivedDataGrantSummariesEntry & WithDataSetId(const char *value)
AWS_DATAEXCHANGE_API ReceivedDataGrantSummariesEntry(Aws::Utils::Json::JsonView jsonValue)
void SetAcceptedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndsAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetSenderPrincipal(Aws::String &&value)
ReceivedDataGrantSummariesEntry & WithCreatedAt(const Aws::Utils::DateTime &value)
ReceivedDataGrantSummariesEntry & WithAcceptedAt(const Aws::Utils::DateTime &value)
ReceivedDataGrantSummariesEntry & WithArn(Aws::String &&value)
const Aws::Utils::DateTime & GetAcceptedAt() const
ReceivedDataGrantSummariesEntry & WithUpdatedAt(Aws::Utils::DateTime &&value)
bool DataSetIdHasBeenSet() const
const Aws::String & GetId() const
ReceivedDataGrantSummariesEntry & WithArn(const char *value)
bool IdHasBeenSet() const
const DataGrantAcceptanceState & GetAcceptanceState() const
ReceivedDataGrantSummariesEntry & WithArn(const Aws::String &value)
bool EndsAtHasBeenSet() const
bool UpdatedAtHasBeenSet() const
ReceivedDataGrantSummariesEntry & WithSenderPrincipal(const char *value)
void SetReceiverPrincipal(const Aws::String &value)
ReceivedDataGrantSummariesEntry & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue