AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; }
52 inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); }
53 inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); }
55 inline S3JobManifestGenerator& WithExpectedBucketOwner(Aws::String&& value) { SetExpectedBucketOwner(std::move(value)); return *this;}
56 inline S3JobManifestGenerator& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;}
58
60
66 inline const Aws::String& GetSourceBucket() const{ return m_sourceBucket; }
67 inline bool SourceBucketHasBeenSet() const { return m_sourceBucketHasBeenSet; }
68 inline void SetSourceBucket(const Aws::String& value) { m_sourceBucketHasBeenSet = true; m_sourceBucket = value; }
69 inline void SetSourceBucket(Aws::String&& value) { m_sourceBucketHasBeenSet = true; m_sourceBucket = std::move(value); }
70 inline void SetSourceBucket(const char* value) { m_sourceBucketHasBeenSet = true; m_sourceBucket.assign(value); }
71 inline S3JobManifestGenerator& WithSourceBucket(const Aws::String& value) { SetSourceBucket(value); return *this;}
72 inline S3JobManifestGenerator& WithSourceBucket(Aws::String&& value) { SetSourceBucket(std::move(value)); return *this;}
73 inline S3JobManifestGenerator& WithSourceBucket(const char* value) { SetSourceBucket(value); return *this;}
75
77
83 inline const S3ManifestOutputLocation& GetManifestOutputLocation() const{ return m_manifestOutputLocation; }
84 inline bool ManifestOutputLocationHasBeenSet() const { return m_manifestOutputLocationHasBeenSet; }
85 inline void SetManifestOutputLocation(const S3ManifestOutputLocation& value) { m_manifestOutputLocationHasBeenSet = true; m_manifestOutputLocation = value; }
86 inline void SetManifestOutputLocation(S3ManifestOutputLocation&& value) { m_manifestOutputLocationHasBeenSet = true; m_manifestOutputLocation = std::move(value); }
90
92
97 inline const JobManifestGeneratorFilter& GetFilter() const{ return m_filter; }
98 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
99 inline void SetFilter(const JobManifestGeneratorFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
100 inline void SetFilter(JobManifestGeneratorFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
101 inline S3JobManifestGenerator& WithFilter(const JobManifestGeneratorFilter& value) { SetFilter(value); return *this;}
102 inline S3JobManifestGenerator& WithFilter(JobManifestGeneratorFilter&& value) { SetFilter(std::move(value)); return *this;}
104
106
110 inline bool GetEnableManifestOutput() const{ return m_enableManifestOutput; }
111 inline bool EnableManifestOutputHasBeenSet() const { return m_enableManifestOutputHasBeenSet; }
112 inline void SetEnableManifestOutput(bool value) { m_enableManifestOutputHasBeenSet = true; m_enableManifestOutput = value; }
115 private:
116
117 Aws::String m_expectedBucketOwner;
118 bool m_expectedBucketOwnerHasBeenSet = false;
119
120 Aws::String m_sourceBucket;
121 bool m_sourceBucketHasBeenSet = false;
122
123 S3ManifestOutputLocation m_manifestOutputLocation;
124 bool m_manifestOutputLocationHasBeenSet = false;
125
127 bool m_filterHasBeenSet = false;
128
129 bool m_enableManifestOutput;
130 bool m_enableManifestOutputHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace S3Control
135} // namespace Aws
S3JobManifestGenerator & WithSourceBucket(Aws::String &&value)
S3JobManifestGenerator & WithFilter(JobManifestGeneratorFilter &&value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
S3JobManifestGenerator & WithEnableManifestOutput(bool value)
void SetManifestOutputLocation(S3ManifestOutputLocation &&value)
S3JobManifestGenerator & WithExpectedBucketOwner(const Aws::String &value)
const JobManifestGeneratorFilter & GetFilter() const
AWS_S3CONTROL_API S3JobManifestGenerator & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetFilter(const JobManifestGeneratorFilter &value)
S3JobManifestGenerator & WithManifestOutputLocation(const S3ManifestOutputLocation &value)
void SetManifestOutputLocation(const S3ManifestOutputLocation &value)
S3JobManifestGenerator & WithExpectedBucketOwner(Aws::String &&value)
S3JobManifestGenerator & WithSourceBucket(const Aws::String &value)
S3JobManifestGenerator & WithSourceBucket(const char *value)
const S3ManifestOutputLocation & GetManifestOutputLocation() const
S3JobManifestGenerator & WithFilter(const JobManifestGeneratorFilter &value)
S3JobManifestGenerator & WithExpectedBucketOwner(const char *value)
S3JobManifestGenerator & WithManifestOutputLocation(S3ManifestOutputLocation &&value)
void SetExpectedBucketOwner(const Aws::String &value)
void SetFilter(JobManifestGeneratorFilter &&value)
AWS_S3CONTROL_API S3JobManifestGenerator(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String