AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GetAssetResult.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 GetAssetResult() = default;
36
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
43 template<typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
45 template<typename ArnT = Aws::String>
46 GetAssetResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
48
50
53 inline const AssetDetails& GetAssetDetails() const { return m_assetDetails; }
54 template<typename AssetDetailsT = AssetDetails>
55 void SetAssetDetails(AssetDetailsT&& value) { m_assetDetailsHasBeenSet = true; m_assetDetails = std::forward<AssetDetailsT>(value); }
56 template<typename AssetDetailsT = AssetDetails>
57 GetAssetResult& WithAssetDetails(AssetDetailsT&& value) { SetAssetDetails(std::forward<AssetDetailsT>(value)); return *this;}
59
61
64 inline AssetType GetAssetType() const { return m_assetType; }
65 inline void SetAssetType(AssetType value) { m_assetTypeHasBeenSet = true; m_assetType = value; }
66 inline GetAssetResult& WithAssetType(AssetType value) { SetAssetType(value); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
74 template<typename CreatedAtT = Aws::Utils::DateTime>
75 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
76 template<typename CreatedAtT = Aws::Utils::DateTime>
77 GetAssetResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
79
81
84 inline const Aws::String& GetDataSetId() const { return m_dataSetId; }
85 template<typename DataSetIdT = Aws::String>
86 void SetDataSetId(DataSetIdT&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::forward<DataSetIdT>(value); }
87 template<typename DataSetIdT = Aws::String>
88 GetAssetResult& WithDataSetId(DataSetIdT&& value) { SetDataSetId(std::forward<DataSetIdT>(value)); return *this;}
90
92
95 inline const Aws::String& GetId() const { return m_id; }
96 template<typename IdT = Aws::String>
97 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
98 template<typename IdT = Aws::String>
99 GetAssetResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
101
103
112 inline const Aws::String& GetName() const { return m_name; }
113 template<typename NameT = Aws::String>
114 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
115 template<typename NameT = Aws::String>
116 GetAssetResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
118
120
123 inline const Aws::String& GetRevisionId() const { return m_revisionId; }
124 template<typename RevisionIdT = Aws::String>
125 void SetRevisionId(RevisionIdT&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::forward<RevisionIdT>(value); }
126 template<typename RevisionIdT = Aws::String>
127 GetAssetResult& WithRevisionId(RevisionIdT&& value) { SetRevisionId(std::forward<RevisionIdT>(value)); return *this;}
129
131
136 inline const Aws::String& GetSourceId() const { return m_sourceId; }
137 template<typename SourceIdT = Aws::String>
138 void SetSourceId(SourceIdT&& value) { m_sourceIdHasBeenSet = true; m_sourceId = std::forward<SourceIdT>(value); }
139 template<typename SourceIdT = Aws::String>
140 GetAssetResult& WithSourceId(SourceIdT&& value) { SetSourceId(std::forward<SourceIdT>(value)); return *this;}
142
144
147 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
148 template<typename UpdatedAtT = Aws::Utils::DateTime>
149 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
150 template<typename UpdatedAtT = Aws::Utils::DateTime>
151 GetAssetResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
153
155
156 inline const Aws::String& GetRequestId() const { return m_requestId; }
157 template<typename RequestIdT = Aws::String>
158 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
159 template<typename RequestIdT = Aws::String>
160 GetAssetResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
162 private:
163
164 Aws::String m_arn;
165 bool m_arnHasBeenSet = false;
166
167 AssetDetails m_assetDetails;
168 bool m_assetDetailsHasBeenSet = false;
169
170 AssetType m_assetType{AssetType::NOT_SET};
171 bool m_assetTypeHasBeenSet = false;
172
173 Aws::Utils::DateTime m_createdAt{};
174 bool m_createdAtHasBeenSet = false;
175
176 Aws::String m_dataSetId;
177 bool m_dataSetIdHasBeenSet = false;
178
179 Aws::String m_id;
180 bool m_idHasBeenSet = false;
181
182 Aws::String m_name;
183 bool m_nameHasBeenSet = false;
184
185 Aws::String m_revisionId;
186 bool m_revisionIdHasBeenSet = false;
187
188 Aws::String m_sourceId;
189 bool m_sourceIdHasBeenSet = false;
190
191 Aws::Utils::DateTime m_updatedAt{};
192 bool m_updatedAtHasBeenSet = false;
193
194 Aws::String m_requestId;
195 bool m_requestIdHasBeenSet = false;
196 };
197
198} // namespace Model
199} // namespace DataExchange
200} // namespace Aws
GetAssetResult & WithSourceId(SourceIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const AssetDetails & GetAssetDetails() const
AWS_DATAEXCHANGE_API GetAssetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
const Aws::String & GetId() const
GetAssetResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetSourceId() const
const Aws::String & GetArn() const
const Aws::String & GetDataSetId() const
void SetRevisionId(RevisionIdT &&value)
GetAssetResult & WithAssetType(AssetType value)
GetAssetResult & WithAssetDetails(AssetDetailsT &&value)
GetAssetResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetName() const
GetAssetResult & WithDataSetId(DataSetIdT &&value)
const Aws::String & GetRevisionId() const
GetAssetResult & WithArn(ArnT &&value)
AWS_DATAEXCHANGE_API GetAssetResult()=default
GetAssetResult & WithCreatedAt(CreatedAtT &&value)
GetAssetResult & WithId(IdT &&value)
GetAssetResult & WithName(NameT &&value)
GetAssetResult & WithRevisionId(RevisionIdT &&value)
AWS_DATAEXCHANGE_API GetAssetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAssetDetails(AssetDetailsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue