AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetMetadataTransferJobResult.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iottwinmaker/model/DestinationConfiguration.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/iottwinmaker/model/MetadataTransferJobStatus.h>
13#include <aws/iottwinmaker/model/MetadataTransferJobProgress.h>
14#include <aws/iottwinmaker/model/SourceConfiguration.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace IoTTwinMaker
30{
31namespace Model
32{
34 {
35 public:
36 AWS_IOTTWINMAKER_API GetMetadataTransferJobResult() = default;
39
40
42
45 inline const Aws::String& GetMetadataTransferJobId() const { return m_metadataTransferJobId; }
46 template<typename MetadataTransferJobIdT = Aws::String>
47 void SetMetadataTransferJobId(MetadataTransferJobIdT&& value) { m_metadataTransferJobIdHasBeenSet = true; m_metadataTransferJobId = std::forward<MetadataTransferJobIdT>(value); }
48 template<typename MetadataTransferJobIdT = Aws::String>
49 GetMetadataTransferJobResult& WithMetadataTransferJobId(MetadataTransferJobIdT&& value) { SetMetadataTransferJobId(std::forward<MetadataTransferJobIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetArn() const { return m_arn; }
57 template<typename ArnT = Aws::String>
58 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
59 template<typename ArnT = Aws::String>
60 GetMetadataTransferJobResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDescription() const { return m_description; }
68 template<typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
70 template<typename DescriptionT = Aws::String>
71 GetMetadataTransferJobResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
73
75
78 inline const Aws::Vector<SourceConfiguration>& GetSources() const { return m_sources; }
79 template<typename SourcesT = Aws::Vector<SourceConfiguration>>
80 void SetSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources = std::forward<SourcesT>(value); }
81 template<typename SourcesT = Aws::Vector<SourceConfiguration>>
82 GetMetadataTransferJobResult& WithSources(SourcesT&& value) { SetSources(std::forward<SourcesT>(value)); return *this;}
83 template<typename SourcesT = SourceConfiguration>
84 GetMetadataTransferJobResult& AddSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources.emplace_back(std::forward<SourcesT>(value)); return *this; }
86
88
91 inline const DestinationConfiguration& GetDestination() const { return m_destination; }
92 template<typename DestinationT = DestinationConfiguration>
93 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
94 template<typename DestinationT = DestinationConfiguration>
95 GetMetadataTransferJobResult& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
97
99
102 inline const Aws::String& GetMetadataTransferJobRole() const { return m_metadataTransferJobRole; }
103 template<typename MetadataTransferJobRoleT = Aws::String>
104 void SetMetadataTransferJobRole(MetadataTransferJobRoleT&& value) { m_metadataTransferJobRoleHasBeenSet = true; m_metadataTransferJobRole = std::forward<MetadataTransferJobRoleT>(value); }
105 template<typename MetadataTransferJobRoleT = Aws::String>
106 GetMetadataTransferJobResult& WithMetadataTransferJobRole(MetadataTransferJobRoleT&& value) { SetMetadataTransferJobRole(std::forward<MetadataTransferJobRoleT>(value)); return *this;}
108
110
113 inline const Aws::String& GetReportUrl() const { return m_reportUrl; }
114 template<typename ReportUrlT = Aws::String>
115 void SetReportUrl(ReportUrlT&& value) { m_reportUrlHasBeenSet = true; m_reportUrl = std::forward<ReportUrlT>(value); }
116 template<typename ReportUrlT = Aws::String>
117 GetMetadataTransferJobResult& WithReportUrl(ReportUrlT&& value) { SetReportUrl(std::forward<ReportUrlT>(value)); return *this;}
119
121
124 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
125 template<typename CreationDateTimeT = Aws::Utils::DateTime>
126 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
127 template<typename CreationDateTimeT = Aws::Utils::DateTime>
128 GetMetadataTransferJobResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
130
132
135 inline const Aws::Utils::DateTime& GetUpdateDateTime() const { return m_updateDateTime; }
136 template<typename UpdateDateTimeT = Aws::Utils::DateTime>
137 void SetUpdateDateTime(UpdateDateTimeT&& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = std::forward<UpdateDateTimeT>(value); }
138 template<typename UpdateDateTimeT = Aws::Utils::DateTime>
139 GetMetadataTransferJobResult& WithUpdateDateTime(UpdateDateTimeT&& value) { SetUpdateDateTime(std::forward<UpdateDateTimeT>(value)); return *this;}
141
143
146 inline const MetadataTransferJobStatus& GetStatus() const { return m_status; }
147 template<typename StatusT = MetadataTransferJobStatus>
148 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
149 template<typename StatusT = MetadataTransferJobStatus>
150 GetMetadataTransferJobResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
152
154
157 inline const MetadataTransferJobProgress& GetProgress() const { return m_progress; }
158 template<typename ProgressT = MetadataTransferJobProgress>
159 void SetProgress(ProgressT&& value) { m_progressHasBeenSet = true; m_progress = std::forward<ProgressT>(value); }
160 template<typename ProgressT = MetadataTransferJobProgress>
161 GetMetadataTransferJobResult& WithProgress(ProgressT&& value) { SetProgress(std::forward<ProgressT>(value)); return *this;}
163
165
166 inline const Aws::String& GetRequestId() const { return m_requestId; }
167 template<typename RequestIdT = Aws::String>
168 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
169 template<typename RequestIdT = Aws::String>
170 GetMetadataTransferJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
172 private:
173
174 Aws::String m_metadataTransferJobId;
175 bool m_metadataTransferJobIdHasBeenSet = false;
176
177 Aws::String m_arn;
178 bool m_arnHasBeenSet = false;
179
180 Aws::String m_description;
181 bool m_descriptionHasBeenSet = false;
182
184 bool m_sourcesHasBeenSet = false;
185
186 DestinationConfiguration m_destination;
187 bool m_destinationHasBeenSet = false;
188
189 Aws::String m_metadataTransferJobRole;
190 bool m_metadataTransferJobRoleHasBeenSet = false;
191
192 Aws::String m_reportUrl;
193 bool m_reportUrlHasBeenSet = false;
194
195 Aws::Utils::DateTime m_creationDateTime{};
196 bool m_creationDateTimeHasBeenSet = false;
197
198 Aws::Utils::DateTime m_updateDateTime{};
199 bool m_updateDateTimeHasBeenSet = false;
200
201 MetadataTransferJobStatus m_status;
202 bool m_statusHasBeenSet = false;
203
204 MetadataTransferJobProgress m_progress;
205 bool m_progressHasBeenSet = false;
206
207 Aws::String m_requestId;
208 bool m_requestIdHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace IoTTwinMaker
213} // namespace Aws
GetMetadataTransferJobResult & AddSources(SourcesT &&value)
GetMetadataTransferJobResult & WithDestination(DestinationT &&value)
const Aws::Vector< SourceConfiguration > & GetSources() const
AWS_IOTTWINMAKER_API GetMetadataTransferJobResult()=default
GetMetadataTransferJobResult & WithReportUrl(ReportUrlT &&value)
GetMetadataTransferJobResult & WithMetadataTransferJobId(MetadataTransferJobIdT &&value)
GetMetadataTransferJobResult & WithCreationDateTime(CreationDateTimeT &&value)
GetMetadataTransferJobResult & WithUpdateDateTime(UpdateDateTimeT &&value)
GetMetadataTransferJobResult & WithDescription(DescriptionT &&value)
AWS_IOTTWINMAKER_API GetMetadataTransferJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMetadataTransferJobResult & WithSources(SourcesT &&value)
GetMetadataTransferJobResult & WithStatus(StatusT &&value)
GetMetadataTransferJobResult & WithMetadataTransferJobRole(MetadataTransferJobRoleT &&value)
AWS_IOTTWINMAKER_API GetMetadataTransferJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMetadataTransferJobResult & WithRequestId(RequestIdT &&value)
GetMetadataTransferJobResult & WithProgress(ProgressT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue