AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserBucketDetails.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace EC2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_EC2_API UserBucketDetails();
36 AWS_EC2_API UserBucketDetails(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
48 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
49 inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
50 inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
51 inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
52 inline UserBucketDetails& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
53 inline UserBucketDetails& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
54 inline UserBucketDetails& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
56
58
61 inline const Aws::String& GetS3Key() const{ return m_s3Key; }
62 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
63 inline void SetS3Key(const Aws::String& value) { m_s3KeyHasBeenSet = true; m_s3Key = value; }
64 inline void SetS3Key(Aws::String&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::move(value); }
65 inline void SetS3Key(const char* value) { m_s3KeyHasBeenSet = true; m_s3Key.assign(value); }
66 inline UserBucketDetails& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;}
67 inline UserBucketDetails& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;}
68 inline UserBucketDetails& WithS3Key(const char* value) { SetS3Key(value); return *this;}
70 private:
71
72 Aws::String m_s3Bucket;
73 bool m_s3BucketHasBeenSet = false;
74
75 Aws::String m_s3Key;
76 bool m_s3KeyHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace EC2
81} // namespace Aws
const Aws::String & GetS3Key() const
void SetS3Bucket(Aws::String &&value)
UserBucketDetails & WithS3Key(const Aws::String &value)
UserBucketDetails & WithS3Key(Aws::String &&value)
UserBucketDetails & WithS3Bucket(const Aws::String &value)
UserBucketDetails & WithS3Key(const char *value)
void SetS3Key(Aws::String &&value)
void SetS3Key(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API UserBucketDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetS3Bucket(const Aws::String &value)
UserBucketDetails & WithS3Bucket(Aws::String &&value)
AWS_EC2_API UserBucketDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetS3Bucket() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
UserBucketDetails & WithS3Bucket(const char *value)
void SetS3Bucket(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream