AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
MetadataTransferJobSummary.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/DateTime.h>
10#include <aws/iottwinmaker/model/MetadataTransferJobStatus.h>
11#include <aws/iottwinmaker/model/MetadataTransferJobProgress.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTTwinMaker
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_IOTTWINMAKER_API MetadataTransferJobSummary() = default;
40 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetMetadataTransferJobId() const { return m_metadataTransferJobId; }
48 inline bool MetadataTransferJobIdHasBeenSet() const { return m_metadataTransferJobIdHasBeenSet; }
49 template<typename MetadataTransferJobIdT = Aws::String>
50 void SetMetadataTransferJobId(MetadataTransferJobIdT&& value) { m_metadataTransferJobIdHasBeenSet = true; m_metadataTransferJobId = std::forward<MetadataTransferJobIdT>(value); }
51 template<typename MetadataTransferJobIdT = Aws::String>
52 MetadataTransferJobSummary& WithMetadataTransferJobId(MetadataTransferJobIdT&& value) { SetMetadataTransferJobId(std::forward<MetadataTransferJobIdT>(value)); return *this;}
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) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
63 template<typename ArnT = Aws::String>
64 MetadataTransferJobSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
72 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
73 template<typename CreationDateTimeT = Aws::Utils::DateTime>
74 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
75 template<typename CreationDateTimeT = Aws::Utils::DateTime>
76 MetadataTransferJobSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetUpdateDateTime() const { return m_updateDateTime; }
84 inline bool UpdateDateTimeHasBeenSet() const { return m_updateDateTimeHasBeenSet; }
85 template<typename UpdateDateTimeT = Aws::Utils::DateTime>
86 void SetUpdateDateTime(UpdateDateTimeT&& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = std::forward<UpdateDateTimeT>(value); }
87 template<typename UpdateDateTimeT = Aws::Utils::DateTime>
88 MetadataTransferJobSummary& WithUpdateDateTime(UpdateDateTimeT&& value) { SetUpdateDateTime(std::forward<UpdateDateTimeT>(value)); return *this;}
90
92
95 inline const MetadataTransferJobStatus& GetStatus() const { return m_status; }
96 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 template<typename StatusT = MetadataTransferJobStatus>
98 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
99 template<typename StatusT = MetadataTransferJobStatus>
100 MetadataTransferJobSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
102
104
107 inline const MetadataTransferJobProgress& GetProgress() const { return m_progress; }
108 inline bool ProgressHasBeenSet() const { return m_progressHasBeenSet; }
109 template<typename ProgressT = MetadataTransferJobProgress>
110 void SetProgress(ProgressT&& value) { m_progressHasBeenSet = true; m_progress = std::forward<ProgressT>(value); }
111 template<typename ProgressT = MetadataTransferJobProgress>
112 MetadataTransferJobSummary& WithProgress(ProgressT&& value) { SetProgress(std::forward<ProgressT>(value)); return *this;}
114 private:
115
116 Aws::String m_metadataTransferJobId;
117 bool m_metadataTransferJobIdHasBeenSet = false;
118
119 Aws::String m_arn;
120 bool m_arnHasBeenSet = false;
121
122 Aws::Utils::DateTime m_creationDateTime{};
123 bool m_creationDateTimeHasBeenSet = false;
124
125 Aws::Utils::DateTime m_updateDateTime{};
126 bool m_updateDateTimeHasBeenSet = false;
127
128 MetadataTransferJobStatus m_status;
129 bool m_statusHasBeenSet = false;
130
131 MetadataTransferJobProgress m_progress;
132 bool m_progressHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace IoTTwinMaker
137} // 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