AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSpec(const JobManifestSpec& value) { m_specHasBeenSet = true; m_spec = value; }
50 inline void SetSpec(JobManifestSpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
51 inline JobManifest& WithSpec(const JobManifestSpec& value) { SetSpec(value); return *this;}
52 inline JobManifest& WithSpec(JobManifestSpec&& value) { SetSpec(std::move(value)); return *this;}
54
56
62 inline const JobManifestLocation& GetLocation() const{ return m_location; }
63 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
64 inline void SetLocation(const JobManifestLocation& value) { m_locationHasBeenSet = true; m_location = value; }
65 inline void SetLocation(JobManifestLocation&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
66 inline JobManifest& WithLocation(const JobManifestLocation& value) { SetLocation(value); return *this;}
67 inline JobManifest& WithLocation(JobManifestLocation&& value) { SetLocation(std::move(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
JobManifest & WithLocation(JobManifestLocation &&value)
Definition JobManifest.h:67
JobManifest & WithSpec(JobManifestSpec &&value)
Definition JobManifest.h:52
void SetLocation(JobManifestLocation &&value)
Definition JobManifest.h:65
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CONTROL_API JobManifest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
JobManifest & WithSpec(const JobManifestSpec &value)
Definition JobManifest.h:51
void SetSpec(JobManifestSpec &&value)
Definition JobManifest.h:50
JobManifest & WithLocation(const JobManifestLocation &value)
Definition JobManifest.h:66
const JobManifestLocation & GetLocation() const
Definition JobManifest.h:62
void SetSpec(const JobManifestSpec &value)
Definition JobManifest.h:49
void SetLocation(const JobManifestLocation &value)
Definition JobManifest.h:64
const JobManifestSpec & GetSpec() const
Definition JobManifest.h:47
AWS_S3CONTROL_API JobManifest(const Aws::Utils::Xml::XmlNode &xmlNode)