AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
53 template<typename ArnT = Aws::String>
54 DataSetEntry& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
56
58
61 inline AssetType GetAssetType() const { return m_assetType; }
62 inline bool AssetTypeHasBeenSet() const { return m_assetTypeHasBeenSet; }
63 inline void SetAssetType(AssetType value) { m_assetTypeHasBeenSet = true; m_assetType = value; }
64 inline DataSetEntry& WithAssetType(AssetType value) { SetAssetType(value); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
72 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
73 template<typename CreatedAtT = Aws::Utils::DateTime>
74 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
75 template<typename CreatedAtT = Aws::Utils::DateTime>
76 DataSetEntry& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
78
80
83 inline const Aws::String& GetDescription() const { return m_description; }
84 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 template<typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
87 template<typename DescriptionT = Aws::String>
88 DataSetEntry& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
90
92
95 inline const Aws::String& GetId() const { return m_id; }
96 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
97 template<typename IdT = Aws::String>
98 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
99 template<typename IdT = Aws::String>
100 DataSetEntry& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
102
104
107 inline const Aws::String& GetName() const { return m_name; }
108 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
109 template<typename NameT = Aws::String>
110 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
111 template<typename NameT = Aws::String>
112 DataSetEntry& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
114
116
120 inline Origin GetOrigin() const { return m_origin; }
121 inline bool OriginHasBeenSet() const { return m_originHasBeenSet; }
122 inline void SetOrigin(Origin value) { m_originHasBeenSet = true; m_origin = value; }
123 inline DataSetEntry& WithOrigin(Origin value) { SetOrigin(value); return *this;}
125
127
131 inline const OriginDetails& GetOriginDetails() const { return m_originDetails; }
132 inline bool OriginDetailsHasBeenSet() const { return m_originDetailsHasBeenSet; }
133 template<typename OriginDetailsT = OriginDetails>
134 void SetOriginDetails(OriginDetailsT&& value) { m_originDetailsHasBeenSet = true; m_originDetails = std::forward<OriginDetailsT>(value); }
135 template<typename OriginDetailsT = OriginDetails>
136 DataSetEntry& WithOriginDetails(OriginDetailsT&& value) { SetOriginDetails(std::forward<OriginDetailsT>(value)); return *this;}
138
140
145 inline const Aws::String& GetSourceId() const { return m_sourceId; }
146 inline bool SourceIdHasBeenSet() const { return m_sourceIdHasBeenSet; }
147 template<typename SourceIdT = Aws::String>
148 void SetSourceId(SourceIdT&& value) { m_sourceIdHasBeenSet = true; m_sourceId = std::forward<SourceIdT>(value); }
149 template<typename SourceIdT = Aws::String>
150 DataSetEntry& WithSourceId(SourceIdT&& value) { SetSourceId(std::forward<SourceIdT>(value)); return *this;}
152
154
157 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
158 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
159 template<typename UpdatedAtT = Aws::Utils::DateTime>
160 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
161 template<typename UpdatedAtT = Aws::Utils::DateTime>
162 DataSetEntry& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
164 private:
165
166 Aws::String m_arn;
167 bool m_arnHasBeenSet = false;
168
169 AssetType m_assetType{AssetType::NOT_SET};
170 bool m_assetTypeHasBeenSet = false;
171
172 Aws::Utils::DateTime m_createdAt{};
173 bool m_createdAtHasBeenSet = false;
174
175 Aws::String m_description;
176 bool m_descriptionHasBeenSet = false;
177
178 Aws::String m_id;
179 bool m_idHasBeenSet = false;
180
181 Aws::String m_name;
182 bool m_nameHasBeenSet = false;
183
184 Origin m_origin{Origin::NOT_SET};
185 bool m_originHasBeenSet = false;
186
187 OriginDetails m_originDetails;
188 bool m_originDetailsHasBeenSet = false;
189
190 Aws::String m_sourceId;
191 bool m_sourceIdHasBeenSet = false;
192
193 Aws::Utils::DateTime m_updatedAt{};
194 bool m_updatedAtHasBeenSet = false;
195 };
196
197} // namespace Model
198} // namespace DataExchange
199} // namespace Aws
const OriginDetails & GetOriginDetails() const
void SetOriginDetails(OriginDetailsT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
DataSetEntry & WithArn(ArnT &&value)
bool AssetTypeHasBeenSet() const
DataSetEntry & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetDescription() const
AWS_DATAEXCHANGE_API DataSetEntry()=default
AWS_DATAEXCHANGE_API DataSetEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetArn(ArnT &&value)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
bool SourceIdHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
bool ArnHasBeenSet() const
DataSetEntry & WithName(NameT &&value)
DataSetEntry & WithDescription(DescriptionT &&value)
const Aws::String & GetArn() const
DataSetEntry & WithAssetType(AssetType value)
void SetName(NameT &&value)
bool UpdatedAtHasBeenSet() const
DataSetEntry & WithSourceId(SourceIdT &&value)
DataSetEntry & WithOrigin(Origin value)
const Aws::String & GetSourceId() const
DataSetEntry & WithUpdatedAt(UpdatedAtT &&value)
DataSetEntry & WithId(IdT &&value)
void SetOrigin(Origin value)
bool DescriptionHasBeenSet() const
Origin GetOrigin() const
bool OriginHasBeenSet() const
void SetSourceId(SourceIdT &&value)
AssetType GetAssetType() const
bool NameHasBeenSet() const
bool IdHasBeenSet() const
const Aws::String & GetId() const
DataSetEntry & WithOriginDetails(OriginDetailsT &&value)
void SetAssetType(AssetType value)
const Aws::String & GetName() const
bool CreatedAtHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
bool OriginDetailsHasBeenSet() const
void SetId(IdT &&value)
AWS_DATAEXCHANGE_API DataSetEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue