AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExportImageResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/DiskImageFormat.h>
10#include <aws/ec2/model/ExportTaskS3Location.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/ResponseMetadata.h>
13#include <aws/ec2/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Xml
24{
25 class XmlDocument;
26} // namespace Xml
27} // namespace Utils
28namespace EC2
29{
30namespace Model
31{
33 {
34 public:
35 AWS_EC2_API ExportImageResponse();
38
39
41
44 inline const Aws::String& GetDescription() const{ return m_description; }
45 inline void SetDescription(const Aws::String& value) { m_description = value; }
46 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
47 inline void SetDescription(const char* value) { m_description.assign(value); }
48 inline ExportImageResponse& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
49 inline ExportImageResponse& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
50 inline ExportImageResponse& WithDescription(const char* value) { SetDescription(value); return *this;}
52
54
57 inline const DiskImageFormat& GetDiskImageFormat() const{ return m_diskImageFormat; }
58 inline void SetDiskImageFormat(const DiskImageFormat& value) { m_diskImageFormat = value; }
59 inline void SetDiskImageFormat(DiskImageFormat&& value) { m_diskImageFormat = std::move(value); }
60 inline ExportImageResponse& WithDiskImageFormat(const DiskImageFormat& value) { SetDiskImageFormat(value); return *this;}
61 inline ExportImageResponse& WithDiskImageFormat(DiskImageFormat&& value) { SetDiskImageFormat(std::move(value)); return *this;}
63
65
68 inline const Aws::String& GetExportImageTaskId() const{ return m_exportImageTaskId; }
69 inline void SetExportImageTaskId(const Aws::String& value) { m_exportImageTaskId = value; }
70 inline void SetExportImageTaskId(Aws::String&& value) { m_exportImageTaskId = std::move(value); }
71 inline void SetExportImageTaskId(const char* value) { m_exportImageTaskId.assign(value); }
72 inline ExportImageResponse& WithExportImageTaskId(const Aws::String& value) { SetExportImageTaskId(value); return *this;}
73 inline ExportImageResponse& WithExportImageTaskId(Aws::String&& value) { SetExportImageTaskId(std::move(value)); return *this;}
74 inline ExportImageResponse& WithExportImageTaskId(const char* value) { SetExportImageTaskId(value); return *this;}
76
78
81 inline const Aws::String& GetImageId() const{ return m_imageId; }
82 inline void SetImageId(const Aws::String& value) { m_imageId = value; }
83 inline void SetImageId(Aws::String&& value) { m_imageId = std::move(value); }
84 inline void SetImageId(const char* value) { m_imageId.assign(value); }
85 inline ExportImageResponse& WithImageId(const Aws::String& value) { SetImageId(value); return *this;}
86 inline ExportImageResponse& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;}
87 inline ExportImageResponse& WithImageId(const char* value) { SetImageId(value); return *this;}
89
91
95 inline const Aws::String& GetRoleName() const{ return m_roleName; }
96 inline void SetRoleName(const Aws::String& value) { m_roleName = value; }
97 inline void SetRoleName(Aws::String&& value) { m_roleName = std::move(value); }
98 inline void SetRoleName(const char* value) { m_roleName.assign(value); }
99 inline ExportImageResponse& WithRoleName(const Aws::String& value) { SetRoleName(value); return *this;}
100 inline ExportImageResponse& WithRoleName(Aws::String&& value) { SetRoleName(std::move(value)); return *this;}
101 inline ExportImageResponse& WithRoleName(const char* value) { SetRoleName(value); return *this;}
103
105
108 inline const Aws::String& GetProgress() const{ return m_progress; }
109 inline void SetProgress(const Aws::String& value) { m_progress = value; }
110 inline void SetProgress(Aws::String&& value) { m_progress = std::move(value); }
111 inline void SetProgress(const char* value) { m_progress.assign(value); }
112 inline ExportImageResponse& WithProgress(const Aws::String& value) { SetProgress(value); return *this;}
113 inline ExportImageResponse& WithProgress(Aws::String&& value) { SetProgress(std::move(value)); return *this;}
114 inline ExportImageResponse& WithProgress(const char* value) { SetProgress(value); return *this;}
116
118
121 inline const ExportTaskS3Location& GetS3ExportLocation() const{ return m_s3ExportLocation; }
122 inline void SetS3ExportLocation(const ExportTaskS3Location& value) { m_s3ExportLocation = value; }
123 inline void SetS3ExportLocation(ExportTaskS3Location&& value) { m_s3ExportLocation = std::move(value); }
125 inline ExportImageResponse& WithS3ExportLocation(ExportTaskS3Location&& value) { SetS3ExportLocation(std::move(value)); return *this;}
127
129
134 inline const Aws::String& GetStatus() const{ return m_status; }
135 inline void SetStatus(const Aws::String& value) { m_status = value; }
136 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
137 inline void SetStatus(const char* value) { m_status.assign(value); }
138 inline ExportImageResponse& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
139 inline ExportImageResponse& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
140 inline ExportImageResponse& WithStatus(const char* value) { SetStatus(value); return *this;}
142
144
147 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
148 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
149 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
150 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
151 inline ExportImageResponse& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
152 inline ExportImageResponse& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
153 inline ExportImageResponse& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
155
157
160 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
161 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
162 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
163 inline ExportImageResponse& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
164 inline ExportImageResponse& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
165 inline ExportImageResponse& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
166 inline ExportImageResponse& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
168
170
171 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
172 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
173 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
175 inline ExportImageResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
177 private:
178
179 Aws::String m_description;
180
181 DiskImageFormat m_diskImageFormat;
182
183 Aws::String m_exportImageTaskId;
184
185 Aws::String m_imageId;
186
187 Aws::String m_roleName;
188
189 Aws::String m_progress;
190
191 ExportTaskS3Location m_s3ExportLocation;
192
193 Aws::String m_status;
194
195 Aws::String m_statusMessage;
196
197 Aws::Vector<Tag> m_tags;
198
199 ResponseMetadata m_responseMetadata;
200 };
201
202} // namespace Model
203} // namespace EC2
204} // namespace Aws
void SetResponseMetadata(ResponseMetadata &&value)
ExportImageResponse & WithRoleName(const Aws::String &value)
void SetStatusMessage(Aws::String &&value)
void SetDiskImageFormat(DiskImageFormat &&value)
const ExportTaskS3Location & GetS3ExportLocation() const
void SetTags(Aws::Vector< Tag > &&value)
ExportImageResponse & WithExportImageTaskId(const Aws::String &value)
ExportImageResponse & WithRoleName(Aws::String &&value)
ExportImageResponse & WithResponseMetadata(const ResponseMetadata &value)
AWS_EC2_API ExportImageResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
ExportImageResponse & WithDiskImageFormat(const DiskImageFormat &value)
ExportImageResponse & WithExportImageTaskId(const char *value)
const Aws::String & GetExportImageTaskId() const
ExportImageResponse & WithStatusMessage(const char *value)
ExportImageResponse & WithTags(Aws::Vector< Tag > &&value)
const Aws::String & GetDescription() const
const Aws::String & GetStatus() const
ExportImageResponse & AddTags(Tag &&value)
void SetStatus(const Aws::String &value)
ExportImageResponse & WithProgress(const Aws::String &value)
ExportImageResponse & WithImageId(const Aws::String &value)
const DiskImageFormat & GetDiskImageFormat() const
ExportImageResponse & WithRoleName(const char *value)
ExportImageResponse & WithS3ExportLocation(const ExportTaskS3Location &value)
void SetTags(const Aws::Vector< Tag > &value)
ExportImageResponse & WithProgress(const char *value)
ExportImageResponse & WithStatus(const char *value)
ExportImageResponse & AddTags(const Tag &value)
ExportImageResponse & WithStatusMessage(Aws::String &&value)
const Aws::String & GetStatusMessage() const
ExportImageResponse & WithDescription(const Aws::String &value)
void SetResponseMetadata(const ResponseMetadata &value)
void SetExportImageTaskId(const Aws::String &value)
void SetRoleName(const Aws::String &value)
void SetImageId(const Aws::String &value)
ExportImageResponse & WithDescription(Aws::String &&value)
void SetExportImageTaskId(const char *value)
ExportImageResponse & WithProgress(Aws::String &&value)
ExportImageResponse & WithDescription(const char *value)
ExportImageResponse & WithExportImageTaskId(Aws::String &&value)
void SetExportImageTaskId(Aws::String &&value)
const Aws::String & GetProgress() const
ExportImageResponse & WithTags(const Aws::Vector< Tag > &value)
ExportImageResponse & WithStatusMessage(const Aws::String &value)
void SetDiskImageFormat(const DiskImageFormat &value)
void SetStatusMessage(const Aws::String &value)
ExportImageResponse & WithImageId(const char *value)
void SetProgress(const Aws::String &value)
ExportImageResponse & WithS3ExportLocation(ExportTaskS3Location &&value)
const Aws::Vector< Tag > & GetTags() const
void SetS3ExportLocation(ExportTaskS3Location &&value)
ExportImageResponse & WithResponseMetadata(ResponseMetadata &&value)
ExportImageResponse & WithDiskImageFormat(DiskImageFormat &&value)
void SetS3ExportLocation(const ExportTaskS3Location &value)
void SetDescription(Aws::String &&value)
AWS_EC2_API ExportImageResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ExportImageResponse & WithImageId(Aws::String &&value)
void SetDescription(const Aws::String &value)
ExportImageResponse & WithStatus(Aws::String &&value)
const Aws::String & GetRoleName() const
ExportImageResponse & WithStatus(const Aws::String &value)
const Aws::String & GetImageId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument