AWS SDK for C++  1.8.154
AWS SDK for C++
JobManifestSpec.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 
35  {
36  public:
40 
41  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42 
43 
47  inline const JobManifestFormat& GetFormat() const{ return m_format; }
48 
52  inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
53 
57  inline void SetFormat(const JobManifestFormat& value) { m_formatHasBeenSet = true; m_format = value; }
58 
62  inline void SetFormat(JobManifestFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
63 
67  inline JobManifestSpec& WithFormat(const JobManifestFormat& value) { SetFormat(value); return *this;}
68 
72  inline JobManifestSpec& WithFormat(JobManifestFormat&& value) { SetFormat(std::move(value)); return *this;}
73 
74 
80  inline const Aws::Vector<JobManifestFieldName>& GetFields() const{ return m_fields; }
81 
87  inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
88 
94  inline void SetFields(const Aws::Vector<JobManifestFieldName>& value) { m_fieldsHasBeenSet = true; m_fields = value; }
95 
101  inline void SetFields(Aws::Vector<JobManifestFieldName>&& value) { m_fieldsHasBeenSet = true; m_fields = std::move(value); }
102 
108  inline JobManifestSpec& WithFields(const Aws::Vector<JobManifestFieldName>& value) { SetFields(value); return *this;}
109 
115  inline JobManifestSpec& WithFields(Aws::Vector<JobManifestFieldName>&& value) { SetFields(std::move(value)); return *this;}
116 
122  inline JobManifestSpec& AddFields(const JobManifestFieldName& value) { m_fieldsHasBeenSet = true; m_fields.push_back(value); return *this; }
123 
129  inline JobManifestSpec& AddFields(JobManifestFieldName&& value) { m_fieldsHasBeenSet = true; m_fields.push_back(std::move(value)); return *this; }
130 
131  private:
132 
133  JobManifestFormat m_format;
134  bool m_formatHasBeenSet;
135 
137  bool m_fieldsHasBeenSet;
138  };
139 
140 } // namespace Model
141 } // namespace S3Control
142 } // namespace Aws
Aws::S3Control::Model::JobManifestSpec::GetFormat
const JobManifestFormat & GetFormat() const
Definition: JobManifestSpec.h:47
Aws::S3Control::Model::JobManifestFieldName
JobManifestFieldName
Definition: JobManifestFieldName.h:17
Aws::S3Control::Model::JobManifestSpec::SetFormat
void SetFormat(const JobManifestFormat &value)
Definition: JobManifestSpec.h:57
Aws::S3Control::Model::JobManifestSpec::GetFields
const Aws::Vector< JobManifestFieldName > & GetFields() const
Definition: JobManifestSpec.h:80
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::S3Control::Model::JobManifestSpec::FormatHasBeenSet
bool FormatHasBeenSet() const
Definition: JobManifestSpec.h:52
AWSVector.h
Aws::S3Control::Model::JobManifestSpec::AddFields
JobManifestSpec & AddFields(JobManifestFieldName &&value)
Definition: JobManifestSpec.h:129
Aws::S3Control::Model::JobManifestSpec::JobManifestSpec
JobManifestSpec(const Aws::Utils::Xml::XmlNode &xmlNode)
S3Control_EXPORTS.h
Aws::S3Control::Model::JobManifestSpec::SetFields
void SetFields(Aws::Vector< JobManifestFieldName > &&value)
Definition: JobManifestSpec.h:101
Aws::S3Control::Model::JobManifestSpec::SetFormat
void SetFormat(JobManifestFormat &&value)
Definition: JobManifestSpec.h:62
Aws::S3Control::Model::JobManifestSpec::WithFormat
JobManifestSpec & WithFormat(const JobManifestFormat &value)
Definition: JobManifestSpec.h:67
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::JobManifestSpec::AddFields
JobManifestSpec & AddFields(const JobManifestFieldName &value)
Definition: JobManifestSpec.h:122
Aws::S3Control::Model::JobManifestSpec::WithFields
JobManifestSpec & WithFields(Aws::Vector< JobManifestFieldName > &&value)
Definition: JobManifestSpec.h:115
Aws::S3Control::Model::JobManifestSpec::WithFields
JobManifestSpec & WithFields(const Aws::Vector< JobManifestFieldName > &value)
Definition: JobManifestSpec.h:108
Aws::S3Control::Model::JobManifestSpec::FieldsHasBeenSet
bool FieldsHasBeenSet() const
Definition: JobManifestSpec.h:87
Aws::S3Control::Model::JobManifestSpec::operator=
JobManifestSpec & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::JobManifestSpec::JobManifestSpec
JobManifestSpec()
JobManifestFormat.h
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::JobManifestSpec
Definition: JobManifestSpec.h:35
Aws::S3Control::Model::JobManifestSpec::WithFormat
JobManifestSpec & WithFormat(JobManifestFormat &&value)
Definition: JobManifestSpec.h:72
Aws::S3Control::Model::JobManifestFormat
JobManifestFormat
Definition: JobManifestFormat.h:17
JobManifestFieldName.h
Aws::S3Control::Model::JobManifestSpec::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Control::Model::JobManifestSpec::SetFields
void SetFields(const Aws::Vector< JobManifestFieldName > &value)
Definition: JobManifestSpec.h:94