AWS SDK for C++  1.8.154
AWS SDK for C++
JobManifest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace S3Control
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40 
41 
46  inline const JobManifestSpec& GetSpec() const{ return m_spec; }
47 
52  inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
53 
58  inline void SetSpec(const JobManifestSpec& value) { m_specHasBeenSet = true; m_spec = value; }
59 
64  inline void SetSpec(JobManifestSpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
65 
70  inline JobManifest& WithSpec(const JobManifestSpec& value) { SetSpec(value); return *this;}
71 
76  inline JobManifest& WithSpec(JobManifestSpec&& value) { SetSpec(std::move(value)); return *this;}
77 
78 
82  inline const JobManifestLocation& GetLocation() const{ return m_location; }
83 
87  inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
88 
92  inline void SetLocation(const JobManifestLocation& value) { m_locationHasBeenSet = true; m_location = value; }
93 
97  inline void SetLocation(JobManifestLocation&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
98 
102  inline JobManifest& WithLocation(const JobManifestLocation& value) { SetLocation(value); return *this;}
103 
107  inline JobManifest& WithLocation(JobManifestLocation&& value) { SetLocation(std::move(value)); return *this;}
108 
109  private:
110 
111  JobManifestSpec m_spec;
112  bool m_specHasBeenSet;
113 
114  JobManifestLocation m_location;
115  bool m_locationHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace S3Control
120 } // namespace Aws
Aws::S3Control::Model::JobManifest::SetLocation
void SetLocation(const JobManifestLocation &value)
Definition: JobManifest.h:92
Aws::S3Control::Model::JobManifest::WithLocation
JobManifest & WithLocation(const JobManifestLocation &value)
Definition: JobManifest.h:102
Aws::S3Control::Model::JobManifest::SetSpec
void SetSpec(JobManifestSpec &&value)
Definition: JobManifest.h:64
Aws::S3Control::Model::JobManifest::WithSpec
JobManifest & WithSpec(JobManifestSpec &&value)
Definition: JobManifest.h:76
Aws::S3Control::Model::JobManifest::WithLocation
JobManifest & WithLocation(JobManifestLocation &&value)
Definition: JobManifest.h:107
JobManifestSpec.h
Aws::S3Control::Model::JobManifest::GetLocation
const JobManifestLocation & GetLocation() const
Definition: JobManifest.h:82
Aws::S3Control::Model::JobManifest::GetSpec
const JobManifestSpec & GetSpec() const
Definition: JobManifest.h:46
JobManifestLocation.h
S3Control_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::S3Control::Model::JobManifest::JobManifest
JobManifest(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::JobManifest::SpecHasBeenSet
bool SpecHasBeenSet() const
Definition: JobManifest.h:52
Aws::S3Control::Model::JobManifest::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Control::Model::JobManifest::LocationHasBeenSet
bool LocationHasBeenSet() const
Definition: JobManifest.h:87
Aws::S3Control::Model::JobManifest::SetLocation
void SetLocation(JobManifestLocation &&value)
Definition: JobManifest.h:97
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::JobManifestSpec
Definition: JobManifestSpec.h:35
Aws::S3Control::Model::JobManifestLocation
Definition: JobManifestLocation.h:32
Aws::S3Control::Model::JobManifest::JobManifest
JobManifest()
Aws::S3Control::Model::JobManifest::operator=
JobManifest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::JobManifest::WithSpec
JobManifest & WithSpec(const JobManifestSpec &value)
Definition: JobManifest.h:70
Aws::S3Control::Model::JobManifest::SetSpec
void SetSpec(const JobManifestSpec &value)
Definition: JobManifest.h:58
Aws::S3Control::Model::JobManifest
Definition: JobManifest.h:33