AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 JobManifestFormat GetFormat() const { return m_format; }
49 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
50 inline void SetFormat(JobManifestFormat value) { m_formatHasBeenSet = true; m_format = value; }
51 inline JobManifestSpec& WithFormat(JobManifestFormat value) { SetFormat(value); return *this;}
53
55
60 inline const Aws::Vector<JobManifestFieldName>& GetFields() const { return m_fields; }
61 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
62 template<typename FieldsT = Aws::Vector<JobManifestFieldName>>
63 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet = true; m_fields = std::forward<FieldsT>(value); }
64 template<typename FieldsT = Aws::Vector<JobManifestFieldName>>
65 JobManifestSpec& WithFields(FieldsT&& value) { SetFields(std::forward<FieldsT>(value)); return *this;}
66 inline JobManifestSpec& AddFields(JobManifestFieldName value) { m_fieldsHasBeenSet = true; m_fields.push_back(value); return *this; }
68 private:
69
71 bool m_formatHasBeenSet = false;
72
74 bool m_fieldsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace S3Control
79} // namespace Aws
JobManifestSpec & AddFields(JobManifestFieldName value)
AWS_S3CONTROL_API JobManifestSpec(const Aws::Utils::Xml::XmlNode &xmlNode)
JobManifestFormat GetFormat() const
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)
AWS_S3CONTROL_API JobManifestSpec()=default
void SetFormat(JobManifestFormat value)
JobManifestSpec & WithFormat(JobManifestFormat value)
JobManifestSpec & WithFields(FieldsT &&value)
std::vector< T, Aws::Allocator< T > > Vector