AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3Location.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_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 ElasticBeanstalk
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ELASTICBEANSTALK_API S3Location();
36 AWS_ELASTICBEANSTALK_API S3Location(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICBEANSTALK_API S3Location& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_ELASTICBEANSTALK_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 S3Location& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
53 inline S3Location& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
54 inline S3Location& 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 S3Location& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;}
67 inline S3Location& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;}
68 inline S3Location& 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 ElasticBeanstalk
81} // namespace Aws
const Aws::String & GetS3Key() const
Definition S3Location.h:61
void SetS3Key(Aws::String &&value)
Definition S3Location.h:64
S3Location & WithS3Key(const char *value)
Definition S3Location.h:68
void SetS3Bucket(Aws::String &&value)
Definition S3Location.h:50
AWS_ELASTICBEANSTALK_API S3Location & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
S3Location & WithS3Bucket(const char *value)
Definition S3Location.h:54
void SetS3Key(const Aws::String &value)
Definition S3Location.h:63
void SetS3Bucket(const char *value)
Definition S3Location.h:51
const Aws::String & GetS3Bucket() const
Definition S3Location.h:47
AWS_ELASTICBEANSTALK_API S3Location(const Aws::Utils::Xml::XmlNode &xmlNode)
S3Location & WithS3Key(Aws::String &&value)
Definition S3Location.h:67
AWS_ELASTICBEANSTALK_API S3Location()
void SetS3Bucket(const Aws::String &value)
Definition S3Location.h:49
S3Location & WithS3Bucket(const Aws::String &value)
Definition S3Location.h:52
S3Location & WithS3Bucket(Aws::String &&value)
Definition S3Location.h:53
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
S3Location & WithS3Key(const Aws::String &value)
Definition S3Location.h:66
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream