AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
JobManifestLocation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3control/S3Control_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Xml {
15class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace S3Control {
19namespace Model {
20
30 public:
31 AWS_S3CONTROL_API JobManifestLocation() = default;
32 AWS_S3CONTROL_API JobManifestLocation(const Aws::Utils::Xml::XmlNode& xmlNode);
33 AWS_S3CONTROL_API JobManifestLocation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
36
38
47 inline const Aws::String& GetObjectArn() const { return m_objectArn; }
48 inline bool ObjectArnHasBeenSet() const { return m_objectArnHasBeenSet; }
49 template <typename ObjectArnT = Aws::String>
50 void SetObjectArn(ObjectArnT&& value) {
51 m_objectArnHasBeenSet = true;
52 m_objectArn = std::forward<ObjectArnT>(value);
53 }
54 template <typename ObjectArnT = Aws::String>
55 JobManifestLocation& WithObjectArn(ObjectArnT&& value) {
56 SetObjectArn(std::forward<ObjectArnT>(value));
57 return *this;
58 }
60
62
66 inline const Aws::String& GetObjectVersionId() const { return m_objectVersionId; }
67 inline bool ObjectVersionIdHasBeenSet() const { return m_objectVersionIdHasBeenSet; }
68 template <typename ObjectVersionIdT = Aws::String>
69 void SetObjectVersionId(ObjectVersionIdT&& value) {
70 m_objectVersionIdHasBeenSet = true;
71 m_objectVersionId = std::forward<ObjectVersionIdT>(value);
72 }
73 template <typename ObjectVersionIdT = Aws::String>
74 JobManifestLocation& WithObjectVersionId(ObjectVersionIdT&& value) {
75 SetObjectVersionId(std::forward<ObjectVersionIdT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetETag() const { return m_eTag; }
85 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
86 template <typename ETagT = Aws::String>
87 void SetETag(ETagT&& value) {
88 m_eTagHasBeenSet = true;
89 m_eTag = std::forward<ETagT>(value);
90 }
91 template <typename ETagT = Aws::String>
92 JobManifestLocation& WithETag(ETagT&& value) {
93 SetETag(std::forward<ETagT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_objectArn;
99
100 Aws::String m_objectVersionId;
101
102 Aws::String m_eTag;
103 bool m_objectArnHasBeenSet = false;
104 bool m_objectVersionIdHasBeenSet = false;
105 bool m_eTagHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace S3Control
110} // namespace Aws
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetObjectVersionId(ObjectVersionIdT &&value)
AWS_S3CONTROL_API JobManifestLocation()=default
JobManifestLocation & WithETag(ETagT &&value)
AWS_S3CONTROL_API JobManifestLocation(const Aws::Utils::Xml::XmlNode &xmlNode)
JobManifestLocation & WithObjectArn(ObjectArnT &&value)
JobManifestLocation & WithObjectVersionId(ObjectVersionIdT &&value)
AWS_S3CONTROL_API JobManifestLocation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String