AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
S3GeneratedManifestDescriptor.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/GeneratedManifestFormat.h>
9#include <aws/s3control/model/JobManifestLocation.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
30 public:
31 AWS_S3CONTROL_API S3GeneratedManifestDescriptor() = default;
34
35 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
36
38
41 inline GeneratedManifestFormat GetFormat() const { return m_format; }
42 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
44 m_formatHasBeenSet = true;
45 m_format = value;
46 }
48 SetFormat(value);
49 return *this;
50 }
52
54
55 inline const JobManifestLocation& GetLocation() const { return m_location; }
56 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
57 template <typename LocationT = JobManifestLocation>
58 void SetLocation(LocationT&& value) {
59 m_locationHasBeenSet = true;
60 m_location = std::forward<LocationT>(value);
61 }
62 template <typename LocationT = JobManifestLocation>
64 SetLocation(std::forward<LocationT>(value));
65 return *this;
66 }
68 private:
70
71 JobManifestLocation m_location;
72 bool m_formatHasBeenSet = false;
73 bool m_locationHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace S3Control
78} // namespace Aws
AWS_S3CONTROL_API S3GeneratedManifestDescriptor & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API S3GeneratedManifestDescriptor()=default
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
S3GeneratedManifestDescriptor & WithLocation(LocationT &&value)
S3GeneratedManifestDescriptor & WithFormat(GeneratedManifestFormat value)
AWS_S3CONTROL_API S3GeneratedManifestDescriptor(const Aws::Utils::Xml::XmlNode &xmlNode)