AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UploadListElement.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glacier
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLACIER_API UploadListElement();
38 AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetMultipartUploadId() const{ return m_multipartUploadId; }
46 inline bool MultipartUploadIdHasBeenSet() const { return m_multipartUploadIdHasBeenSet; }
47 inline void SetMultipartUploadId(const Aws::String& value) { m_multipartUploadIdHasBeenSet = true; m_multipartUploadId = value; }
48 inline void SetMultipartUploadId(Aws::String&& value) { m_multipartUploadIdHasBeenSet = true; m_multipartUploadId = std::move(value); }
49 inline void SetMultipartUploadId(const char* value) { m_multipartUploadIdHasBeenSet = true; m_multipartUploadId.assign(value); }
50 inline UploadListElement& WithMultipartUploadId(const Aws::String& value) { SetMultipartUploadId(value); return *this;}
51 inline UploadListElement& WithMultipartUploadId(Aws::String&& value) { SetMultipartUploadId(std::move(value)); return *this;}
52 inline UploadListElement& WithMultipartUploadId(const char* value) { SetMultipartUploadId(value); return *this;}
54
56
59 inline const Aws::String& GetVaultARN() const{ return m_vaultARN; }
60 inline bool VaultARNHasBeenSet() const { return m_vaultARNHasBeenSet; }
61 inline void SetVaultARN(const Aws::String& value) { m_vaultARNHasBeenSet = true; m_vaultARN = value; }
62 inline void SetVaultARN(Aws::String&& value) { m_vaultARNHasBeenSet = true; m_vaultARN = std::move(value); }
63 inline void SetVaultARN(const char* value) { m_vaultARNHasBeenSet = true; m_vaultARN.assign(value); }
64 inline UploadListElement& WithVaultARN(const Aws::String& value) { SetVaultARN(value); return *this;}
65 inline UploadListElement& WithVaultARN(Aws::String&& value) { SetVaultARN(std::move(value)); return *this;}
66 inline UploadListElement& WithVaultARN(const char* value) { SetVaultARN(value); return *this;}
68
70
74 inline const Aws::String& GetArchiveDescription() const{ return m_archiveDescription; }
75 inline bool ArchiveDescriptionHasBeenSet() const { return m_archiveDescriptionHasBeenSet; }
76 inline void SetArchiveDescription(const Aws::String& value) { m_archiveDescriptionHasBeenSet = true; m_archiveDescription = value; }
77 inline void SetArchiveDescription(Aws::String&& value) { m_archiveDescriptionHasBeenSet = true; m_archiveDescription = std::move(value); }
78 inline void SetArchiveDescription(const char* value) { m_archiveDescriptionHasBeenSet = true; m_archiveDescription.assign(value); }
79 inline UploadListElement& WithArchiveDescription(const Aws::String& value) { SetArchiveDescription(value); return *this;}
80 inline UploadListElement& WithArchiveDescription(Aws::String&& value) { SetArchiveDescription(std::move(value)); return *this;}
81 inline UploadListElement& WithArchiveDescription(const char* value) { SetArchiveDescription(value); return *this;}
83
85
90 inline long long GetPartSizeInBytes() const{ return m_partSizeInBytes; }
91 inline bool PartSizeInBytesHasBeenSet() const { return m_partSizeInBytesHasBeenSet; }
92 inline void SetPartSizeInBytes(long long value) { m_partSizeInBytesHasBeenSet = true; m_partSizeInBytes = value; }
93 inline UploadListElement& WithPartSizeInBytes(long long value) { SetPartSizeInBytes(value); return *this;}
95
97
100 inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
101 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
102 inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
103 inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
104 inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
105 inline UploadListElement& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
106 inline UploadListElement& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
107 inline UploadListElement& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
109 private:
110
111 Aws::String m_multipartUploadId;
112 bool m_multipartUploadIdHasBeenSet = false;
113
114 Aws::String m_vaultARN;
115 bool m_vaultARNHasBeenSet = false;
116
117 Aws::String m_archiveDescription;
118 bool m_archiveDescriptionHasBeenSet = false;
119
120 long long m_partSizeInBytes;
121 bool m_partSizeInBytesHasBeenSet = false;
122
123 Aws::String m_creationDate;
124 bool m_creationDateHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace Glacier
129} // namespace Aws
UploadListElement & WithMultipartUploadId(const char *value)
UploadListElement & WithMultipartUploadId(Aws::String &&value)
void SetMultipartUploadId(const Aws::String &value)
const Aws::String & GetVaultARN() const
void SetArchiveDescription(const char *value)
UploadListElement & WithMultipartUploadId(const Aws::String &value)
UploadListElement & WithArchiveDescription(const char *value)
void SetMultipartUploadId(Aws::String &&value)
UploadListElement & WithVaultARN(const Aws::String &value)
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMultipartUploadId() const
void SetVaultARN(const Aws::String &value)
void SetArchiveDescription(Aws::String &&value)
AWS_GLACIER_API UploadListElement & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMultipartUploadId(const char *value)
const Aws::String & GetCreationDate() const
const Aws::String & GetArchiveDescription() const
UploadListElement & WithVaultARN(const char *value)
void SetCreationDate(const Aws::String &value)
UploadListElement & WithCreationDate(Aws::String &&value)
UploadListElement & WithVaultARN(Aws::String &&value)
AWS_GLACIER_API UploadListElement(Aws::Utils::Json::JsonView jsonValue)
void SetArchiveDescription(const Aws::String &value)
UploadListElement & WithCreationDate(const char *value)
UploadListElement & WithArchiveDescription(const Aws::String &value)
void SetCreationDate(Aws::String &&value)
UploadListElement & WithArchiveDescription(Aws::String &&value)
UploadListElement & WithCreationDate(const Aws::String &value)
UploadListElement & WithPartSizeInBytes(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue