AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
MetadataTransferJobSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
10#include <aws/iottwinmaker/model/MetadataTransferJobProgress.h>
11#include <aws/iottwinmaker/model/MetadataTransferJobStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTTwinMaker {
23namespace Model {
24
31 public:
32 AWS_IOTTWINMAKER_API MetadataTransferJobSummary() = default;
35 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetMetadataTransferJobId() const { return m_metadataTransferJobId; }
42 inline bool MetadataTransferJobIdHasBeenSet() const { return m_metadataTransferJobIdHasBeenSet; }
43 template <typename MetadataTransferJobIdT = Aws::String>
44 void SetMetadataTransferJobId(MetadataTransferJobIdT&& value) {
45 m_metadataTransferJobIdHasBeenSet = true;
46 m_metadataTransferJobId = std::forward<MetadataTransferJobIdT>(value);
47 }
48 template <typename MetadataTransferJobIdT = Aws::String>
49 MetadataTransferJobSummary& WithMetadataTransferJobId(MetadataTransferJobIdT&& value) {
50 SetMetadataTransferJobId(std::forward<MetadataTransferJobIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template <typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) {
63 m_arnHasBeenSet = true;
64 m_arn = std::forward<ArnT>(value);
65 }
66 template <typename ArnT = Aws::String>
68 SetArn(std::forward<ArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
78 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
79 template <typename CreationDateTimeT = Aws::Utils::DateTime>
80 void SetCreationDateTime(CreationDateTimeT&& value) {
81 m_creationDateTimeHasBeenSet = true;
82 m_creationDateTime = std::forward<CreationDateTimeT>(value);
83 }
84 template <typename CreationDateTimeT = Aws::Utils::DateTime>
86 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetUpdateDateTime() const { return m_updateDateTime; }
96 inline bool UpdateDateTimeHasBeenSet() const { return m_updateDateTimeHasBeenSet; }
97 template <typename UpdateDateTimeT = Aws::Utils::DateTime>
98 void SetUpdateDateTime(UpdateDateTimeT&& value) {
99 m_updateDateTimeHasBeenSet = true;
100 m_updateDateTime = std::forward<UpdateDateTimeT>(value);
101 }
102 template <typename UpdateDateTimeT = Aws::Utils::DateTime>
104 SetUpdateDateTime(std::forward<UpdateDateTimeT>(value));
105 return *this;
106 }
108
110
113 inline const MetadataTransferJobStatus& GetStatus() const { return m_status; }
114 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
115 template <typename StatusT = MetadataTransferJobStatus>
116 void SetStatus(StatusT&& value) {
117 m_statusHasBeenSet = true;
118 m_status = std::forward<StatusT>(value);
119 }
120 template <typename StatusT = MetadataTransferJobStatus>
122 SetStatus(std::forward<StatusT>(value));
123 return *this;
124 }
126
128
131 inline const MetadataTransferJobProgress& GetProgress() const { return m_progress; }
132 inline bool ProgressHasBeenSet() const { return m_progressHasBeenSet; }
133 template <typename ProgressT = MetadataTransferJobProgress>
134 void SetProgress(ProgressT&& value) {
135 m_progressHasBeenSet = true;
136 m_progress = std::forward<ProgressT>(value);
137 }
138 template <typename ProgressT = MetadataTransferJobProgress>
140 SetProgress(std::forward<ProgressT>(value));
141 return *this;
142 }
144 private:
145 Aws::String m_metadataTransferJobId;
146
147 Aws::String m_arn;
148
149 Aws::Utils::DateTime m_creationDateTime{};
150
151 Aws::Utils::DateTime m_updateDateTime{};
152
153 MetadataTransferJobStatus m_status;
154
155 MetadataTransferJobProgress m_progress;
156 bool m_metadataTransferJobIdHasBeenSet = false;
157 bool m_arnHasBeenSet = false;
158 bool m_creationDateTimeHasBeenSet = false;
159 bool m_updateDateTimeHasBeenSet = false;
160 bool m_statusHasBeenSet = false;
161 bool m_progressHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace IoTTwinMaker
166} // namespace Aws
MetadataTransferJobSummary & WithStatus(StatusT &&value)
const MetadataTransferJobProgress & GetProgress() const
AWS_IOTTWINMAKER_API MetadataTransferJobSummary()=default
AWS_IOTTWINMAKER_API MetadataTransferJobSummary(Aws::Utils::Json::JsonView jsonValue)
MetadataTransferJobSummary & WithCreationDateTime(CreationDateTimeT &&value)
MetadataTransferJobSummary & WithMetadataTransferJobId(MetadataTransferJobIdT &&value)
MetadataTransferJobSummary & WithUpdateDateTime(UpdateDateTimeT &&value)
MetadataTransferJobSummary & WithProgress(ProgressT &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTTWINMAKER_API MetadataTransferJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue