AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
JobManifest.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/JobManifestSpec.h>
9#include <aws/s3control/model/JobManifestLocation.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3Control
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_S3CONTROL_API JobManifest() = default;
36 AWS_S3CONTROL_API JobManifest(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_S3CONTROL_API JobManifest& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
47 inline const JobManifestSpec& GetSpec() const { return m_spec; }
48 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
49 template<typename SpecT = JobManifestSpec>
50 void SetSpec(SpecT&& value) { m_specHasBeenSet = true; m_spec = std::forward<SpecT>(value); }
51 template<typename SpecT = JobManifestSpec>
52 JobManifest& WithSpec(SpecT&& value) { SetSpec(std::forward<SpecT>(value)); return *this;}
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) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
66 template<typename LocationT = JobManifestLocation>
67 JobManifest& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
69 private:
70
71 JobManifestSpec m_spec;
72 bool m_specHasBeenSet = false;
73
74 JobManifestLocation m_location;
75 bool m_locationHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace S3Control
80} // 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:67
const JobManifestLocation & GetLocation() const
Definition JobManifest.h:62
void SetLocation(LocationT &&value)
Definition JobManifest.h:65
JobManifest & WithSpec(SpecT &&value)
Definition JobManifest.h:52
const JobManifestSpec & GetSpec() const
Definition JobManifest.h:47
AWS_S3CONTROL_API JobManifest(const Aws::Utils::Xml::XmlNode &xmlNode)