AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAssetResult.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{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataExchange
27{
28namespace Model
29{
31 {
32 public:
33 AWS_DATAEXCHANGE_API UpdateAssetResult();
36
37
39
42 inline const Aws::String& GetArn() const{ return m_arn; }
43 inline void SetArn(const Aws::String& value) { m_arn = value; }
44 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
45 inline void SetArn(const char* value) { m_arn.assign(value); }
46 inline UpdateAssetResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
47 inline UpdateAssetResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
48 inline UpdateAssetResult& WithArn(const char* value) { SetArn(value); return *this;}
50
52
55 inline const AssetDetails& GetAssetDetails() const{ return m_assetDetails; }
56 inline void SetAssetDetails(const AssetDetails& value) { m_assetDetails = value; }
57 inline void SetAssetDetails(AssetDetails&& value) { m_assetDetails = std::move(value); }
58 inline UpdateAssetResult& WithAssetDetails(const AssetDetails& value) { SetAssetDetails(value); return *this;}
59 inline UpdateAssetResult& WithAssetDetails(AssetDetails&& value) { SetAssetDetails(std::move(value)); return *this;}
61
63
66 inline const AssetType& GetAssetType() const{ return m_assetType; }
67 inline void SetAssetType(const AssetType& value) { m_assetType = value; }
68 inline void SetAssetType(AssetType&& value) { m_assetType = std::move(value); }
69 inline UpdateAssetResult& WithAssetType(const AssetType& value) { SetAssetType(value); return *this;}
70 inline UpdateAssetResult& WithAssetType(AssetType&& value) { SetAssetType(std::move(value)); return *this;}
72
74
77 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
78 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
79 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
80 inline UpdateAssetResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
81 inline UpdateAssetResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
83
85
88 inline const Aws::String& GetDataSetId() const{ return m_dataSetId; }
89 inline void SetDataSetId(const Aws::String& value) { m_dataSetId = value; }
90 inline void SetDataSetId(Aws::String&& value) { m_dataSetId = std::move(value); }
91 inline void SetDataSetId(const char* value) { m_dataSetId.assign(value); }
92 inline UpdateAssetResult& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;}
93 inline UpdateAssetResult& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;}
94 inline UpdateAssetResult& WithDataSetId(const char* value) { SetDataSetId(value); return *this;}
96
98
101 inline const Aws::String& GetId() const{ return m_id; }
102 inline void SetId(const Aws::String& value) { m_id = value; }
103 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
104 inline void SetId(const char* value) { m_id.assign(value); }
105 inline UpdateAssetResult& WithId(const Aws::String& value) { SetId(value); return *this;}
106 inline UpdateAssetResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
107 inline UpdateAssetResult& WithId(const char* value) { SetId(value); return *this;}
109
111
120 inline const Aws::String& GetName() const{ return m_name; }
121 inline void SetName(const Aws::String& value) { m_name = value; }
122 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
123 inline void SetName(const char* value) { m_name.assign(value); }
124 inline UpdateAssetResult& WithName(const Aws::String& value) { SetName(value); return *this;}
125 inline UpdateAssetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
126 inline UpdateAssetResult& WithName(const char* value) { SetName(value); return *this;}
128
130
133 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
134 inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
135 inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
136 inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
137 inline UpdateAssetResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
138 inline UpdateAssetResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
139 inline UpdateAssetResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
141
143
148 inline const Aws::String& GetSourceId() const{ return m_sourceId; }
149 inline void SetSourceId(const Aws::String& value) { m_sourceId = value; }
150 inline void SetSourceId(Aws::String&& value) { m_sourceId = std::move(value); }
151 inline void SetSourceId(const char* value) { m_sourceId.assign(value); }
152 inline UpdateAssetResult& WithSourceId(const Aws::String& value) { SetSourceId(value); return *this;}
153 inline UpdateAssetResult& WithSourceId(Aws::String&& value) { SetSourceId(std::move(value)); return *this;}
154 inline UpdateAssetResult& WithSourceId(const char* value) { SetSourceId(value); return *this;}
156
158
161 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
162 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
163 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
164 inline UpdateAssetResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
165 inline UpdateAssetResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
167
169
170 inline const Aws::String& GetRequestId() const{ return m_requestId; }
171 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
172 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
173 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
174 inline UpdateAssetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
175 inline UpdateAssetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
176 inline UpdateAssetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
178 private:
179
180 Aws::String m_arn;
181
182 AssetDetails m_assetDetails;
183
184 AssetType m_assetType;
185
186 Aws::Utils::DateTime m_createdAt;
187
188 Aws::String m_dataSetId;
189
190 Aws::String m_id;
191
192 Aws::String m_name;
193
194 Aws::String m_revisionId;
195
196 Aws::String m_sourceId;
197
198 Aws::Utils::DateTime m_updatedAt;
199
200 Aws::String m_requestId;
201 };
202
203} // namespace Model
204} // namespace DataExchange
205} // namespace Aws
void SetCreatedAt(const Aws::Utils::DateTime &value)
UpdateAssetResult & WithName(const char *value)
UpdateAssetResult & WithName(const Aws::String &value)
UpdateAssetResult & WithAssetDetails(const AssetDetails &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetDataSetId(const Aws::String &value)
UpdateAssetResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
UpdateAssetResult & WithDataSetId(Aws::String &&value)
UpdateAssetResult & WithAssetType(const AssetType &value)
void SetSourceId(const Aws::String &value)
UpdateAssetResult & WithSourceId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
UpdateAssetResult & WithRequestId(Aws::String &&value)
UpdateAssetResult & WithName(Aws::String &&value)
UpdateAssetResult & WithSourceId(const Aws::String &value)
UpdateAssetResult & WithRequestId(const char *value)
UpdateAssetResult & WithAssetDetails(AssetDetails &&value)
UpdateAssetResult & WithId(Aws::String &&value)
UpdateAssetResult & WithSourceId(const char *value)
UpdateAssetResult & WithDataSetId(const Aws::String &value)
AWS_DATAEXCHANGE_API UpdateAssetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetRevisionId(const Aws::String &value)
UpdateAssetResult & WithId(const char *value)
UpdateAssetResult & WithId(const Aws::String &value)
UpdateAssetResult & WithRevisionId(Aws::String &&value)
UpdateAssetResult & WithArn(const char *value)
UpdateAssetResult & WithArn(Aws::String &&value)
UpdateAssetResult & WithRevisionId(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
UpdateAssetResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
UpdateAssetResult & WithRevisionId(const char *value)
UpdateAssetResult & WithCreatedAt(Aws::Utils::DateTime &&value)
UpdateAssetResult & WithRequestId(const Aws::String &value)
const AssetDetails & GetAssetDetails() const
AWS_DATAEXCHANGE_API UpdateAssetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAssetResult & WithCreatedAt(const Aws::Utils::DateTime &value)
UpdateAssetResult & WithArn(const Aws::String &value)
UpdateAssetResult & WithDataSetId(const char *value)
void SetAssetDetails(const AssetDetails &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
UpdateAssetResult & WithAssetType(AssetType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue