AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetMetadataTransferJobId() const{ return m_metadataTransferJobId; }
46 inline void SetMetadataTransferJobId(const Aws::String& value) { m_metadataTransferJobId = value; }
47 inline void SetMetadataTransferJobId(Aws::String&& value) { m_metadataTransferJobId = std::move(value); }
48 inline void SetMetadataTransferJobId(const char* value) { m_metadataTransferJobId.assign(value); }
51 inline GetMetadataTransferJobResult& WithMetadataTransferJobId(const char* value) { SetMetadataTransferJobId(value); return *this;}
53
55
58 inline const Aws::String& GetArn() const{ return m_arn; }
59 inline void SetArn(const Aws::String& value) { m_arn = value; }
60 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
61 inline void SetArn(const char* value) { m_arn.assign(value); }
62 inline GetMetadataTransferJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
63 inline GetMetadataTransferJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
64 inline GetMetadataTransferJobResult& WithArn(const char* value) { SetArn(value); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline void SetDescription(const Aws::String& value) { m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_description.assign(value); }
75 inline GetMetadataTransferJobResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline GetMetadataTransferJobResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline GetMetadataTransferJobResult& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
84 inline const Aws::Vector<SourceConfiguration>& GetSources() const{ return m_sources; }
85 inline void SetSources(const Aws::Vector<SourceConfiguration>& value) { m_sources = value; }
86 inline void SetSources(Aws::Vector<SourceConfiguration>&& value) { m_sources = std::move(value); }
88 inline GetMetadataTransferJobResult& WithSources(Aws::Vector<SourceConfiguration>&& value) { SetSources(std::move(value)); return *this;}
89 inline GetMetadataTransferJobResult& AddSources(const SourceConfiguration& value) { m_sources.push_back(value); return *this; }
90 inline GetMetadataTransferJobResult& AddSources(SourceConfiguration&& value) { m_sources.push_back(std::move(value)); return *this; }
92
94
97 inline const DestinationConfiguration& GetDestination() const{ return m_destination; }
98 inline void SetDestination(const DestinationConfiguration& value) { m_destination = value; }
99 inline void SetDestination(DestinationConfiguration&& value) { m_destination = std::move(value); }
101 inline GetMetadataTransferJobResult& WithDestination(DestinationConfiguration&& value) { SetDestination(std::move(value)); return *this;}
103
105
108 inline const Aws::String& GetMetadataTransferJobRole() const{ return m_metadataTransferJobRole; }
109 inline void SetMetadataTransferJobRole(const Aws::String& value) { m_metadataTransferJobRole = value; }
110 inline void SetMetadataTransferJobRole(Aws::String&& value) { m_metadataTransferJobRole = std::move(value); }
111 inline void SetMetadataTransferJobRole(const char* value) { m_metadataTransferJobRole.assign(value); }
116
118
121 inline const Aws::String& GetReportUrl() const{ return m_reportUrl; }
122 inline void SetReportUrl(const Aws::String& value) { m_reportUrl = value; }
123 inline void SetReportUrl(Aws::String&& value) { m_reportUrl = std::move(value); }
124 inline void SetReportUrl(const char* value) { m_reportUrl.assign(value); }
125 inline GetMetadataTransferJobResult& WithReportUrl(const Aws::String& value) { SetReportUrl(value); return *this;}
126 inline GetMetadataTransferJobResult& WithReportUrl(Aws::String&& value) { SetReportUrl(std::move(value)); return *this;}
127 inline GetMetadataTransferJobResult& WithReportUrl(const char* value) { SetReportUrl(value); return *this;}
129
131
134 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
135 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
136 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
140
142
145 inline const Aws::Utils::DateTime& GetUpdateDateTime() const{ return m_updateDateTime; }
146 inline void SetUpdateDateTime(const Aws::Utils::DateTime& value) { m_updateDateTime = value; }
147 inline void SetUpdateDateTime(Aws::Utils::DateTime&& value) { m_updateDateTime = std::move(value); }
151
153
156 inline const MetadataTransferJobStatus& GetStatus() const{ return m_status; }
157 inline void SetStatus(const MetadataTransferJobStatus& value) { m_status = value; }
158 inline void SetStatus(MetadataTransferJobStatus&& value) { m_status = std::move(value); }
159 inline GetMetadataTransferJobResult& WithStatus(const MetadataTransferJobStatus& value) { SetStatus(value); return *this;}
160 inline GetMetadataTransferJobResult& WithStatus(MetadataTransferJobStatus&& value) { SetStatus(std::move(value)); return *this;}
162
164
167 inline const MetadataTransferJobProgress& GetProgress() const{ return m_progress; }
168 inline void SetProgress(const MetadataTransferJobProgress& value) { m_progress = value; }
169 inline void SetProgress(MetadataTransferJobProgress&& value) { m_progress = std::move(value); }
171 inline GetMetadataTransferJobResult& WithProgress(MetadataTransferJobProgress&& value) { SetProgress(std::move(value)); return *this;}
173
175
176 inline const Aws::String& GetRequestId() const{ return m_requestId; }
177 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
178 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
179 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
180 inline GetMetadataTransferJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
181 inline GetMetadataTransferJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
182 inline GetMetadataTransferJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
184 private:
185
186 Aws::String m_metadataTransferJobId;
187
188 Aws::String m_arn;
189
190 Aws::String m_description;
191
193
194 DestinationConfiguration m_destination;
195
196 Aws::String m_metadataTransferJobRole;
197
198 Aws::String m_reportUrl;
199
200 Aws::Utils::DateTime m_creationDateTime;
201
202 Aws::Utils::DateTime m_updateDateTime;
203
205
207
208 Aws::String m_requestId;
209 };
210
211} // namespace Model
212} // namespace IoTTwinMaker
213} // namespace Aws
GetMetadataTransferJobResult & WithProgress(const MetadataTransferJobProgress &value)
GetMetadataTransferJobResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
GetMetadataTransferJobResult & AddSources(SourceConfiguration &&value)
GetMetadataTransferJobResult & WithMetadataTransferJobId(const char *value)
GetMetadataTransferJobResult & WithReportUrl(Aws::String &&value)
GetMetadataTransferJobResult & WithArn(const char *value)
GetMetadataTransferJobResult & WithUpdateDateTime(const Aws::Utils::DateTime &value)
GetMetadataTransferJobResult & WithSources(Aws::Vector< SourceConfiguration > &&value)
const Aws::Vector< SourceConfiguration > & GetSources() const
GetMetadataTransferJobResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
GetMetadataTransferJobResult & WithRequestId(const Aws::String &value)
void SetSources(const Aws::Vector< SourceConfiguration > &value)
GetMetadataTransferJobResult & WithMetadataTransferJobRole(Aws::String &&value)
GetMetadataTransferJobResult & WithSources(const Aws::Vector< SourceConfiguration > &value)
void SetDestination(const DestinationConfiguration &value)
GetMetadataTransferJobResult & WithDestination(const DestinationConfiguration &value)
GetMetadataTransferJobResult & WithDescription(Aws::String &&value)
AWS_IOTTWINMAKER_API GetMetadataTransferJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMetadataTransferJobResult & WithReportUrl(const Aws::String &value)
GetMetadataTransferJobResult & WithArn(const Aws::String &value)
GetMetadataTransferJobResult & WithArn(Aws::String &&value)
GetMetadataTransferJobResult & WithProgress(MetadataTransferJobProgress &&value)
GetMetadataTransferJobResult & AddSources(const SourceConfiguration &value)
GetMetadataTransferJobResult & WithMetadataTransferJobRole(const Aws::String &value)
void SetProgress(const MetadataTransferJobProgress &value)
GetMetadataTransferJobResult & WithReportUrl(const char *value)
GetMetadataTransferJobResult & WithRequestId(const char *value)
GetMetadataTransferJobResult & WithMetadataTransferJobId(const Aws::String &value)
void SetSources(Aws::Vector< SourceConfiguration > &&value)
GetMetadataTransferJobResult & WithStatus(MetadataTransferJobStatus &&value)
AWS_IOTTWINMAKER_API GetMetadataTransferJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMetadataTransferJobResult & WithUpdateDateTime(Aws::Utils::DateTime &&value)
GetMetadataTransferJobResult & WithDestination(DestinationConfiguration &&value)
GetMetadataTransferJobResult & WithMetadataTransferJobRole(const char *value)
GetMetadataTransferJobResult & WithStatus(const MetadataTransferJobStatus &value)
GetMetadataTransferJobResult & WithDescription(const char *value)
GetMetadataTransferJobResult & WithDescription(const Aws::String &value)
GetMetadataTransferJobResult & WithRequestId(Aws::String &&value)
GetMetadataTransferJobResult & WithMetadataTransferJobId(Aws::String &&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