AWS SDK for C++  1.9.160
AWS SDK for C++
ExportToS3TaskSpecification.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace EC2
24 {
25 namespace Model
26 {
27 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
48  inline const ContainerFormat& GetContainerFormat() const{ return m_containerFormat; }
49 
54  inline bool ContainerFormatHasBeenSet() const { return m_containerFormatHasBeenSet; }
55 
60  inline void SetContainerFormat(const ContainerFormat& value) { m_containerFormatHasBeenSet = true; m_containerFormat = value; }
61 
66  inline void SetContainerFormat(ContainerFormat&& value) { m_containerFormatHasBeenSet = true; m_containerFormat = std::move(value); }
67 
72  inline ExportToS3TaskSpecification& WithContainerFormat(const ContainerFormat& value) { SetContainerFormat(value); return *this;}
73 
78  inline ExportToS3TaskSpecification& WithContainerFormat(ContainerFormat&& value) { SetContainerFormat(std::move(value)); return *this;}
79 
80 
84  inline const DiskImageFormat& GetDiskImageFormat() const{ return m_diskImageFormat; }
85 
89  inline bool DiskImageFormatHasBeenSet() const { return m_diskImageFormatHasBeenSet; }
90 
94  inline void SetDiskImageFormat(const DiskImageFormat& value) { m_diskImageFormatHasBeenSet = true; m_diskImageFormat = value; }
95 
99  inline void SetDiskImageFormat(DiskImageFormat&& value) { m_diskImageFormatHasBeenSet = true; m_diskImageFormat = std::move(value); }
100 
104  inline ExportToS3TaskSpecification& WithDiskImageFormat(const DiskImageFormat& value) { SetDiskImageFormat(value); return *this;}
105 
109  inline ExportToS3TaskSpecification& WithDiskImageFormat(DiskImageFormat&& value) { SetDiskImageFormat(std::move(value)); return *this;}
110 
111 
117  inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
118 
124  inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
125 
131  inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
132 
138  inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
139 
145  inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
146 
152  inline ExportToS3TaskSpecification& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
153 
159  inline ExportToS3TaskSpecification& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
160 
166  inline ExportToS3TaskSpecification& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
167 
168 
173  inline const Aws::String& GetS3Prefix() const{ return m_s3Prefix; }
174 
179  inline bool S3PrefixHasBeenSet() const { return m_s3PrefixHasBeenSet; }
180 
185  inline void SetS3Prefix(const Aws::String& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = value; }
186 
191  inline void SetS3Prefix(Aws::String&& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = std::move(value); }
192 
197  inline void SetS3Prefix(const char* value) { m_s3PrefixHasBeenSet = true; m_s3Prefix.assign(value); }
198 
203  inline ExportToS3TaskSpecification& WithS3Prefix(const Aws::String& value) { SetS3Prefix(value); return *this;}
204 
209  inline ExportToS3TaskSpecification& WithS3Prefix(Aws::String&& value) { SetS3Prefix(std::move(value)); return *this;}
210 
215  inline ExportToS3TaskSpecification& WithS3Prefix(const char* value) { SetS3Prefix(value); return *this;}
216 
217  private:
218 
219  ContainerFormat m_containerFormat;
220  bool m_containerFormatHasBeenSet;
221 
222  DiskImageFormat m_diskImageFormat;
223  bool m_diskImageFormatHasBeenSet;
224 
225  Aws::String m_s3Bucket;
226  bool m_s3BucketHasBeenSet;
227 
228  Aws::String m_s3Prefix;
229  bool m_s3PrefixHasBeenSet;
230  };
231 
232 } // namespace Model
233 } // namespace EC2
234 } // namespace Aws
Aws::EC2::Model::ExportToS3TaskSpecification::SetDiskImageFormat
void SetDiskImageFormat(DiskImageFormat &&value)
Definition: ExportToS3TaskSpecification.h:99
Aws::EC2::Model::ExportToS3TaskSpecification::WithS3Prefix
ExportToS3TaskSpecification & WithS3Prefix(const Aws::String &value)
Definition: ExportToS3TaskSpecification.h:203
Aws::EC2::Model::ExportToS3TaskSpecification::S3BucketHasBeenSet
bool S3BucketHasBeenSet() const
Definition: ExportToS3TaskSpecification.h:124
Aws::EC2::Model::ExportToS3TaskSpecification::GetS3Prefix
const Aws::String & GetS3Prefix() const
Definition: ExportToS3TaskSpecification.h:173
Aws::EC2::Model::ExportToS3TaskSpecification::WithS3Bucket
ExportToS3TaskSpecification & WithS3Bucket(const Aws::String &value)
Definition: ExportToS3TaskSpecification.h:152
Aws::EC2::Model::ExportToS3TaskSpecification::SetS3Prefix
void SetS3Prefix(Aws::String &&value)
Definition: ExportToS3TaskSpecification.h:191
Aws::EC2::Model::ExportToS3TaskSpecification::WithContainerFormat
ExportToS3TaskSpecification & WithContainerFormat(const ContainerFormat &value)
Definition: ExportToS3TaskSpecification.h:72
Aws::EC2::Model::ExportToS3TaskSpecification::SetS3Prefix
void SetS3Prefix(const char *value)
Definition: ExportToS3TaskSpecification.h:197
Aws::EC2::Model::ExportToS3TaskSpecification::SetDiskImageFormat
void SetDiskImageFormat(const DiskImageFormat &value)
Definition: ExportToS3TaskSpecification.h:94
Aws::EC2::Model::ExportToS3TaskSpecification::S3PrefixHasBeenSet
bool S3PrefixHasBeenSet() const
Definition: ExportToS3TaskSpecification.h:179
ContainerFormat.h
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::ExportToS3TaskSpecification::WithDiskImageFormat
ExportToS3TaskSpecification & WithDiskImageFormat(DiskImageFormat &&value)
Definition: ExportToS3TaskSpecification.h:109
Aws::EC2::Model::ExportToS3TaskSpecification::SetS3Bucket
void SetS3Bucket(const Aws::String &value)
Definition: ExportToS3TaskSpecification.h:131
Aws::EC2::Model::ExportToS3TaskSpecification::WithS3Prefix
ExportToS3TaskSpecification & WithS3Prefix(Aws::String &&value)
Definition: ExportToS3TaskSpecification.h:209
AWSStreamFwd.h
Aws::EC2::Model::ExportToS3TaskSpecification::ExportToS3TaskSpecification
ExportToS3TaskSpecification()
Aws::EC2::Model::ExportToS3TaskSpecification::SetS3Prefix
void SetS3Prefix(const Aws::String &value)
Definition: ExportToS3TaskSpecification.h:185
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::ExportToS3TaskSpecification::WithContainerFormat
ExportToS3TaskSpecification & WithContainerFormat(ContainerFormat &&value)
Definition: ExportToS3TaskSpecification.h:78
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::ExportToS3TaskSpecification::SetS3Bucket
void SetS3Bucket(const char *value)
Definition: ExportToS3TaskSpecification.h:145
Aws::EC2::Model::DiskImageFormat
DiskImageFormat
Definition: DiskImageFormat.h:17
Aws::EC2::Model::ExportToS3TaskSpecification::operator=
ExportToS3TaskSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSString.h
Aws::EC2::Model::ExportToS3TaskSpecification::ExportToS3TaskSpecification
ExportToS3TaskSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::ContainerFormat
ContainerFormat
Definition: ContainerFormat.h:17
Aws::EC2::Model::ExportToS3TaskSpecification::WithDiskImageFormat
ExportToS3TaskSpecification & WithDiskImageFormat(const DiskImageFormat &value)
Definition: ExportToS3TaskSpecification.h:104
Aws::EC2::Model::ExportToS3TaskSpecification::SetS3Bucket
void SetS3Bucket(Aws::String &&value)
Definition: ExportToS3TaskSpecification.h:138
Aws::EC2::Model::ExportToS3TaskSpecification::GetDiskImageFormat
const DiskImageFormat & GetDiskImageFormat() const
Definition: ExportToS3TaskSpecification.h:84
Aws::EC2::Model::ExportToS3TaskSpecification
Definition: ExportToS3TaskSpecification.h:34
Aws::EC2::Model::ExportToS3TaskSpecification::WithS3Prefix
ExportToS3TaskSpecification & WithS3Prefix(const char *value)
Definition: ExportToS3TaskSpecification.h:215
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ExportToS3TaskSpecification::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::ExportToS3TaskSpecification::ContainerFormatHasBeenSet
bool ContainerFormatHasBeenSet() const
Definition: ExportToS3TaskSpecification.h:54
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::ExportToS3TaskSpecification::WithS3Bucket
ExportToS3TaskSpecification & WithS3Bucket(Aws::String &&value)
Definition: ExportToS3TaskSpecification.h:159
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::ExportToS3TaskSpecification::SetContainerFormat
void SetContainerFormat(const ContainerFormat &value)
Definition: ExportToS3TaskSpecification.h:60
Aws::EC2::Model::ExportToS3TaskSpecification::GetS3Bucket
const Aws::String & GetS3Bucket() const
Definition: ExportToS3TaskSpecification.h:117
Aws::EC2::Model::ExportToS3TaskSpecification::WithS3Bucket
ExportToS3TaskSpecification & WithS3Bucket(const char *value)
Definition: ExportToS3TaskSpecification.h:166
DiskImageFormat.h
EC2_EXPORTS.h
Aws::EC2::Model::ExportToS3TaskSpecification::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::ExportToS3TaskSpecification::GetContainerFormat
const ContainerFormat & GetContainerFormat() const
Definition: ExportToS3TaskSpecification.h:48
Aws::EC2::Model::ExportToS3TaskSpecification::SetContainerFormat
void SetContainerFormat(ContainerFormat &&value)
Definition: ExportToS3TaskSpecification.h:66
Aws::EC2::Model::ExportToS3TaskSpecification::DiskImageFormatHasBeenSet
bool DiskImageFormatHasBeenSet() const
Definition: ExportToS3TaskSpecification.h:89