AWS SDK for C++  1.9.109
AWS SDK for C++
UploadListElement.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 Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Glacier
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetMultipartUploadId() const{ return m_multipartUploadId; }
45 
49  inline bool MultipartUploadIdHasBeenSet() const { return m_multipartUploadIdHasBeenSet; }
50 
54  inline void SetMultipartUploadId(const Aws::String& value) { m_multipartUploadIdHasBeenSet = true; m_multipartUploadId = value; }
55 
59  inline void SetMultipartUploadId(Aws::String&& value) { m_multipartUploadIdHasBeenSet = true; m_multipartUploadId = std::move(value); }
60 
64  inline void SetMultipartUploadId(const char* value) { m_multipartUploadIdHasBeenSet = true; m_multipartUploadId.assign(value); }
65 
69  inline UploadListElement& WithMultipartUploadId(const Aws::String& value) { SetMultipartUploadId(value); return *this;}
70 
74  inline UploadListElement& WithMultipartUploadId(Aws::String&& value) { SetMultipartUploadId(std::move(value)); return *this;}
75 
79  inline UploadListElement& WithMultipartUploadId(const char* value) { SetMultipartUploadId(value); return *this;}
80 
81 
85  inline const Aws::String& GetVaultARN() const{ return m_vaultARN; }
86 
90  inline bool VaultARNHasBeenSet() const { return m_vaultARNHasBeenSet; }
91 
95  inline void SetVaultARN(const Aws::String& value) { m_vaultARNHasBeenSet = true; m_vaultARN = value; }
96 
100  inline void SetVaultARN(Aws::String&& value) { m_vaultARNHasBeenSet = true; m_vaultARN = std::move(value); }
101 
105  inline void SetVaultARN(const char* value) { m_vaultARNHasBeenSet = true; m_vaultARN.assign(value); }
106 
110  inline UploadListElement& WithVaultARN(const Aws::String& value) { SetVaultARN(value); return *this;}
111 
115  inline UploadListElement& WithVaultARN(Aws::String&& value) { SetVaultARN(std::move(value)); return *this;}
116 
120  inline UploadListElement& WithVaultARN(const char* value) { SetVaultARN(value); return *this;}
121 
122 
127  inline const Aws::String& GetArchiveDescription() const{ return m_archiveDescription; }
128 
133  inline bool ArchiveDescriptionHasBeenSet() const { return m_archiveDescriptionHasBeenSet; }
134 
139  inline void SetArchiveDescription(const Aws::String& value) { m_archiveDescriptionHasBeenSet = true; m_archiveDescription = value; }
140 
145  inline void SetArchiveDescription(Aws::String&& value) { m_archiveDescriptionHasBeenSet = true; m_archiveDescription = std::move(value); }
146 
151  inline void SetArchiveDescription(const char* value) { m_archiveDescriptionHasBeenSet = true; m_archiveDescription.assign(value); }
152 
157  inline UploadListElement& WithArchiveDescription(const Aws::String& value) { SetArchiveDescription(value); return *this;}
158 
163  inline UploadListElement& WithArchiveDescription(Aws::String&& value) { SetArchiveDescription(std::move(value)); return *this;}
164 
169  inline UploadListElement& WithArchiveDescription(const char* value) { SetArchiveDescription(value); return *this;}
170 
171 
177  inline long long GetPartSizeInBytes() const{ return m_partSizeInBytes; }
178 
184  inline bool PartSizeInBytesHasBeenSet() const { return m_partSizeInBytesHasBeenSet; }
185 
191  inline void SetPartSizeInBytes(long long value) { m_partSizeInBytesHasBeenSet = true; m_partSizeInBytes = value; }
192 
198  inline UploadListElement& WithPartSizeInBytes(long long value) { SetPartSizeInBytes(value); return *this;}
199 
200 
204  inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
205 
209  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
210 
214  inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
215 
219  inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
220 
224  inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
225 
229  inline UploadListElement& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
230 
234  inline UploadListElement& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
235 
239  inline UploadListElement& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
240 
241  private:
242 
243  Aws::String m_multipartUploadId;
244  bool m_multipartUploadIdHasBeenSet;
245 
246  Aws::String m_vaultARN;
247  bool m_vaultARNHasBeenSet;
248 
249  Aws::String m_archiveDescription;
250  bool m_archiveDescriptionHasBeenSet;
251 
252  long long m_partSizeInBytes;
253  bool m_partSizeInBytesHasBeenSet;
254 
255  Aws::String m_creationDate;
256  bool m_creationDateHasBeenSet;
257  };
258 
259 } // namespace Model
260 } // namespace Glacier
261 } // namespace Aws
Aws::Glacier::Model::UploadListElement::WithVaultARN
UploadListElement & WithVaultARN(const char *value)
Definition: UploadListElement.h:120
Aws::Glacier::Model::UploadListElement::SetArchiveDescription
void SetArchiveDescription(const char *value)
Definition: UploadListElement.h:151
Aws::Glacier::Model::UploadListElement::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Glacier::Model::UploadListElement::WithVaultARN
UploadListElement & WithVaultARN(const Aws::String &value)
Definition: UploadListElement.h:110
Aws::Glacier::Model::UploadListElement::MultipartUploadIdHasBeenSet
bool MultipartUploadIdHasBeenSet() const
Definition: UploadListElement.h:49
Aws::Glacier::Model::UploadListElement::SetArchiveDescription
void SetArchiveDescription(const Aws::String &value)
Definition: UploadListElement.h:139
Aws::Glacier::Model::UploadListElement::UploadListElement
UploadListElement(Aws::Utils::Json::JsonView jsonValue)
Aws::Glacier::Model::UploadListElement::GetVaultARN
const Aws::String & GetVaultARN() const
Definition: UploadListElement.h:85
Aws::Glacier::Model::UploadListElement::PartSizeInBytesHasBeenSet
bool PartSizeInBytesHasBeenSet() const
Definition: UploadListElement.h:184
Aws::Glacier::Model::UploadListElement
Definition: UploadListElement.h:33
Aws::Glacier::Model::UploadListElement::WithCreationDate
UploadListElement & WithCreationDate(const char *value)
Definition: UploadListElement.h:239
Aws::Glacier::Model::UploadListElement::WithMultipartUploadId
UploadListElement & WithMultipartUploadId(const char *value)
Definition: UploadListElement.h:79
Aws::Glacier::Model::UploadListElement::SetVaultARN
void SetVaultARN(Aws::String &&value)
Definition: UploadListElement.h:100
Aws::Glacier::Model::UploadListElement::SetArchiveDescription
void SetArchiveDescription(Aws::String &&value)
Definition: UploadListElement.h:145
Aws::Glacier::Model::UploadListElement::WithArchiveDescription
UploadListElement & WithArchiveDescription(const char *value)
Definition: UploadListElement.h:169
Aws::Glacier::Model::UploadListElement::UploadListElement
UploadListElement()
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::UploadListElement::WithCreationDate
UploadListElement & WithCreationDate(const Aws::String &value)
Definition: UploadListElement.h:229
Aws::Glacier::Model::UploadListElement::WithCreationDate
UploadListElement & WithCreationDate(Aws::String &&value)
Definition: UploadListElement.h:234
Aws::Glacier::Model::UploadListElement::SetMultipartUploadId
void SetMultipartUploadId(const char *value)
Definition: UploadListElement.h:64
Aws::Glacier::Model::UploadListElement::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: UploadListElement.h:209
Aws::Glacier::Model::UploadListElement::SetMultipartUploadId
void SetMultipartUploadId(const Aws::String &value)
Definition: UploadListElement.h:54
Aws::Glacier::Model::UploadListElement::GetPartSizeInBytes
long long GetPartSizeInBytes() const
Definition: UploadListElement.h:177
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Glacier::Model::UploadListElement::GetMultipartUploadId
const Aws::String & GetMultipartUploadId() const
Definition: UploadListElement.h:44
Aws::Glacier::Model::UploadListElement::WithMultipartUploadId
UploadListElement & WithMultipartUploadId(Aws::String &&value)
Definition: UploadListElement.h:74
Aws::Glacier::Model::UploadListElement::WithArchiveDescription
UploadListElement & WithArchiveDescription(Aws::String &&value)
Definition: UploadListElement.h:163
Aws::Glacier::Model::UploadListElement::SetPartSizeInBytes
void SetPartSizeInBytes(long long value)
Definition: UploadListElement.h:191
Aws::Glacier::Model::UploadListElement::SetCreationDate
void SetCreationDate(Aws::String &&value)
Definition: UploadListElement.h:219
Aws::Glacier::Model::UploadListElement::operator=
UploadListElement & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Glacier::Model::UploadListElement::WithPartSizeInBytes
UploadListElement & WithPartSizeInBytes(long long value)
Definition: UploadListElement.h:198
Aws::Glacier::Model::UploadListElement::SetCreationDate
void SetCreationDate(const Aws::String &value)
Definition: UploadListElement.h:214
Aws::Glacier::Model::UploadListElement::SetVaultARN
void SetVaultARN(const char *value)
Definition: UploadListElement.h:105
Aws::Glacier::Model::UploadListElement::VaultARNHasBeenSet
bool VaultARNHasBeenSet() const
Definition: UploadListElement.h:90
Aws::Glacier::Model::UploadListElement::GetArchiveDescription
const Aws::String & GetArchiveDescription() const
Definition: UploadListElement.h:127
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::UploadListElement::SetCreationDate
void SetCreationDate(const char *value)
Definition: UploadListElement.h:224
Aws::Glacier::Model::UploadListElement::SetVaultARN
void SetVaultARN(const Aws::String &value)
Definition: UploadListElement.h:95
Aws::Glacier::Model::UploadListElement::WithArchiveDescription
UploadListElement & WithArchiveDescription(const Aws::String &value)
Definition: UploadListElement.h:157
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::UploadListElement::WithVaultARN
UploadListElement & WithVaultARN(Aws::String &&value)
Definition: UploadListElement.h:115
Aws::Glacier::Model::UploadListElement::GetCreationDate
const Aws::String & GetCreationDate() const
Definition: UploadListElement.h:204
Aws::Glacier::Model::UploadListElement::WithMultipartUploadId
UploadListElement & WithMultipartUploadId(const Aws::String &value)
Definition: UploadListElement.h:69
Aws::Glacier::Model::UploadListElement::SetMultipartUploadId
void SetMultipartUploadId(Aws::String &&value)
Definition: UploadListElement.h:59
Glacier_EXPORTS.h
Aws::Glacier::Model::UploadListElement::ArchiveDescriptionHasBeenSet
bool ArchiveDescriptionHasBeenSet() const
Definition: UploadListElement.h:133