AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3JobManifestGenerator.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3control/model/S3ManifestOutputLocation.h>
10#include <aws/s3control/model/JobManifestGeneratorFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace S3Control
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_S3CONTROL_API S3JobManifestGenerator() = default;
37 AWS_S3CONTROL_API S3JobManifestGenerator(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_S3CONTROL_API S3JobManifestGenerator& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
49 inline const Aws::String& GetExpectedBucketOwner() const { return m_expectedBucketOwner; }
50 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
51 template<typename ExpectedBucketOwnerT = Aws::String>
52 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
53 template<typename ExpectedBucketOwnerT = Aws::String>
54 S3JobManifestGenerator& WithExpectedBucketOwner(ExpectedBucketOwnerT&& value) { SetExpectedBucketOwner(std::forward<ExpectedBucketOwnerT>(value)); return *this;}
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) { m_sourceBucketHasBeenSet = true; m_sourceBucket = std::forward<SourceBucketT>(value); }
68 template<typename SourceBucketT = Aws::String>
69 S3JobManifestGenerator& WithSourceBucket(SourceBucketT&& value) { SetSourceBucket(std::forward<SourceBucketT>(value)); return *this;}
71
73
79 inline const S3ManifestOutputLocation& GetManifestOutputLocation() const { return m_manifestOutputLocation; }
80 inline bool ManifestOutputLocationHasBeenSet() const { return m_manifestOutputLocationHasBeenSet; }
81 template<typename ManifestOutputLocationT = S3ManifestOutputLocation>
82 void SetManifestOutputLocation(ManifestOutputLocationT&& value) { m_manifestOutputLocationHasBeenSet = true; m_manifestOutputLocation = std::forward<ManifestOutputLocationT>(value); }
83 template<typename ManifestOutputLocationT = S3ManifestOutputLocation>
84 S3JobManifestGenerator& WithManifestOutputLocation(ManifestOutputLocationT&& value) { SetManifestOutputLocation(std::forward<ManifestOutputLocationT>(value)); return *this;}
86
88
93 inline const JobManifestGeneratorFilter& GetFilter() const { return m_filter; }
94 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
95 template<typename FilterT = JobManifestGeneratorFilter>
96 void SetFilter(FilterT&& value) { m_filterHasBeenSet = true; m_filter = std::forward<FilterT>(value); }
97 template<typename FilterT = JobManifestGeneratorFilter>
98 S3JobManifestGenerator& WithFilter(FilterT&& value) { SetFilter(std::forward<FilterT>(value)); return *this;}
100
102
106 inline bool GetEnableManifestOutput() const { return m_enableManifestOutput; }
107 inline bool EnableManifestOutputHasBeenSet() const { return m_enableManifestOutputHasBeenSet; }
108 inline void SetEnableManifestOutput(bool value) { m_enableManifestOutputHasBeenSet = true; m_enableManifestOutput = value; }
111 private:
112
113 Aws::String m_expectedBucketOwner;
114 bool m_expectedBucketOwnerHasBeenSet = false;
115
116 Aws::String m_sourceBucket;
117 bool m_sourceBucketHasBeenSet = false;
118
119 S3ManifestOutputLocation m_manifestOutputLocation;
120 bool m_manifestOutputLocationHasBeenSet = false;
121
123 bool m_filterHasBeenSet = false;
124
125 bool m_enableManifestOutput{false};
126 bool m_enableManifestOutputHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace S3Control
131} // 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