AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename MultipartUploadIdT = Aws::String>
48 void SetMultipartUploadId(MultipartUploadIdT&& value) { m_multipartUploadIdHasBeenSet = true; m_multipartUploadId = std::forward<MultipartUploadIdT>(value); }
49 template<typename MultipartUploadIdT = Aws::String>
50 UploadListElement& WithMultipartUploadId(MultipartUploadIdT&& value) { SetMultipartUploadId(std::forward<MultipartUploadIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetVaultARN() const { return m_vaultARN; }
58 inline bool VaultARNHasBeenSet() const { return m_vaultARNHasBeenSet; }
59 template<typename VaultARNT = Aws::String>
60 void SetVaultARN(VaultARNT&& value) { m_vaultARNHasBeenSet = true; m_vaultARN = std::forward<VaultARNT>(value); }
61 template<typename VaultARNT = Aws::String>
62 UploadListElement& WithVaultARN(VaultARNT&& value) { SetVaultARN(std::forward<VaultARNT>(value)); return *this;}
64
66
70 inline const Aws::String& GetArchiveDescription() const { return m_archiveDescription; }
71 inline bool ArchiveDescriptionHasBeenSet() const { return m_archiveDescriptionHasBeenSet; }
72 template<typename ArchiveDescriptionT = Aws::String>
73 void SetArchiveDescription(ArchiveDescriptionT&& value) { m_archiveDescriptionHasBeenSet = true; m_archiveDescription = std::forward<ArchiveDescriptionT>(value); }
74 template<typename ArchiveDescriptionT = Aws::String>
75 UploadListElement& WithArchiveDescription(ArchiveDescriptionT&& value) { SetArchiveDescription(std::forward<ArchiveDescriptionT>(value)); return *this;}
77
79
84 inline long long GetPartSizeInBytes() const { return m_partSizeInBytes; }
85 inline bool PartSizeInBytesHasBeenSet() const { return m_partSizeInBytesHasBeenSet; }
86 inline void SetPartSizeInBytes(long long value) { m_partSizeInBytesHasBeenSet = true; m_partSizeInBytes = value; }
87 inline UploadListElement& WithPartSizeInBytes(long long value) { SetPartSizeInBytes(value); return *this;}
89
91
94 inline const Aws::String& GetCreationDate() const { return m_creationDate; }
95 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
96 template<typename CreationDateT = Aws::String>
97 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
98 template<typename CreationDateT = Aws::String>
99 UploadListElement& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
101 private:
102
103 Aws::String m_multipartUploadId;
104 bool m_multipartUploadIdHasBeenSet = false;
105
106 Aws::String m_vaultARN;
107 bool m_vaultARNHasBeenSet = false;
108
109 Aws::String m_archiveDescription;
110 bool m_archiveDescriptionHasBeenSet = false;
111
112 long long m_partSizeInBytes{0};
113 bool m_partSizeInBytesHasBeenSet = false;
114
115 Aws::String m_creationDate;
116 bool m_creationDateHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace Glacier
121} // namespace Aws
UploadListElement & WithVaultARN(VaultARNT &&value)
const Aws::String & GetVaultARN() const
void SetMultipartUploadId(MultipartUploadIdT &&value)
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMultipartUploadId() const
AWS_GLACIER_API UploadListElement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLACIER_API UploadListElement()=default
const Aws::String & GetCreationDate() const
const Aws::String & GetArchiveDescription() const
UploadListElement & WithMultipartUploadId(MultipartUploadIdT &&value)
AWS_GLACIER_API UploadListElement(Aws::Utils::Json::JsonView jsonValue)
UploadListElement & WithArchiveDescription(ArchiveDescriptionT &&value)
void SetArchiveDescription(ArchiveDescriptionT &&value)
void SetCreationDate(CreationDateT &&value)
UploadListElement & WithCreationDate(CreationDateT &&value)
UploadListElement & WithPartSizeInBytes(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue