AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataSetEntry.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/AssetType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/dataexchange/model/Origin.h>
12#include <aws/dataexchange/model/OriginDetails.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace DataExchange
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_DATAEXCHANGE_API DataSetEntry();
40 AWS_DATAEXCHANGE_API DataSetEntry(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DATAEXCHANGE_API DataSetEntry& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline DataSetEntry& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline DataSetEntry& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline DataSetEntry& WithArn(const char* value) { SetArn(value); return *this;}
58
60
63 inline const AssetType& GetAssetType() const{ return m_assetType; }
64 inline bool AssetTypeHasBeenSet() const { return m_assetTypeHasBeenSet; }
65 inline void SetAssetType(const AssetType& value) { m_assetTypeHasBeenSet = true; m_assetType = value; }
66 inline void SetAssetType(AssetType&& value) { m_assetTypeHasBeenSet = true; m_assetType = std::move(value); }
67 inline DataSetEntry& WithAssetType(const AssetType& value) { SetAssetType(value); return *this;}
68 inline DataSetEntry& WithAssetType(AssetType&& value) { SetAssetType(std::move(value)); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
76 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
77 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
78 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
79 inline DataSetEntry& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
80 inline DataSetEntry& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetDescription() const{ return m_description; }
88 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
89 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
90 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
91 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
92 inline DataSetEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
93 inline DataSetEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
94 inline DataSetEntry& WithDescription(const char* value) { SetDescription(value); return *this;}
96
98
101 inline const Aws::String& GetId() const{ return m_id; }
102 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
103 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
104 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
105 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
106 inline DataSetEntry& WithId(const Aws::String& value) { SetId(value); return *this;}
107 inline DataSetEntry& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
108 inline DataSetEntry& WithId(const char* value) { SetId(value); return *this;}
110
112
115 inline const Aws::String& GetName() const{ return m_name; }
116 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
117 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
118 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
119 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
120 inline DataSetEntry& WithName(const Aws::String& value) { SetName(value); return *this;}
121 inline DataSetEntry& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
122 inline DataSetEntry& WithName(const char* value) { SetName(value); return *this;}
124
126
130 inline const Origin& GetOrigin() const{ return m_origin; }
131 inline bool OriginHasBeenSet() const { return m_originHasBeenSet; }
132 inline void SetOrigin(const Origin& value) { m_originHasBeenSet = true; m_origin = value; }
133 inline void SetOrigin(Origin&& value) { m_originHasBeenSet = true; m_origin = std::move(value); }
134 inline DataSetEntry& WithOrigin(const Origin& value) { SetOrigin(value); return *this;}
135 inline DataSetEntry& WithOrigin(Origin&& value) { SetOrigin(std::move(value)); return *this;}
137
139
143 inline const OriginDetails& GetOriginDetails() const{ return m_originDetails; }
144 inline bool OriginDetailsHasBeenSet() const { return m_originDetailsHasBeenSet; }
145 inline void SetOriginDetails(const OriginDetails& value) { m_originDetailsHasBeenSet = true; m_originDetails = value; }
146 inline void SetOriginDetails(OriginDetails&& value) { m_originDetailsHasBeenSet = true; m_originDetails = std::move(value); }
147 inline DataSetEntry& WithOriginDetails(const OriginDetails& value) { SetOriginDetails(value); return *this;}
148 inline DataSetEntry& WithOriginDetails(OriginDetails&& value) { SetOriginDetails(std::move(value)); return *this;}
150
152
157 inline const Aws::String& GetSourceId() const{ return m_sourceId; }
158 inline bool SourceIdHasBeenSet() const { return m_sourceIdHasBeenSet; }
159 inline void SetSourceId(const Aws::String& value) { m_sourceIdHasBeenSet = true; m_sourceId = value; }
160 inline void SetSourceId(Aws::String&& value) { m_sourceIdHasBeenSet = true; m_sourceId = std::move(value); }
161 inline void SetSourceId(const char* value) { m_sourceIdHasBeenSet = true; m_sourceId.assign(value); }
162 inline DataSetEntry& WithSourceId(const Aws::String& value) { SetSourceId(value); return *this;}
163 inline DataSetEntry& WithSourceId(Aws::String&& value) { SetSourceId(std::move(value)); return *this;}
164 inline DataSetEntry& WithSourceId(const char* value) { SetSourceId(value); return *this;}
166
168
171 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
172 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
173 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
174 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
175 inline DataSetEntry& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
176 inline DataSetEntry& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
178 private:
179
180 Aws::String m_arn;
181 bool m_arnHasBeenSet = false;
182
183 AssetType m_assetType;
184 bool m_assetTypeHasBeenSet = false;
185
186 Aws::Utils::DateTime m_createdAt;
187 bool m_createdAtHasBeenSet = false;
188
189 Aws::String m_description;
190 bool m_descriptionHasBeenSet = false;
191
192 Aws::String m_id;
193 bool m_idHasBeenSet = false;
194
195 Aws::String m_name;
196 bool m_nameHasBeenSet = false;
197
198 Origin m_origin;
199 bool m_originHasBeenSet = false;
200
201 OriginDetails m_originDetails;
202 bool m_originDetailsHasBeenSet = false;
203
204 Aws::String m_sourceId;
205 bool m_sourceIdHasBeenSet = false;
206
207 Aws::Utils::DateTime m_updatedAt;
208 bool m_updatedAtHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace DataExchange
213} // namespace Aws
void SetOriginDetails(const OriginDetails &value)
void SetName(const char *value)
void SetArn(Aws::String &&value)
void SetDescription(const Aws::String &value)
const OriginDetails & GetOriginDetails() const
DataSetEntry & WithSourceId(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetSourceId(Aws::String &&value)
bool AssetTypeHasBeenSet() const
DataSetEntry & WithOriginDetails(const OriginDetails &value)
const Origin & GetOrigin() const
DataSetEntry & WithUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetDescription() const
DataSetEntry & WithArn(const char *value)
DataSetEntry & WithDescription(const char *value)
void SetArn(const Aws::String &value)
AWS_DATAEXCHANGE_API DataSetEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
DataSetEntry & WithArn(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetSourceId(const char *value)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
bool SourceIdHasBeenSet() const
DataSetEntry & WithDescription(Aws::String &&value)
bool ArnHasBeenSet() const
DataSetEntry & WithId(Aws::String &&value)
void SetSourceId(const Aws::String &value)
void SetOrigin(const Origin &value)
DataSetEntry & WithUpdatedAt(const Aws::Utils::DateTime &value)
DataSetEntry & WithName(const char *value)
DataSetEntry & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetArn() const
void SetId(const char *value)
void SetAssetType(AssetType &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
DataSetEntry & WithName(const Aws::String &value)
DataSetEntry & WithArn(const Aws::String &value)
void SetOriginDetails(OriginDetails &&value)
const AssetType & GetAssetType() const
DataSetEntry & WithId(const Aws::String &value)
bool UpdatedAtHasBeenSet() const
DataSetEntry & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetSourceId() const
void SetName(const Aws::String &value)
AWS_DATAEXCHANGE_API DataSetEntry()
void SetCreatedAt(const Aws::Utils::DateTime &value)
DataSetEntry & WithName(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
DataSetEntry & WithAssetType(const AssetType &value)
bool DescriptionHasBeenSet() const
bool OriginHasBeenSet() const
DataSetEntry & WithOrigin(Origin &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetDescription(const char *value)
bool NameHasBeenSet() const
DataSetEntry & WithOriginDetails(OriginDetails &&value)
bool IdHasBeenSet() const
const Aws::String & GetId() const
DataSetEntry & WithSourceId(Aws::String &&value)
void SetId(const Aws::String &value)
DataSetEntry & WithOrigin(const Origin &value)
void SetArn(const char *value)
const Aws::String & GetName() const
void SetId(Aws::String &&value)
bool CreatedAtHasBeenSet() const
bool OriginDetailsHasBeenSet() const
DataSetEntry & WithAssetType(AssetType &&value)
void SetOrigin(Origin &&value)
void SetAssetType(const AssetType &value)
DataSetEntry & WithId(const char *value)
DataSetEntry & WithDescription(const Aws::String &value)
AWS_DATAEXCHANGE_API DataSetEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
DataSetEntry & WithSourceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue