AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExportTask.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/model/ExportStatus.h>
10#include <aws/mgn/model/ExportTaskSummary.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace mgn
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MGN_API ExportTask();
37 AWS_MGN_API ExportTask(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const Aws::String& GetCreationDateTime() const{ return m_creationDateTime; }
47 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
48 inline void SetCreationDateTime(const Aws::String& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
49 inline void SetCreationDateTime(Aws::String&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
50 inline void SetCreationDateTime(const char* value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime.assign(value); }
51 inline ExportTask& WithCreationDateTime(const Aws::String& value) { SetCreationDateTime(value); return *this;}
52 inline ExportTask& WithCreationDateTime(Aws::String&& value) { SetCreationDateTime(std::move(value)); return *this;}
53 inline ExportTask& WithCreationDateTime(const char* value) { SetCreationDateTime(value); return *this;}
55
57
60 inline const Aws::String& GetEndDateTime() const{ return m_endDateTime; }
61 inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; }
62 inline void SetEndDateTime(const Aws::String& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = value; }
63 inline void SetEndDateTime(Aws::String&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::move(value); }
64 inline void SetEndDateTime(const char* value) { m_endDateTimeHasBeenSet = true; m_endDateTime.assign(value); }
65 inline ExportTask& WithEndDateTime(const Aws::String& value) { SetEndDateTime(value); return *this;}
66 inline ExportTask& WithEndDateTime(Aws::String&& value) { SetEndDateTime(std::move(value)); return *this;}
67 inline ExportTask& WithEndDateTime(const char* value) { SetEndDateTime(value); return *this;}
69
71
74 inline const Aws::String& GetExportID() const{ return m_exportID; }
75 inline bool ExportIDHasBeenSet() const { return m_exportIDHasBeenSet; }
76 inline void SetExportID(const Aws::String& value) { m_exportIDHasBeenSet = true; m_exportID = value; }
77 inline void SetExportID(Aws::String&& value) { m_exportIDHasBeenSet = true; m_exportID = std::move(value); }
78 inline void SetExportID(const char* value) { m_exportIDHasBeenSet = true; m_exportID.assign(value); }
79 inline ExportTask& WithExportID(const Aws::String& value) { SetExportID(value); return *this;}
80 inline ExportTask& WithExportID(Aws::String&& value) { SetExportID(std::move(value)); return *this;}
81 inline ExportTask& WithExportID(const char* value) { SetExportID(value); return *this;}
83
85
88 inline double GetProgressPercentage() const{ return m_progressPercentage; }
89 inline bool ProgressPercentageHasBeenSet() const { return m_progressPercentageHasBeenSet; }
90 inline void SetProgressPercentage(double value) { m_progressPercentageHasBeenSet = true; m_progressPercentage = value; }
91 inline ExportTask& WithProgressPercentage(double value) { SetProgressPercentage(value); return *this;}
93
95
98 inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
99 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
100 inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
101 inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
102 inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
103 inline ExportTask& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
104 inline ExportTask& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
105 inline ExportTask& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
107
109
112 inline const Aws::String& GetS3BucketOwner() const{ return m_s3BucketOwner; }
113 inline bool S3BucketOwnerHasBeenSet() const { return m_s3BucketOwnerHasBeenSet; }
114 inline void SetS3BucketOwner(const Aws::String& value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner = value; }
115 inline void SetS3BucketOwner(Aws::String&& value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner = std::move(value); }
116 inline void SetS3BucketOwner(const char* value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner.assign(value); }
117 inline ExportTask& WithS3BucketOwner(const Aws::String& value) { SetS3BucketOwner(value); return *this;}
118 inline ExportTask& WithS3BucketOwner(Aws::String&& value) { SetS3BucketOwner(std::move(value)); return *this;}
119 inline ExportTask& WithS3BucketOwner(const char* value) { SetS3BucketOwner(value); return *this;}
121
123
126 inline const Aws::String& GetS3Key() const{ return m_s3Key; }
127 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
128 inline void SetS3Key(const Aws::String& value) { m_s3KeyHasBeenSet = true; m_s3Key = value; }
129 inline void SetS3Key(Aws::String&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::move(value); }
130 inline void SetS3Key(const char* value) { m_s3KeyHasBeenSet = true; m_s3Key.assign(value); }
131 inline ExportTask& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;}
132 inline ExportTask& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;}
133 inline ExportTask& WithS3Key(const char* value) { SetS3Key(value); return *this;}
135
137
140 inline const ExportStatus& GetStatus() const{ return m_status; }
141 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
142 inline void SetStatus(const ExportStatus& value) { m_statusHasBeenSet = true; m_status = value; }
143 inline void SetStatus(ExportStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
144 inline ExportTask& WithStatus(const ExportStatus& value) { SetStatus(value); return *this;}
145 inline ExportTask& WithStatus(ExportStatus&& value) { SetStatus(std::move(value)); return *this;}
147
149
152 inline const ExportTaskSummary& GetSummary() const{ return m_summary; }
153 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
154 inline void SetSummary(const ExportTaskSummary& value) { m_summaryHasBeenSet = true; m_summary = value; }
155 inline void SetSummary(ExportTaskSummary&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); }
156 inline ExportTask& WithSummary(const ExportTaskSummary& value) { SetSummary(value); return *this;}
157 inline ExportTask& WithSummary(ExportTaskSummary&& value) { SetSummary(std::move(value)); return *this;}
159 private:
160
161 Aws::String m_creationDateTime;
162 bool m_creationDateTimeHasBeenSet = false;
163
164 Aws::String m_endDateTime;
165 bool m_endDateTimeHasBeenSet = false;
166
167 Aws::String m_exportID;
168 bool m_exportIDHasBeenSet = false;
169
170 double m_progressPercentage;
171 bool m_progressPercentageHasBeenSet = false;
172
173 Aws::String m_s3Bucket;
174 bool m_s3BucketHasBeenSet = false;
175
176 Aws::String m_s3BucketOwner;
177 bool m_s3BucketOwnerHasBeenSet = false;
178
179 Aws::String m_s3Key;
180 bool m_s3KeyHasBeenSet = false;
181
182 ExportStatus m_status;
183 bool m_statusHasBeenSet = false;
184
185 ExportTaskSummary m_summary;
186 bool m_summaryHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace mgn
191} // namespace Aws
void SetEndDateTime(Aws::String &&value)
Definition ExportTask.h:63
ExportTask & WithCreationDateTime(const char *value)
Definition ExportTask.h:53
void SetProgressPercentage(double value)
Definition ExportTask.h:90
ExportTask & WithExportID(Aws::String &&value)
Definition ExportTask.h:80
void SetS3Bucket(const char *value)
Definition ExportTask.h:102
const Aws::String & GetS3Key() const
Definition ExportTask.h:126
void SetS3Key(const Aws::String &value)
Definition ExportTask.h:128
ExportTask & WithExportID(const Aws::String &value)
Definition ExportTask.h:79
void SetExportID(Aws::String &&value)
Definition ExportTask.h:77
ExportTask & WithS3Bucket(const Aws::String &value)
Definition ExportTask.h:103
void SetCreationDateTime(const Aws::String &value)
Definition ExportTask.h:48
bool S3BucketOwnerHasBeenSet() const
Definition ExportTask.h:113
void SetCreationDateTime(const char *value)
Definition ExportTask.h:50
void SetS3BucketOwner(const Aws::String &value)
Definition ExportTask.h:114
ExportTask & WithCreationDateTime(const Aws::String &value)
Definition ExportTask.h:51
ExportTask & WithS3BucketOwner(const Aws::String &value)
Definition ExportTask.h:117
void SetSummary(ExportTaskSummary &&value)
Definition ExportTask.h:155
void SetStatus(const ExportStatus &value)
Definition ExportTask.h:142
void SetCreationDateTime(Aws::String &&value)
Definition ExportTask.h:49
const ExportTaskSummary & GetSummary() const
Definition ExportTask.h:152
ExportTask & WithS3Bucket(Aws::String &&value)
Definition ExportTask.h:104
const Aws::String & GetS3BucketOwner() const
Definition ExportTask.h:112
void SetStatus(ExportStatus &&value)
Definition ExportTask.h:143
ExportTask & WithCreationDateTime(Aws::String &&value)
Definition ExportTask.h:52
bool EndDateTimeHasBeenSet() const
Definition ExportTask.h:61
ExportTask & WithEndDateTime(Aws::String &&value)
Definition ExportTask.h:66
const ExportStatus & GetStatus() const
Definition ExportTask.h:140
const Aws::String & GetExportID() const
Definition ExportTask.h:74
ExportTask & WithExportID(const char *value)
Definition ExportTask.h:81
bool S3BucketHasBeenSet() const
Definition ExportTask.h:99
ExportTask & WithS3Key(const char *value)
Definition ExportTask.h:133
ExportTask & WithStatus(ExportStatus &&value)
Definition ExportTask.h:145
ExportTask & WithSummary(const ExportTaskSummary &value)
Definition ExportTask.h:156
bool CreationDateTimeHasBeenSet() const
Definition ExportTask.h:47
ExportTask & WithS3BucketOwner(Aws::String &&value)
Definition ExportTask.h:118
const Aws::String & GetCreationDateTime() const
Definition ExportTask.h:46
AWS_MGN_API ExportTask(Aws::Utils::Json::JsonView jsonValue)
ExportTask & WithStatus(const ExportStatus &value)
Definition ExportTask.h:144
void SetS3Key(const char *value)
Definition ExportTask.h:130
void SetEndDateTime(const Aws::String &value)
Definition ExportTask.h:62
ExportTask & WithSummary(ExportTaskSummary &&value)
Definition ExportTask.h:157
ExportTask & WithS3Key(const Aws::String &value)
Definition ExportTask.h:131
void SetS3BucketOwner(Aws::String &&value)
Definition ExportTask.h:115
double GetProgressPercentage() const
Definition ExportTask.h:88
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
bool ExportIDHasBeenSet() const
Definition ExportTask.h:75
ExportTask & WithS3Key(Aws::String &&value)
Definition ExportTask.h:132
void SetEndDateTime(const char *value)
Definition ExportTask.h:64
void SetS3Key(Aws::String &&value)
Definition ExportTask.h:129
const Aws::String & GetEndDateTime() const
Definition ExportTask.h:60
ExportTask & WithS3BucketOwner(const char *value)
Definition ExportTask.h:119
AWS_MGN_API ExportTask & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetS3Bucket() const
Definition ExportTask.h:98
ExportTask & WithS3Bucket(const char *value)
Definition ExportTask.h:105
void SetS3Bucket(Aws::String &&value)
Definition ExportTask.h:101
void SetExportID(const Aws::String &value)
Definition ExportTask.h:76
ExportTask & WithEndDateTime(const char *value)
Definition ExportTask.h:67
bool ProgressPercentageHasBeenSet() const
Definition ExportTask.h:89
void SetS3Bucket(const Aws::String &value)
Definition ExportTask.h:100
void SetS3BucketOwner(const char *value)
Definition ExportTask.h:116
ExportTask & WithEndDateTime(const Aws::String &value)
Definition ExportTask.h:65
void SetExportID(const char *value)
Definition ExportTask.h:78
void SetSummary(const ExportTaskSummary &value)
Definition ExportTask.h:154
ExportTask & WithProgressPercentage(double value)
Definition ExportTask.h:91
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue