AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
JobManifestLocation.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3Control
21{
22namespace Model
23{
24
34 {
35 public:
36 AWS_S3CONTROL_API JobManifestLocation() = default;
37 AWS_S3CONTROL_API JobManifestLocation(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_S3CONTROL_API JobManifestLocation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
53 inline const Aws::String& GetObjectArn() const { return m_objectArn; }
54 inline bool ObjectArnHasBeenSet() const { return m_objectArnHasBeenSet; }
55 template<typename ObjectArnT = Aws::String>
56 void SetObjectArn(ObjectArnT&& value) { m_objectArnHasBeenSet = true; m_objectArn = std::forward<ObjectArnT>(value); }
57 template<typename ObjectArnT = Aws::String>
58 JobManifestLocation& WithObjectArn(ObjectArnT&& value) { SetObjectArn(std::forward<ObjectArnT>(value)); return *this;}
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) { m_objectVersionIdHasBeenSet = true; m_objectVersionId = std::forward<ObjectVersionIdT>(value); }
70 template<typename ObjectVersionIdT = Aws::String>
71 JobManifestLocation& WithObjectVersionId(ObjectVersionIdT&& value) { SetObjectVersionId(std::forward<ObjectVersionIdT>(value)); return *this;}
73
75
78 inline const Aws::String& GetETag() const { return m_eTag; }
79 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
80 template<typename ETagT = Aws::String>
81 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
82 template<typename ETagT = Aws::String>
83 JobManifestLocation& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
85 private:
86
87 Aws::String m_objectArn;
88 bool m_objectArnHasBeenSet = false;
89
90 Aws::String m_objectVersionId;
91 bool m_objectVersionIdHasBeenSet = false;
92
93 Aws::String m_eTag;
94 bool m_eTagHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace S3Control
99} // 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