AWS SDK for C++  1.9.153
AWS SDK for C++
ExportTaskS3LocationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace EC2
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
47 
51  inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
52 
56  inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
57 
61  inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
62 
66  inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
67 
71  inline ExportTaskS3LocationRequest& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
72 
76  inline ExportTaskS3LocationRequest& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
77 
81  inline ExportTaskS3LocationRequest& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
82 
83 
87  inline const Aws::String& GetS3Prefix() const{ return m_s3Prefix; }
88 
92  inline bool S3PrefixHasBeenSet() const { return m_s3PrefixHasBeenSet; }
93 
97  inline void SetS3Prefix(const Aws::String& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = value; }
98 
102  inline void SetS3Prefix(Aws::String&& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = std::move(value); }
103 
107  inline void SetS3Prefix(const char* value) { m_s3PrefixHasBeenSet = true; m_s3Prefix.assign(value); }
108 
112  inline ExportTaskS3LocationRequest& WithS3Prefix(const Aws::String& value) { SetS3Prefix(value); return *this;}
113 
117  inline ExportTaskS3LocationRequest& WithS3Prefix(Aws::String&& value) { SetS3Prefix(std::move(value)); return *this;}
118 
122  inline ExportTaskS3LocationRequest& WithS3Prefix(const char* value) { SetS3Prefix(value); return *this;}
123 
124  private:
125 
126  Aws::String m_s3Bucket;
127  bool m_s3BucketHasBeenSet;
128 
129  Aws::String m_s3Prefix;
130  bool m_s3PrefixHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace EC2
135 } // namespace Aws
Aws::EC2::Model::ExportTaskS3LocationRequest::SetS3Prefix
void SetS3Prefix(Aws::String &&value)
Definition: ExportTaskS3LocationRequest.h:102
Aws::EC2::Model::ExportTaskS3LocationRequest::WithS3Bucket
ExportTaskS3LocationRequest & WithS3Bucket(Aws::String &&value)
Definition: ExportTaskS3LocationRequest.h:76
Aws::EC2::Model::ExportTaskS3LocationRequest::WithS3Prefix
ExportTaskS3LocationRequest & WithS3Prefix(const char *value)
Definition: ExportTaskS3LocationRequest.h:122
Aws::EC2::Model::ExportTaskS3LocationRequest
Definition: ExportTaskS3LocationRequest.h:33
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::ExportTaskS3LocationRequest::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::ExportTaskS3LocationRequest::SetS3Bucket
void SetS3Bucket(Aws::String &&value)
Definition: ExportTaskS3LocationRequest.h:61
Aws::EC2::Model::ExportTaskS3LocationRequest::WithS3Bucket
ExportTaskS3LocationRequest & WithS3Bucket(const Aws::String &value)
Definition: ExportTaskS3LocationRequest.h:71
AWSStreamFwd.h
Aws::EC2::Model::ExportTaskS3LocationRequest::S3PrefixHasBeenSet
bool S3PrefixHasBeenSet() const
Definition: ExportTaskS3LocationRequest.h:92
Aws::EC2::Model::ExportTaskS3LocationRequest::SetS3Prefix
void SetS3Prefix(const Aws::String &value)
Definition: ExportTaskS3LocationRequest.h:97
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::ExportTaskS3LocationRequest::ExportTaskS3LocationRequest
ExportTaskS3LocationRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::ExportTaskS3LocationRequest::S3BucketHasBeenSet
bool S3BucketHasBeenSet() const
Definition: ExportTaskS3LocationRequest.h:51
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::ExportTaskS3LocationRequest::operator=
ExportTaskS3LocationRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::ExportTaskS3LocationRequest::GetS3Bucket
const Aws::String & GetS3Bucket() const
Definition: ExportTaskS3LocationRequest.h:46
AWSString.h
Aws::EC2::Model::ExportTaskS3LocationRequest::SetS3Bucket
void SetS3Bucket(const Aws::String &value)
Definition: ExportTaskS3LocationRequest.h:56
Aws::EC2::Model::ExportTaskS3LocationRequest::SetS3Prefix
void SetS3Prefix(const char *value)
Definition: ExportTaskS3LocationRequest.h:107
Aws::EC2::Model::ExportTaskS3LocationRequest::ExportTaskS3LocationRequest
ExportTaskS3LocationRequest()
Aws::EC2::Model::ExportTaskS3LocationRequest::WithS3Prefix
ExportTaskS3LocationRequest & WithS3Prefix(Aws::String &&value)
Definition: ExportTaskS3LocationRequest.h:117
Aws::EC2::Model::ExportTaskS3LocationRequest::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ExportTaskS3LocationRequest::WithS3Prefix
ExportTaskS3LocationRequest & WithS3Prefix(const Aws::String &value)
Definition: ExportTaskS3LocationRequest.h:112
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::ExportTaskS3LocationRequest::GetS3Prefix
const Aws::String & GetS3Prefix() const
Definition: ExportTaskS3LocationRequest.h:87
Aws::EC2::Model::ExportTaskS3LocationRequest::SetS3Bucket
void SetS3Bucket(const char *value)
Definition: ExportTaskS3LocationRequest.h:66
Aws::EC2::Model::ExportTaskS3LocationRequest::WithS3Bucket
ExportTaskS3LocationRequest & WithS3Bucket(const char *value)
Definition: ExportTaskS3LocationRequest.h:81
EC2_EXPORTS.h