AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMetadataTransferJobId(const Aws::String& value) { m_metadataTransferJobIdHasBeenSet = true; m_metadataTransferJobId = value; }
50 inline void SetMetadataTransferJobId(Aws::String&& value) { m_metadataTransferJobIdHasBeenSet = true; m_metadataTransferJobId = std::move(value); }
51 inline void SetMetadataTransferJobId(const char* value) { m_metadataTransferJobIdHasBeenSet = true; m_metadataTransferJobId.assign(value); }
54 inline MetadataTransferJobSummary& WithMetadataTransferJobId(const char* value) { SetMetadataTransferJobId(value); return *this;}
56
58
61 inline const Aws::String& GetArn() const{ return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 inline MetadataTransferJobSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
67 inline MetadataTransferJobSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 inline MetadataTransferJobSummary& WithArn(const char* value) { SetArn(value); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
76 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
77 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
78 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
82
84
87 inline const Aws::Utils::DateTime& GetUpdateDateTime() const{ return m_updateDateTime; }
88 inline bool UpdateDateTimeHasBeenSet() const { return m_updateDateTimeHasBeenSet; }
89 inline void SetUpdateDateTime(const Aws::Utils::DateTime& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = value; }
90 inline void SetUpdateDateTime(Aws::Utils::DateTime&& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = std::move(value); }
92 inline MetadataTransferJobSummary& WithUpdateDateTime(Aws::Utils::DateTime&& value) { SetUpdateDateTime(std::move(value)); return *this;}
94
96
99 inline const MetadataTransferJobStatus& GetStatus() const{ return m_status; }
100 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
101 inline void SetStatus(const MetadataTransferJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
102 inline void SetStatus(MetadataTransferJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
103 inline MetadataTransferJobSummary& WithStatus(const MetadataTransferJobStatus& value) { SetStatus(value); return *this;}
104 inline MetadataTransferJobSummary& WithStatus(MetadataTransferJobStatus&& value) { SetStatus(std::move(value)); return *this;}
106
108
111 inline const MetadataTransferJobProgress& GetProgress() const{ return m_progress; }
112 inline bool ProgressHasBeenSet() const { return m_progressHasBeenSet; }
113 inline void SetProgress(const MetadataTransferJobProgress& value) { m_progressHasBeenSet = true; m_progress = value; }
114 inline void SetProgress(MetadataTransferJobProgress&& value) { m_progressHasBeenSet = true; m_progress = std::move(value); }
116 inline MetadataTransferJobSummary& WithProgress(MetadataTransferJobProgress&& value) { SetProgress(std::move(value)); return *this;}
118 private:
119
120 Aws::String m_metadataTransferJobId;
121 bool m_metadataTransferJobIdHasBeenSet = false;
122
123 Aws::String m_arn;
124 bool m_arnHasBeenSet = false;
125
126 Aws::Utils::DateTime m_creationDateTime;
127 bool m_creationDateTimeHasBeenSet = false;
128
129 Aws::Utils::DateTime m_updateDateTime;
130 bool m_updateDateTimeHasBeenSet = false;
131
133 bool m_statusHasBeenSet = false;
134
136 bool m_progressHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace IoTTwinMaker
141} // namespace Aws
const MetadataTransferJobProgress & GetProgress() const
MetadataTransferJobSummary & WithProgress(const MetadataTransferJobProgress &value)
MetadataTransferJobSummary & WithArn(const char *value)
void SetUpdateDateTime(const Aws::Utils::DateTime &value)
MetadataTransferJobSummary & WithUpdateDateTime(Aws::Utils::DateTime &&value)
MetadataTransferJobSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
MetadataTransferJobSummary & WithStatus(const MetadataTransferJobStatus &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
void SetProgress(const MetadataTransferJobProgress &value)
AWS_IOTTWINMAKER_API MetadataTransferJobSummary(Aws::Utils::Json::JsonView jsonValue)
MetadataTransferJobSummary & WithUpdateDateTime(const Aws::Utils::DateTime &value)
MetadataTransferJobSummary & WithMetadataTransferJobId(const char *value)
MetadataTransferJobSummary & WithMetadataTransferJobId(Aws::String &&value)
MetadataTransferJobSummary & WithStatus(MetadataTransferJobStatus &&value)
MetadataTransferJobSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
MetadataTransferJobSummary & WithMetadataTransferJobId(const Aws::String &value)
void SetStatus(const MetadataTransferJobStatus &value)
MetadataTransferJobSummary & WithArn(const Aws::String &value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
MetadataTransferJobSummary & WithArn(Aws::String &&value)
AWS_IOTTWINMAKER_API MetadataTransferJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
MetadataTransferJobSummary & WithProgress(MetadataTransferJobProgress &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue