AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDataSetResult.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 <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace DataExchange
29{
30namespace Model
31{
33 {
34 public:
35 AWS_DATAEXCHANGE_API CreateDataSetResult();
38
39
41
44 inline const Aws::String& GetArn() const{ return m_arn; }
45 inline void SetArn(const Aws::String& value) { m_arn = value; }
46 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
47 inline void SetArn(const char* value) { m_arn.assign(value); }
48 inline CreateDataSetResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
49 inline CreateDataSetResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
50 inline CreateDataSetResult& WithArn(const char* value) { SetArn(value); return *this;}
52
54
57 inline const AssetType& GetAssetType() const{ return m_assetType; }
58 inline void SetAssetType(const AssetType& value) { m_assetType = value; }
59 inline void SetAssetType(AssetType&& value) { m_assetType = std::move(value); }
60 inline CreateDataSetResult& WithAssetType(const AssetType& value) { SetAssetType(value); return *this;}
61 inline CreateDataSetResult& WithAssetType(AssetType&& value) { SetAssetType(std::move(value)); return *this;}
63
65
68 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
69 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
70 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
71 inline CreateDataSetResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
72 inline CreateDataSetResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
74
76
79 inline const Aws::String& GetDescription() const{ return m_description; }
80 inline void SetDescription(const Aws::String& value) { m_description = value; }
81 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
82 inline void SetDescription(const char* value) { m_description.assign(value); }
83 inline CreateDataSetResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
84 inline CreateDataSetResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
85 inline CreateDataSetResult& WithDescription(const char* value) { SetDescription(value); return *this;}
87
89
92 inline const Aws::String& GetId() const{ return m_id; }
93 inline void SetId(const Aws::String& value) { m_id = value; }
94 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
95 inline void SetId(const char* value) { m_id.assign(value); }
96 inline CreateDataSetResult& WithId(const Aws::String& value) { SetId(value); return *this;}
97 inline CreateDataSetResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
98 inline CreateDataSetResult& WithId(const char* value) { SetId(value); return *this;}
100
102
105 inline const Aws::String& GetName() const{ return m_name; }
106 inline void SetName(const Aws::String& value) { m_name = value; }
107 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
108 inline void SetName(const char* value) { m_name.assign(value); }
109 inline CreateDataSetResult& WithName(const Aws::String& value) { SetName(value); return *this;}
110 inline CreateDataSetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
111 inline CreateDataSetResult& WithName(const char* value) { SetName(value); return *this;}
113
115
119 inline const Origin& GetOrigin() const{ return m_origin; }
120 inline void SetOrigin(const Origin& value) { m_origin = value; }
121 inline void SetOrigin(Origin&& value) { m_origin = std::move(value); }
122 inline CreateDataSetResult& WithOrigin(const Origin& value) { SetOrigin(value); return *this;}
123 inline CreateDataSetResult& WithOrigin(Origin&& value) { SetOrigin(std::move(value)); return *this;}
125
127
131 inline const OriginDetails& GetOriginDetails() const{ return m_originDetails; }
132 inline void SetOriginDetails(const OriginDetails& value) { m_originDetails = value; }
133 inline void SetOriginDetails(OriginDetails&& value) { m_originDetails = std::move(value); }
134 inline CreateDataSetResult& WithOriginDetails(const OriginDetails& value) { SetOriginDetails(value); return *this;}
135 inline CreateDataSetResult& WithOriginDetails(OriginDetails&& value) { SetOriginDetails(std::move(value)); return *this;}
137
139
144 inline const Aws::String& GetSourceId() const{ return m_sourceId; }
145 inline void SetSourceId(const Aws::String& value) { m_sourceId = value; }
146 inline void SetSourceId(Aws::String&& value) { m_sourceId = std::move(value); }
147 inline void SetSourceId(const char* value) { m_sourceId.assign(value); }
148 inline CreateDataSetResult& WithSourceId(const Aws::String& value) { SetSourceId(value); return *this;}
149 inline CreateDataSetResult& WithSourceId(Aws::String&& value) { SetSourceId(std::move(value)); return *this;}
150 inline CreateDataSetResult& WithSourceId(const char* value) { SetSourceId(value); return *this;}
152
154
157 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
158 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
159 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
160 inline CreateDataSetResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
161 inline CreateDataSetResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
162 inline CreateDataSetResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
163 inline CreateDataSetResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
164 inline CreateDataSetResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
165 inline CreateDataSetResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
166 inline CreateDataSetResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
167 inline CreateDataSetResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
168 inline CreateDataSetResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
170
172
175 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
176 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
177 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
178 inline CreateDataSetResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
179 inline CreateDataSetResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
181
183
184 inline const Aws::String& GetRequestId() const{ return m_requestId; }
185 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
186 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
187 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
188 inline CreateDataSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
189 inline CreateDataSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
190 inline CreateDataSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
192 private:
193
194 Aws::String m_arn;
195
196 AssetType m_assetType;
197
198 Aws::Utils::DateTime m_createdAt;
199
200 Aws::String m_description;
201
202 Aws::String m_id;
203
204 Aws::String m_name;
205
206 Origin m_origin;
207
208 OriginDetails m_originDetails;
209
210 Aws::String m_sourceId;
211
213
214 Aws::Utils::DateTime m_updatedAt;
215
216 Aws::String m_requestId;
217 };
218
219} // namespace Model
220} // namespace DataExchange
221} // namespace Aws
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDataSetResult & WithId(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
CreateDataSetResult & WithArn(const Aws::String &value)
CreateDataSetResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDataSetResult & WithArn(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
CreateDataSetResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetOriginDetails(const OriginDetails &value)
CreateDataSetResult & WithSourceId(Aws::String &&value)
CreateDataSetResult & WithDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
CreateDataSetResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateDataSetResult & WithDescription(const char *value)
AWS_DATAEXCHANGE_API CreateDataSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDataSetResult & WithSourceId(const char *value)
CreateDataSetResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
CreateDataSetResult & WithAssetType(const AssetType &value)
CreateDataSetResult & WithOrigin(const Origin &value)
CreateDataSetResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
CreateDataSetResult & WithDescription(const Aws::String &value)
CreateDataSetResult & AddTags(const char *key, Aws::String &&value)
CreateDataSetResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateDataSetResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDataSetResult & WithOriginDetails(OriginDetails &&value)
CreateDataSetResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreateDataSetResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateDataSetResult & AddTags(Aws::String &&key, const char *value)
CreateDataSetResult & WithName(const char *value)
CreateDataSetResult & WithOriginDetails(const OriginDetails &value)
CreateDataSetResult & WithRequestId(const Aws::String &value)
CreateDataSetResult & WithId(Aws::String &&value)
CreateDataSetResult & WithSourceId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDataSetResult & AddTags(const char *key, const char *value)
CreateDataSetResult & WithAssetType(AssetType &&value)
CreateDataSetResult & WithOrigin(Origin &&value)
CreateDataSetResult & WithId(const char *value)
CreateDataSetResult & WithName(Aws::String &&value)
CreateDataSetResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
CreateDataSetResult & WithRequestId(Aws::String &&value)
CreateDataSetResult & WithName(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
AWS_DATAEXCHANGE_API CreateDataSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDataSetResult & WithArn(const char *value)
CreateDataSetResult & WithRequestId(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue