AWS SDK for C++  1.8.154
AWS SDK for C++
JobReport.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace S3Control
23 {
24 namespace Model
25 {
26 
34  {
35  public:
39 
40  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41 
42 
47  inline const Aws::String& GetBucket() const{ return m_bucket; }
48 
53  inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
54 
59  inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
60 
65  inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
66 
71  inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
72 
77  inline JobReport& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
78 
83  inline JobReport& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
84 
89  inline JobReport& WithBucket(const char* value) { SetBucket(value); return *this;}
90 
91 
95  inline const JobReportFormat& GetFormat() const{ return m_format; }
96 
100  inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
101 
105  inline void SetFormat(const JobReportFormat& value) { m_formatHasBeenSet = true; m_format = value; }
106 
110  inline void SetFormat(JobReportFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
111 
115  inline JobReport& WithFormat(const JobReportFormat& value) { SetFormat(value); return *this;}
116 
120  inline JobReport& WithFormat(JobReportFormat&& value) { SetFormat(std::move(value)); return *this;}
121 
122 
127  inline bool GetEnabled() const{ return m_enabled; }
128 
133  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
134 
139  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
140 
145  inline JobReport& WithEnabled(bool value) { SetEnabled(value); return *this;}
146 
147 
153  inline const Aws::String& GetPrefix() const{ return m_prefix; }
154 
160  inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
161 
167  inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
168 
174  inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
175 
181  inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
182 
188  inline JobReport& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
189 
195  inline JobReport& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
196 
202  inline JobReport& WithPrefix(const char* value) { SetPrefix(value); return *this;}
203 
204 
209  inline const JobReportScope& GetReportScope() const{ return m_reportScope; }
210 
215  inline bool ReportScopeHasBeenSet() const { return m_reportScopeHasBeenSet; }
216 
221  inline void SetReportScope(const JobReportScope& value) { m_reportScopeHasBeenSet = true; m_reportScope = value; }
222 
227  inline void SetReportScope(JobReportScope&& value) { m_reportScopeHasBeenSet = true; m_reportScope = std::move(value); }
228 
233  inline JobReport& WithReportScope(const JobReportScope& value) { SetReportScope(value); return *this;}
234 
239  inline JobReport& WithReportScope(JobReportScope&& value) { SetReportScope(std::move(value)); return *this;}
240 
241  private:
242 
243  Aws::String m_bucket;
244  bool m_bucketHasBeenSet;
245 
246  JobReportFormat m_format;
247  bool m_formatHasBeenSet;
248 
249  bool m_enabled;
250  bool m_enabledHasBeenSet;
251 
252  Aws::String m_prefix;
253  bool m_prefixHasBeenSet;
254 
255  JobReportScope m_reportScope;
256  bool m_reportScopeHasBeenSet;
257  };
258 
259 } // namespace Model
260 } // namespace S3Control
261 } // namespace Aws
Aws::S3Control::Model::JobReport::SetReportScope
void SetReportScope(JobReportScope &&value)
Definition: JobReport.h:227
Aws::S3Control::Model::JobReport::SetReportScope
void SetReportScope(const JobReportScope &value)
Definition: JobReport.h:221
Aws::S3Control::Model::JobReport::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Control::Model::JobReport::SetFormat
void SetFormat(const JobReportFormat &value)
Definition: JobReport.h:105
Aws::S3Control::Model::JobReport::WithReportScope
JobReport & WithReportScope(JobReportScope &&value)
Definition: JobReport.h:239
Aws::S3Control::Model::JobReport::PrefixHasBeenSet
bool PrefixHasBeenSet() const
Definition: JobReport.h:160
JobReportFormat.h
Aws::S3Control::Model::JobReport::GetFormat
const JobReportFormat & GetFormat() const
Definition: JobReport.h:95
Aws::S3Control::Model::JobReport::WithBucket
JobReport & WithBucket(Aws::String &&value)
Definition: JobReport.h:83
Aws::S3Control::Model::JobReport::JobReport
JobReport()
Aws::S3Control::Model::JobReport::SetPrefix
void SetPrefix(Aws::String &&value)
Definition: JobReport.h:174
JobReportScope.h
Aws::S3Control::Model::JobReport::WithReportScope
JobReport & WithReportScope(const JobReportScope &value)
Definition: JobReport.h:233
Aws::S3Control::Model::JobReport::SetBucket
void SetBucket(const Aws::String &value)
Definition: JobReport.h:59
S3Control_EXPORTS.h
Aws::S3Control::Model::JobReport::GetPrefix
const Aws::String & GetPrefix() const
Definition: JobReport.h:153
Aws::S3Control::Model::JobReport
Definition: JobReport.h:34
Aws::S3Control::Model::JobReport::GetReportScope
const JobReportScope & GetReportScope() const
Definition: JobReport.h:209
Aws::S3Control::Model::JobReport::SetPrefix
void SetPrefix(const Aws::String &value)
Definition: JobReport.h:167
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::S3Control::Model::JobReport::operator=
JobReport & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::JobReport::WithFormat
JobReport & WithFormat(JobReportFormat &&value)
Definition: JobReport.h:120
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::JobReport::WithPrefix
JobReport & WithPrefix(Aws::String &&value)
Definition: JobReport.h:195
AWSString.h
Aws::S3Control::Model::JobReport::SetFormat
void SetFormat(JobReportFormat &&value)
Definition: JobReport.h:110
Aws::S3Control::Model::JobReport::SetBucket
void SetBucket(const char *value)
Definition: JobReport.h:71
Aws::S3Control::Model::JobReport::WithPrefix
JobReport & WithPrefix(const char *value)
Definition: JobReport.h:202
Aws::S3Control::Model::JobReport::BucketHasBeenSet
bool BucketHasBeenSet() const
Definition: JobReport.h:53
Aws::S3Control::Model::JobReportFormat
JobReportFormat
Definition: JobReportFormat.h:17
Aws::S3Control::Model::JobReport::FormatHasBeenSet
bool FormatHasBeenSet() const
Definition: JobReport.h:100
Aws::S3Control::Model::JobReport::WithBucket
JobReport & WithBucket(const char *value)
Definition: JobReport.h:89
Aws::S3Control::Model::JobReportScope
JobReportScope
Definition: JobReportScope.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::JobReport::WithEnabled
JobReport & WithEnabled(bool value)
Definition: JobReport.h:145
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3Control::Model::JobReport::WithFormat
JobReport & WithFormat(const JobReportFormat &value)
Definition: JobReport.h:115
Aws::S3Control::Model::JobReport::SetPrefix
void SetPrefix(const char *value)
Definition: JobReport.h:181
Aws::S3Control::Model::JobReport::GetBucket
const Aws::String & GetBucket() const
Definition: JobReport.h:47
Aws::S3Control::Model::JobReport::ReportScopeHasBeenSet
bool ReportScopeHasBeenSet() const
Definition: JobReport.h:215
Aws::S3Control::Model::JobReport::GetEnabled
bool GetEnabled() const
Definition: JobReport.h:127
Aws::S3Control::Model::JobReport::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: JobReport.h:133
Aws::S3Control::Model::JobReport::JobReport
JobReport(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::JobReport::SetEnabled
void SetEnabled(bool value)
Definition: JobReport.h:139
Aws::S3Control::Model::JobReport::WithPrefix
JobReport & WithPrefix(const Aws::String &value)
Definition: JobReport.h:188
Aws::S3Control::Model::JobReport::SetBucket
void SetBucket(Aws::String &&value)
Definition: JobReport.h:65
Aws::S3Control::Model::JobReport::WithBucket
JobReport & WithBucket(const Aws::String &value)
Definition: JobReport.h:77