AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
S3JobManifestGenerator.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/JobManifestGeneratorFilter.h>
10#include <aws/s3control/model/S3ManifestOutputLocation.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 S3JobManifestGenerator() = default;
32 AWS_S3CONTROL_API S3JobManifestGenerator(const Aws::Utils::Xml::XmlNode& xmlNode);
33 AWS_S3CONTROL_API S3JobManifestGenerator& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
36
38
43 inline const Aws::String& GetExpectedBucketOwner() const { return m_expectedBucketOwner; }
44 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
45 template <typename ExpectedBucketOwnerT = Aws::String>
46 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) {
47 m_expectedBucketOwnerHasBeenSet = true;
48 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
49 }
50 template <typename ExpectedBucketOwnerT = Aws::String>
51 S3JobManifestGenerator& WithExpectedBucketOwner(ExpectedBucketOwnerT&& value) {
52 SetExpectedBucketOwner(std::forward<ExpectedBucketOwnerT>(value));
53 return *this;
54 }
56
58
64 inline const Aws::String& GetSourceBucket() const { return m_sourceBucket; }
65 inline bool SourceBucketHasBeenSet() const { return m_sourceBucketHasBeenSet; }
66 template <typename SourceBucketT = Aws::String>
67 void SetSourceBucket(SourceBucketT&& value) {
68 m_sourceBucketHasBeenSet = true;
69 m_sourceBucket = std::forward<SourceBucketT>(value);
70 }
71 template <typename SourceBucketT = Aws::String>
72 S3JobManifestGenerator& WithSourceBucket(SourceBucketT&& value) {
73 SetSourceBucket(std::forward<SourceBucketT>(value));
74 return *this;
75 }
77
79
85 inline const S3ManifestOutputLocation& GetManifestOutputLocation() const { return m_manifestOutputLocation; }
86 inline bool ManifestOutputLocationHasBeenSet() const { return m_manifestOutputLocationHasBeenSet; }
87 template <typename ManifestOutputLocationT = S3ManifestOutputLocation>
88 void SetManifestOutputLocation(ManifestOutputLocationT&& value) {
89 m_manifestOutputLocationHasBeenSet = true;
90 m_manifestOutputLocation = std::forward<ManifestOutputLocationT>(value);
91 }
92 template <typename ManifestOutputLocationT = S3ManifestOutputLocation>
93 S3JobManifestGenerator& WithManifestOutputLocation(ManifestOutputLocationT&& value) {
94 SetManifestOutputLocation(std::forward<ManifestOutputLocationT>(value));
95 return *this;
96 }
98
100
105 inline const JobManifestGeneratorFilter& GetFilter() const { return m_filter; }
106 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
107 template <typename FilterT = JobManifestGeneratorFilter>
108 void SetFilter(FilterT&& value) {
109 m_filterHasBeenSet = true;
110 m_filter = std::forward<FilterT>(value);
111 }
112 template <typename FilterT = JobManifestGeneratorFilter>
114 SetFilter(std::forward<FilterT>(value));
115 return *this;
116 }
118
120
124 inline bool GetEnableManifestOutput() const { return m_enableManifestOutput; }
125 inline bool EnableManifestOutputHasBeenSet() const { return m_enableManifestOutputHasBeenSet; }
126 inline void SetEnableManifestOutput(bool value) {
127 m_enableManifestOutputHasBeenSet = true;
128 m_enableManifestOutput = value;
129 }
132 return *this;
133 }
135 private:
136 Aws::String m_expectedBucketOwner;
137
138 Aws::String m_sourceBucket;
139
140 S3ManifestOutputLocation m_manifestOutputLocation;
141
143
144 bool m_enableManifestOutput{false};
145 bool m_expectedBucketOwnerHasBeenSet = false;
146 bool m_sourceBucketHasBeenSet = false;
147 bool m_manifestOutputLocationHasBeenSet = false;
148 bool m_filterHasBeenSet = false;
149 bool m_enableManifestOutputHasBeenSet = false;
150};
151
152} // namespace Model
153} // namespace S3Control
154} // namespace Aws
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CONTROL_API S3JobManifestGenerator()=default
S3JobManifestGenerator & WithEnableManifestOutput(bool value)
S3JobManifestGenerator & WithManifestOutputLocation(ManifestOutputLocationT &&value)
const JobManifestGeneratorFilter & GetFilter() const
AWS_S3CONTROL_API S3JobManifestGenerator & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
S3JobManifestGenerator & WithSourceBucket(SourceBucketT &&value)
void SetManifestOutputLocation(ManifestOutputLocationT &&value)
S3JobManifestGenerator & WithFilter(FilterT &&value)
S3JobManifestGenerator & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
const S3ManifestOutputLocation & GetManifestOutputLocation() const
AWS_S3CONTROL_API S3JobManifestGenerator(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String