AWS SDK for C++  1.8.154
AWS SDK for C++
JobManifestLocation.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Xml
16 {
17  class XmlNode;
18 } // namespace Xml
19 } // namespace Utils
20 namespace S3Control
21 {
22 namespace Model
23 {
24 
32  {
33  public:
37 
38  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39 
40 
48  inline const Aws::String& GetObjectArn() const{ return m_objectArn; }
49 
57  inline bool ObjectArnHasBeenSet() const { return m_objectArnHasBeenSet; }
58 
66  inline void SetObjectArn(const Aws::String& value) { m_objectArnHasBeenSet = true; m_objectArn = value; }
67 
75  inline void SetObjectArn(Aws::String&& value) { m_objectArnHasBeenSet = true; m_objectArn = std::move(value); }
76 
84  inline void SetObjectArn(const char* value) { m_objectArnHasBeenSet = true; m_objectArn.assign(value); }
85 
93  inline JobManifestLocation& WithObjectArn(const Aws::String& value) { SetObjectArn(value); return *this;}
94 
102  inline JobManifestLocation& WithObjectArn(Aws::String&& value) { SetObjectArn(std::move(value)); return *this;}
103 
111  inline JobManifestLocation& WithObjectArn(const char* value) { SetObjectArn(value); return *this;}
112 
113 
118  inline const Aws::String& GetObjectVersionId() const{ return m_objectVersionId; }
119 
124  inline bool ObjectVersionIdHasBeenSet() const { return m_objectVersionIdHasBeenSet; }
125 
130  inline void SetObjectVersionId(const Aws::String& value) { m_objectVersionIdHasBeenSet = true; m_objectVersionId = value; }
131 
136  inline void SetObjectVersionId(Aws::String&& value) { m_objectVersionIdHasBeenSet = true; m_objectVersionId = std::move(value); }
137 
142  inline void SetObjectVersionId(const char* value) { m_objectVersionIdHasBeenSet = true; m_objectVersionId.assign(value); }
143 
148  inline JobManifestLocation& WithObjectVersionId(const Aws::String& value) { SetObjectVersionId(value); return *this;}
149 
154  inline JobManifestLocation& WithObjectVersionId(Aws::String&& value) { SetObjectVersionId(std::move(value)); return *this;}
155 
160  inline JobManifestLocation& WithObjectVersionId(const char* value) { SetObjectVersionId(value); return *this;}
161 
162 
166  inline const Aws::String& GetETag() const{ return m_eTag; }
167 
171  inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
172 
176  inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; }
177 
181  inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); }
182 
186  inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); }
187 
191  inline JobManifestLocation& WithETag(const Aws::String& value) { SetETag(value); return *this;}
192 
196  inline JobManifestLocation& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
197 
201  inline JobManifestLocation& WithETag(const char* value) { SetETag(value); return *this;}
202 
203  private:
204 
205  Aws::String m_objectArn;
206  bool m_objectArnHasBeenSet;
207 
208  Aws::String m_objectVersionId;
209  bool m_objectVersionIdHasBeenSet;
210 
211  Aws::String m_eTag;
212  bool m_eTagHasBeenSet;
213  };
214 
215 } // namespace Model
216 } // namespace S3Control
217 } // namespace Aws
Aws::S3Control::Model::JobManifestLocation::SetObjectVersionId
void SetObjectVersionId(const char *value)
Definition: JobManifestLocation.h:142
Aws::S3Control::Model::JobManifestLocation::operator=
JobManifestLocation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::JobManifestLocation::SetETag
void SetETag(Aws::String &&value)
Definition: JobManifestLocation.h:181
Aws::S3Control::Model::JobManifestLocation::SetETag
void SetETag(const char *value)
Definition: JobManifestLocation.h:186
Aws::S3Control::Model::JobManifestLocation::WithObjectArn
JobManifestLocation & WithObjectArn(const Aws::String &value)
Definition: JobManifestLocation.h:93
Aws::S3Control::Model::JobManifestLocation::SetObjectVersionId
void SetObjectVersionId(Aws::String &&value)
Definition: JobManifestLocation.h:136
Aws::S3Control::Model::JobManifestLocation::GetObjectVersionId
const Aws::String & GetObjectVersionId() const
Definition: JobManifestLocation.h:118
Aws::S3Control::Model::JobManifestLocation::SetObjectVersionId
void SetObjectVersionId(const Aws::String &value)
Definition: JobManifestLocation.h:130
Aws::S3Control::Model::JobManifestLocation::JobManifestLocation
JobManifestLocation()
Aws::S3Control::Model::JobManifestLocation::SetObjectArn
void SetObjectArn(const char *value)
Definition: JobManifestLocation.h:84
Aws::S3Control::Model::JobManifestLocation::WithObjectVersionId
JobManifestLocation & WithObjectVersionId(const Aws::String &value)
Definition: JobManifestLocation.h:148
S3Control_EXPORTS.h
Aws::S3Control::Model::JobManifestLocation::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Control::Model::JobManifestLocation::ETagHasBeenSet
bool ETagHasBeenSet() const
Definition: JobManifestLocation.h:171
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::S3Control::Model::JobManifestLocation::WithETag
JobManifestLocation & WithETag(const char *value)
Definition: JobManifestLocation.h:201
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::JobManifestLocation::WithObjectVersionId
JobManifestLocation & WithObjectVersionId(Aws::String &&value)
Definition: JobManifestLocation.h:154
AWSString.h
Aws::S3Control::Model::JobManifestLocation::JobManifestLocation
JobManifestLocation(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::JobManifestLocation::WithObjectArn
JobManifestLocation & WithObjectArn(Aws::String &&value)
Definition: JobManifestLocation.h:102
Aws::S3Control::Model::JobManifestLocation::ObjectVersionIdHasBeenSet
bool ObjectVersionIdHasBeenSet() const
Definition: JobManifestLocation.h:124
Aws::S3Control::Model::JobManifestLocation::WithObjectArn
JobManifestLocation & WithObjectArn(const char *value)
Definition: JobManifestLocation.h:111
Aws::S3Control::Model::JobManifestLocation::GetObjectArn
const Aws::String & GetObjectArn() const
Definition: JobManifestLocation.h:48
Aws::S3Control::Model::JobManifestLocation::ObjectArnHasBeenSet
bool ObjectArnHasBeenSet() const
Definition: JobManifestLocation.h:57
Aws::S3Control::Model::JobManifestLocation::SetObjectArn
void SetObjectArn(Aws::String &&value)
Definition: JobManifestLocation.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::JobManifestLocation::WithETag
JobManifestLocation & WithETag(Aws::String &&value)
Definition: JobManifestLocation.h:196
Aws::S3Control::Model::JobManifestLocation
Definition: JobManifestLocation.h:32
Aws::S3Control::Model::JobManifestLocation::WithObjectVersionId
JobManifestLocation & WithObjectVersionId(const char *value)
Definition: JobManifestLocation.h:160
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3Control::Model::JobManifestLocation::SetETag
void SetETag(const Aws::String &value)
Definition: JobManifestLocation.h:176
Aws::S3Control::Model::JobManifestLocation::GetETag
const Aws::String & GetETag() const
Definition: JobManifestLocation.h:166
Aws::S3Control::Model::JobManifestLocation::SetObjectArn
void SetObjectArn(const Aws::String &value)
Definition: JobManifestLocation.h:66
Aws::S3Control::Model::JobManifestLocation::WithETag
JobManifestLocation & WithETag(const Aws::String &value)
Definition: JobManifestLocation.h:191