AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
S3ManifestOutputLocation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3control/S3Control_EXPORTS.h>
9#include <aws/s3control/model/GeneratedManifestEncryption.h>
10#include <aws/s3control/model/GeneratedManifestFormat.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3Control {
21namespace Model {
22
30 public:
31 AWS_S3CONTROL_API S3ManifestOutputLocation() = default;
32 AWS_S3CONTROL_API S3ManifestOutputLocation(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
36
38
41 inline const Aws::String& GetExpectedManifestBucketOwner() const { return m_expectedManifestBucketOwner; }
42 inline bool ExpectedManifestBucketOwnerHasBeenSet() const { return m_expectedManifestBucketOwnerHasBeenSet; }
43 template <typename ExpectedManifestBucketOwnerT = Aws::String>
44 void SetExpectedManifestBucketOwner(ExpectedManifestBucketOwnerT&& value) {
45 m_expectedManifestBucketOwnerHasBeenSet = true;
46 m_expectedManifestBucketOwner = std::forward<ExpectedManifestBucketOwnerT>(value);
47 }
48 template <typename ExpectedManifestBucketOwnerT = Aws::String>
49 S3ManifestOutputLocation& WithExpectedManifestBucketOwner(ExpectedManifestBucketOwnerT&& value) {
50 SetExpectedManifestBucketOwner(std::forward<ExpectedManifestBucketOwnerT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::String& GetBucket() const { return m_bucket; }
62 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
63 template <typename BucketT = Aws::String>
64 void SetBucket(BucketT&& value) {
65 m_bucketHasBeenSet = true;
66 m_bucket = std::forward<BucketT>(value);
67 }
68 template <typename BucketT = Aws::String>
70 SetBucket(std::forward<BucketT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetManifestPrefix() const { return m_manifestPrefix; }
80 inline bool ManifestPrefixHasBeenSet() const { return m_manifestPrefixHasBeenSet; }
81 template <typename ManifestPrefixT = Aws::String>
82 void SetManifestPrefix(ManifestPrefixT&& value) {
83 m_manifestPrefixHasBeenSet = true;
84 m_manifestPrefix = std::forward<ManifestPrefixT>(value);
85 }
86 template <typename ManifestPrefixT = Aws::String>
87 S3ManifestOutputLocation& WithManifestPrefix(ManifestPrefixT&& value) {
88 SetManifestPrefix(std::forward<ManifestPrefixT>(value));
89 return *this;
90 }
92
94
98 inline const GeneratedManifestEncryption& GetManifestEncryption() const { return m_manifestEncryption; }
99 inline bool ManifestEncryptionHasBeenSet() const { return m_manifestEncryptionHasBeenSet; }
100 template <typename ManifestEncryptionT = GeneratedManifestEncryption>
101 void SetManifestEncryption(ManifestEncryptionT&& value) {
102 m_manifestEncryptionHasBeenSet = true;
103 m_manifestEncryption = std::forward<ManifestEncryptionT>(value);
104 }
105 template <typename ManifestEncryptionT = GeneratedManifestEncryption>
106 S3ManifestOutputLocation& WithManifestEncryption(ManifestEncryptionT&& value) {
107 SetManifestEncryption(std::forward<ManifestEncryptionT>(value));
108 return *this;
109 }
111
113
116 inline GeneratedManifestFormat GetManifestFormat() const { return m_manifestFormat; }
117 inline bool ManifestFormatHasBeenSet() const { return m_manifestFormatHasBeenSet; }
119 m_manifestFormatHasBeenSet = true;
120 m_manifestFormat = value;
121 }
123 SetManifestFormat(value);
124 return *this;
125 }
127 private:
128 Aws::String m_expectedManifestBucketOwner;
129
130 Aws::String m_bucket;
131
132 Aws::String m_manifestPrefix;
133
134 GeneratedManifestEncryption m_manifestEncryption;
135
137 bool m_expectedManifestBucketOwnerHasBeenSet = false;
138 bool m_bucketHasBeenSet = false;
139 bool m_manifestPrefixHasBeenSet = false;
140 bool m_manifestEncryptionHasBeenSet = false;
141 bool m_manifestFormatHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace S3Control
146} // namespace Aws
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const GeneratedManifestEncryption & GetManifestEncryption() const
S3ManifestOutputLocation & WithBucket(BucketT &&value)
S3ManifestOutputLocation & WithManifestEncryption(ManifestEncryptionT &&value)
AWS_S3CONTROL_API S3ManifestOutputLocation(const Aws::Utils::Xml::XmlNode &xmlNode)
S3ManifestOutputLocation & WithManifestFormat(GeneratedManifestFormat value)
AWS_S3CONTROL_API S3ManifestOutputLocation()=default
void SetExpectedManifestBucketOwner(ExpectedManifestBucketOwnerT &&value)
void SetManifestFormat(GeneratedManifestFormat value)
S3ManifestOutputLocation & WithExpectedManifestBucketOwner(ExpectedManifestBucketOwnerT &&value)
S3ManifestOutputLocation & WithManifestPrefix(ManifestPrefixT &&value)
AWS_S3CONTROL_API S3ManifestOutputLocation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String