AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobManifestSpec.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/JobManifestFormat.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3control/model/JobManifestFieldName.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
35 {
36 public:
37 AWS_S3CONTROL_API JobManifestSpec();
38 AWS_S3CONTROL_API JobManifestSpec(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_S3CONTROL_API JobManifestSpec& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42
43
45
48 inline const JobManifestFormat& GetFormat() const{ return m_format; }
49 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
50 inline void SetFormat(const JobManifestFormat& value) { m_formatHasBeenSet = true; m_format = value; }
51 inline void SetFormat(JobManifestFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
52 inline JobManifestSpec& WithFormat(const JobManifestFormat& value) { SetFormat(value); return *this;}
53 inline JobManifestSpec& WithFormat(JobManifestFormat&& value) { SetFormat(std::move(value)); return *this;}
55
57
62 inline const Aws::Vector<JobManifestFieldName>& GetFields() const{ return m_fields; }
63 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
64 inline void SetFields(const Aws::Vector<JobManifestFieldName>& value) { m_fieldsHasBeenSet = true; m_fields = value; }
65 inline void SetFields(Aws::Vector<JobManifestFieldName>&& value) { m_fieldsHasBeenSet = true; m_fields = std::move(value); }
66 inline JobManifestSpec& WithFields(const Aws::Vector<JobManifestFieldName>& value) { SetFields(value); return *this;}
67 inline JobManifestSpec& WithFields(Aws::Vector<JobManifestFieldName>&& value) { SetFields(std::move(value)); return *this;}
68 inline JobManifestSpec& AddFields(const JobManifestFieldName& value) { m_fieldsHasBeenSet = true; m_fields.push_back(value); return *this; }
69 inline JobManifestSpec& AddFields(JobManifestFieldName&& value) { m_fieldsHasBeenSet = true; m_fields.push_back(std::move(value)); return *this; }
71 private:
72
73 JobManifestFormat m_format;
74 bool m_formatHasBeenSet = false;
75
77 bool m_fieldsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace S3Control
82} // namespace Aws
void SetFormat(JobManifestFormat &&value)
JobManifestSpec & WithFields(const Aws::Vector< JobManifestFieldName > &value)
JobManifestSpec & AddFields(JobManifestFieldName &&value)
const JobManifestFormat & GetFormat() const
AWS_S3CONTROL_API JobManifestSpec(const Aws::Utils::Xml::XmlNode &xmlNode)
JobManifestSpec & WithFields(Aws::Vector< JobManifestFieldName > &&value)
void SetFields(Aws::Vector< JobManifestFieldName > &&value)
JobManifestSpec & WithFormat(const JobManifestFormat &value)
void SetFormat(const JobManifestFormat &value)
JobManifestSpec & AddFields(const JobManifestFieldName &value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::Vector< JobManifestFieldName > & GetFields() const
AWS_S3CONTROL_API JobManifestSpec & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
JobManifestSpec & WithFormat(JobManifestFormat &&value)
void SetFields(const Aws::Vector< JobManifestFieldName > &value)
std::vector< T, Aws::Allocator< T > > Vector