AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
JobManifest.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/JobManifestLocation.h>
9#include <aws/s3control/model/JobManifestSpec.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace S3Control {
20namespace Model {
21
29 public:
30 AWS_S3CONTROL_API JobManifest() = default;
31 AWS_S3CONTROL_API JobManifest(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_S3CONTROL_API JobManifest& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
35
37
41 inline const JobManifestSpec& GetSpec() const { return m_spec; }
42 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
43 template <typename SpecT = JobManifestSpec>
44 void SetSpec(SpecT&& value) {
45 m_specHasBeenSet = true;
46 m_spec = std::forward<SpecT>(value);
47 }
48 template <typename SpecT = JobManifestSpec>
49 JobManifest& WithSpec(SpecT&& value) {
50 SetSpec(std::forward<SpecT>(value));
51 return *this;
52 }
54
56
62 inline const JobManifestLocation& GetLocation() const { return m_location; }
63 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
64 template <typename LocationT = JobManifestLocation>
65 void SetLocation(LocationT&& value) {
66 m_locationHasBeenSet = true;
67 m_location = std::forward<LocationT>(value);
68 }
69 template <typename LocationT = JobManifestLocation>
70 JobManifest& WithLocation(LocationT&& value) {
71 SetLocation(std::forward<LocationT>(value));
72 return *this;
73 }
75 private:
76 JobManifestSpec m_spec;
77
78 JobManifestLocation m_location;
79 bool m_specHasBeenSet = false;
80 bool m_locationHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace S3Control
85} // namespace Aws
AWS_S3CONTROL_API JobManifest()=default
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CONTROL_API JobManifest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
JobManifest & WithLocation(LocationT &&value)
Definition JobManifest.h:70
const JobManifestLocation & GetLocation() const
Definition JobManifest.h:62
void SetLocation(LocationT &&value)
Definition JobManifest.h:65
JobManifest & WithSpec(SpecT &&value)
Definition JobManifest.h:49
const JobManifestSpec & GetSpec() const
Definition JobManifest.h:41
AWS_S3CONTROL_API JobManifest(const Aws::Utils::Xml::XmlNode &xmlNode)