AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssetEntry.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/AssetDetails.h>
10#include <aws/dataexchange/model/AssetType.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DataExchange
25{
26namespace Model
27{
28
43 {
44 public:
45 AWS_DATAEXCHANGE_API AssetEntry();
46 AWS_DATAEXCHANGE_API AssetEntry(Aws::Utils::Json::JsonView jsonValue);
47 AWS_DATAEXCHANGE_API AssetEntry& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
55 inline const Aws::String& GetArn() const{ return m_arn; }
56 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
57 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
58 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
59 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
60 inline AssetEntry& WithArn(const Aws::String& value) { SetArn(value); return *this;}
61 inline AssetEntry& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
62 inline AssetEntry& WithArn(const char* value) { SetArn(value); return *this;}
64
66
69 inline const AssetDetails& GetAssetDetails() const{ return m_assetDetails; }
70 inline bool AssetDetailsHasBeenSet() const { return m_assetDetailsHasBeenSet; }
71 inline void SetAssetDetails(const AssetDetails& value) { m_assetDetailsHasBeenSet = true; m_assetDetails = value; }
72 inline void SetAssetDetails(AssetDetails&& value) { m_assetDetailsHasBeenSet = true; m_assetDetails = std::move(value); }
73 inline AssetEntry& WithAssetDetails(const AssetDetails& value) { SetAssetDetails(value); return *this;}
74 inline AssetEntry& WithAssetDetails(AssetDetails&& value) { SetAssetDetails(std::move(value)); return *this;}
76
78
81 inline const AssetType& GetAssetType() const{ return m_assetType; }
82 inline bool AssetTypeHasBeenSet() const { return m_assetTypeHasBeenSet; }
83 inline void SetAssetType(const AssetType& value) { m_assetTypeHasBeenSet = true; m_assetType = value; }
84 inline void SetAssetType(AssetType&& value) { m_assetTypeHasBeenSet = true; m_assetType = std::move(value); }
85 inline AssetEntry& WithAssetType(const AssetType& value) { SetAssetType(value); return *this;}
86 inline AssetEntry& WithAssetType(AssetType&& value) { SetAssetType(std::move(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
94 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
95 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
96 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
97 inline AssetEntry& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
98 inline AssetEntry& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
100
102
105 inline const Aws::String& GetDataSetId() const{ return m_dataSetId; }
106 inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; }
107 inline void SetDataSetId(const Aws::String& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = value; }
108 inline void SetDataSetId(Aws::String&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::move(value); }
109 inline void SetDataSetId(const char* value) { m_dataSetIdHasBeenSet = true; m_dataSetId.assign(value); }
110 inline AssetEntry& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;}
111 inline AssetEntry& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;}
112 inline AssetEntry& WithDataSetId(const char* value) { SetDataSetId(value); return *this;}
114
116
119 inline const Aws::String& GetId() const{ return m_id; }
120 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
121 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
122 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
123 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
124 inline AssetEntry& WithId(const Aws::String& value) { SetId(value); return *this;}
125 inline AssetEntry& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
126 inline AssetEntry& WithId(const char* value) { SetId(value); return *this;}
128
130
139 inline const Aws::String& GetName() const{ return m_name; }
140 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
141 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
142 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
143 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
144 inline AssetEntry& WithName(const Aws::String& value) { SetName(value); return *this;}
145 inline AssetEntry& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
146 inline AssetEntry& WithName(const char* value) { SetName(value); return *this;}
148
150
153 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
154 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
155 inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
156 inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
157 inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
158 inline AssetEntry& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
159 inline AssetEntry& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
160 inline AssetEntry& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
162
164
169 inline const Aws::String& GetSourceId() const{ return m_sourceId; }
170 inline bool SourceIdHasBeenSet() const { return m_sourceIdHasBeenSet; }
171 inline void SetSourceId(const Aws::String& value) { m_sourceIdHasBeenSet = true; m_sourceId = value; }
172 inline void SetSourceId(Aws::String&& value) { m_sourceIdHasBeenSet = true; m_sourceId = std::move(value); }
173 inline void SetSourceId(const char* value) { m_sourceIdHasBeenSet = true; m_sourceId.assign(value); }
174 inline AssetEntry& WithSourceId(const Aws::String& value) { SetSourceId(value); return *this;}
175 inline AssetEntry& WithSourceId(Aws::String&& value) { SetSourceId(std::move(value)); return *this;}
176 inline AssetEntry& WithSourceId(const char* value) { SetSourceId(value); return *this;}
178
180
183 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
184 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
185 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
186 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
187 inline AssetEntry& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
188 inline AssetEntry& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
190 private:
191
192 Aws::String m_arn;
193 bool m_arnHasBeenSet = false;
194
195 AssetDetails m_assetDetails;
196 bool m_assetDetailsHasBeenSet = false;
197
198 AssetType m_assetType;
199 bool m_assetTypeHasBeenSet = false;
200
201 Aws::Utils::DateTime m_createdAt;
202 bool m_createdAtHasBeenSet = false;
203
204 Aws::String m_dataSetId;
205 bool m_dataSetIdHasBeenSet = false;
206
207 Aws::String m_id;
208 bool m_idHasBeenSet = false;
209
210 Aws::String m_name;
211 bool m_nameHasBeenSet = false;
212
213 Aws::String m_revisionId;
214 bool m_revisionIdHasBeenSet = false;
215
216 Aws::String m_sourceId;
217 bool m_sourceIdHasBeenSet = false;
218
219 Aws::Utils::DateTime m_updatedAt;
220 bool m_updatedAtHasBeenSet = false;
221 };
222
223} // namespace Model
224} // namespace DataExchange
225} // namespace Aws
Definition AssetEntry.h:43
AssetEntry & WithRevisionId(const Aws::String &value)
Definition AssetEntry.h:158
AssetEntry & WithAssetType(AssetType &&value)
Definition AssetEntry.h:86
const Aws::Utils::DateTime & GetCreatedAt() const
Definition AssetEntry.h:93
bool ArnHasBeenSet() const
Definition AssetEntry.h:56
AWS_DATAEXCHANGE_API AssetEntry()
void SetDataSetId(const char *value)
Definition AssetEntry.h:109
AssetEntry & WithArn(Aws::String &&value)
Definition AssetEntry.h:61
bool IdHasBeenSet() const
Definition AssetEntry.h:120
const Aws::String & GetArn() const
Definition AssetEntry.h:55
AssetEntry & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition AssetEntry.h:188
void SetDataSetId(Aws::String &&value)
Definition AssetEntry.h:108
AssetEntry & WithDataSetId(Aws::String &&value)
Definition AssetEntry.h:111
AssetEntry & WithArn(const Aws::String &value)
Definition AssetEntry.h:60
void SetName(Aws::String &&value)
Definition AssetEntry.h:142
void SetRevisionId(const Aws::String &value)
Definition AssetEntry.h:155
void SetSourceId(Aws::String &&value)
Definition AssetEntry.h:172
AssetEntry & WithRevisionId(const char *value)
Definition AssetEntry.h:160
AssetEntry & WithDataSetId(const char *value)
Definition AssetEntry.h:112
void SetId(const Aws::String &value)
Definition AssetEntry.h:121
AssetEntry & WithId(const char *value)
Definition AssetEntry.h:126
const Aws::String & GetSourceId() const
Definition AssetEntry.h:169
AssetEntry & WithSourceId(Aws::String &&value)
Definition AssetEntry.h:175
const Aws::String & GetName() const
Definition AssetEntry.h:139
void SetArn(const Aws::String &value)
Definition AssetEntry.h:57
void SetName(const Aws::String &value)
Definition AssetEntry.h:141
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition AssetEntry.h:185
bool NameHasBeenSet() const
Definition AssetEntry.h:140
bool AssetDetailsHasBeenSet() const
Definition AssetEntry.h:70
const AssetType & GetAssetType() const
Definition AssetEntry.h:81
AssetEntry & WithId(Aws::String &&value)
Definition AssetEntry.h:125
void SetArn(Aws::String &&value)
Definition AssetEntry.h:58
AssetEntry & WithArn(const char *value)
Definition AssetEntry.h:62
const Aws::String & GetId() const
Definition AssetEntry.h:119
bool AssetTypeHasBeenSet() const
Definition AssetEntry.h:82
AssetEntry & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition AssetEntry.h:97
void SetAssetType(const AssetType &value)
Definition AssetEntry.h:83
void SetDataSetId(const Aws::String &value)
Definition AssetEntry.h:107
void SetSourceId(const char *value)
Definition AssetEntry.h:173
AWS_DATAEXCHANGE_API AssetEntry(Aws::Utils::Json::JsonView jsonValue)
bool DataSetIdHasBeenSet() const
Definition AssetEntry.h:106
void SetAssetDetails(AssetDetails &&value)
Definition AssetEntry.h:72
AssetEntry & WithName(const char *value)
Definition AssetEntry.h:146
void SetSourceId(const Aws::String &value)
Definition AssetEntry.h:171
AssetEntry & WithSourceId(const Aws::String &value)
Definition AssetEntry.h:174
AssetEntry & WithAssetDetails(AssetDetails &&value)
Definition AssetEntry.h:74
AssetEntry & WithAssetDetails(const AssetDetails &value)
Definition AssetEntry.h:73
const AssetDetails & GetAssetDetails() const
Definition AssetEntry.h:69
void SetId(Aws::String &&value)
Definition AssetEntry.h:122
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition AssetEntry.h:95
bool CreatedAtHasBeenSet() const
Definition AssetEntry.h:94
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition AssetEntry.h:186
AssetEntry & WithRevisionId(Aws::String &&value)
Definition AssetEntry.h:159
AssetEntry & WithName(Aws::String &&value)
Definition AssetEntry.h:145
AWS_DATAEXCHANGE_API AssetEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const char *value)
Definition AssetEntry.h:143
AssetEntry & WithId(const Aws::String &value)
Definition AssetEntry.h:124
void SetAssetDetails(const AssetDetails &value)
Definition AssetEntry.h:71
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition AssetEntry.h:183
AssetEntry & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition AssetEntry.h:187
void SetArn(const char *value)
Definition AssetEntry.h:59
void SetRevisionId(Aws::String &&value)
Definition AssetEntry.h:156
bool SourceIdHasBeenSet() const
Definition AssetEntry.h:170
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
bool RevisionIdHasBeenSet() const
Definition AssetEntry.h:154
bool UpdatedAtHasBeenSet() const
Definition AssetEntry.h:184
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition AssetEntry.h:96
const Aws::String & GetRevisionId() const
Definition AssetEntry.h:153
const Aws::String & GetDataSetId() const
Definition AssetEntry.h:105
void SetId(const char *value)
Definition AssetEntry.h:123
AssetEntry & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition AssetEntry.h:98
void SetAssetType(AssetType &&value)
Definition AssetEntry.h:84
AssetEntry & WithSourceId(const char *value)
Definition AssetEntry.h:176
AssetEntry & WithName(const Aws::String &value)
Definition AssetEntry.h:144
void SetRevisionId(const char *value)
Definition AssetEntry.h:157
AssetEntry & WithAssetType(const AssetType &value)
Definition AssetEntry.h:85
AssetEntry & WithDataSetId(const Aws::String &value)
Definition AssetEntry.h:110
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue