AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobReport.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/JobReportFormat.h>
10#include <aws/s3control/model/JobReportScope.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 JobReport();
37 AWS_S3CONTROL_API JobReport(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_S3CONTROL_API JobReport& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
50 inline const Aws::String& GetBucket() const{ return m_bucket; }
51 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
52 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
53 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
54 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
55 inline JobReport& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
56 inline JobReport& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
57 inline JobReport& WithBucket(const char* value) { SetBucket(value); return *this;}
59
61
64 inline const JobReportFormat& GetFormat() const{ return m_format; }
65 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
66 inline void SetFormat(const JobReportFormat& value) { m_formatHasBeenSet = true; m_format = value; }
67 inline void SetFormat(JobReportFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
68 inline JobReport& WithFormat(const JobReportFormat& value) { SetFormat(value); return *this;}
69 inline JobReport& WithFormat(JobReportFormat&& value) { SetFormat(std::move(value)); return *this;}
71
73
77 inline bool GetEnabled() const{ return m_enabled; }
78 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
79 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
80 inline JobReport& WithEnabled(bool value) { SetEnabled(value); return *this;}
82
84
89 inline const Aws::String& GetPrefix() const{ return m_prefix; }
90 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
91 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
92 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
93 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
94 inline JobReport& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
95 inline JobReport& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
96 inline JobReport& WithPrefix(const char* value) { SetPrefix(value); return *this;}
98
100
104 inline const JobReportScope& GetReportScope() const{ return m_reportScope; }
105 inline bool ReportScopeHasBeenSet() const { return m_reportScopeHasBeenSet; }
106 inline void SetReportScope(const JobReportScope& value) { m_reportScopeHasBeenSet = true; m_reportScope = value; }
107 inline void SetReportScope(JobReportScope&& value) { m_reportScopeHasBeenSet = true; m_reportScope = std::move(value); }
108 inline JobReport& WithReportScope(const JobReportScope& value) { SetReportScope(value); return *this;}
109 inline JobReport& WithReportScope(JobReportScope&& value) { SetReportScope(std::move(value)); return *this;}
111 private:
112
113 Aws::String m_bucket;
114 bool m_bucketHasBeenSet = false;
115
116 JobReportFormat m_format;
117 bool m_formatHasBeenSet = false;
118
119 bool m_enabled;
120 bool m_enabledHasBeenSet = false;
121
122 Aws::String m_prefix;
123 bool m_prefixHasBeenSet = false;
124
125 JobReportScope m_reportScope;
126 bool m_reportScopeHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace S3Control
131} // namespace Aws
JobReport & WithPrefix(Aws::String &&value)
Definition JobReport.h:95
AWS_S3CONTROL_API JobReport & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetBucket(const char *value)
Definition JobReport.h:54
void SetBucket(Aws::String &&value)
Definition JobReport.h:53
JobReport & WithReportScope(const JobReportScope &value)
Definition JobReport.h:108
JobReport & WithBucket(Aws::String &&value)
Definition JobReport.h:56
const JobReportFormat & GetFormat() const
Definition JobReport.h:64
AWS_S3CONTROL_API JobReport()
JobReport & WithBucket(const char *value)
Definition JobReport.h:57
void SetBucket(const Aws::String &value)
Definition JobReport.h:52
void SetReportScope(JobReportScope &&value)
Definition JobReport.h:107
const Aws::String & GetBucket() const
Definition JobReport.h:50
const Aws::String & GetPrefix() const
Definition JobReport.h:89
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
JobReport & WithReportScope(JobReportScope &&value)
Definition JobReport.h:109
void SetPrefix(Aws::String &&value)
Definition JobReport.h:92
JobReport & WithBucket(const Aws::String &value)
Definition JobReport.h:55
JobReport & WithFormat(JobReportFormat &&value)
Definition JobReport.h:69
void SetPrefix(const Aws::String &value)
Definition JobReport.h:91
JobReport & WithEnabled(bool value)
Definition JobReport.h:80
JobReport & WithPrefix(const char *value)
Definition JobReport.h:96
void SetReportScope(const JobReportScope &value)
Definition JobReport.h:106
JobReport & WithPrefix(const Aws::String &value)
Definition JobReport.h:94
void SetFormat(const JobReportFormat &value)
Definition JobReport.h:66
JobReport & WithFormat(const JobReportFormat &value)
Definition JobReport.h:68
void SetFormat(JobReportFormat &&value)
Definition JobReport.h:67
void SetPrefix(const char *value)
Definition JobReport.h:93
const JobReportScope & GetReportScope() const
Definition JobReport.h:104
AWS_S3CONTROL_API JobReport(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String