AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListPartsResult.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glacier/model/PartListElement.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Glacier
26{
27namespace Model
28{
36 {
37 public:
38 AWS_GLACIER_API ListPartsResult();
41
42
44
47 inline const Aws::String& GetMultipartUploadId() const{ return m_multipartUploadId; }
48 inline void SetMultipartUploadId(const Aws::String& value) { m_multipartUploadId = value; }
49 inline void SetMultipartUploadId(Aws::String&& value) { m_multipartUploadId = std::move(value); }
50 inline void SetMultipartUploadId(const char* value) { m_multipartUploadId.assign(value); }
51 inline ListPartsResult& WithMultipartUploadId(const Aws::String& value) { SetMultipartUploadId(value); return *this;}
52 inline ListPartsResult& WithMultipartUploadId(Aws::String&& value) { SetMultipartUploadId(std::move(value)); return *this;}
53 inline ListPartsResult& WithMultipartUploadId(const char* value) { SetMultipartUploadId(value); return *this;}
55
57
61 inline const Aws::String& GetVaultARN() const{ return m_vaultARN; }
62 inline void SetVaultARN(const Aws::String& value) { m_vaultARN = value; }
63 inline void SetVaultARN(Aws::String&& value) { m_vaultARN = std::move(value); }
64 inline void SetVaultARN(const char* value) { m_vaultARN.assign(value); }
65 inline ListPartsResult& WithVaultARN(const Aws::String& value) { SetVaultARN(value); return *this;}
66 inline ListPartsResult& WithVaultARN(Aws::String&& value) { SetVaultARN(std::move(value)); return *this;}
67 inline ListPartsResult& WithVaultARN(const char* value) { SetVaultARN(value); return *this;}
69
71
75 inline const Aws::String& GetArchiveDescription() const{ return m_archiveDescription; }
76 inline void SetArchiveDescription(const Aws::String& value) { m_archiveDescription = value; }
77 inline void SetArchiveDescription(Aws::String&& value) { m_archiveDescription = std::move(value); }
78 inline void SetArchiveDescription(const char* value) { m_archiveDescription.assign(value); }
79 inline ListPartsResult& WithArchiveDescription(const Aws::String& value) { SetArchiveDescription(value); return *this;}
80 inline ListPartsResult& WithArchiveDescription(Aws::String&& value) { SetArchiveDescription(std::move(value)); return *this;}
81 inline ListPartsResult& WithArchiveDescription(const char* value) { SetArchiveDescription(value); return *this;}
83
85
89 inline long long GetPartSizeInBytes() const{ return m_partSizeInBytes; }
90 inline void SetPartSizeInBytes(long long value) { m_partSizeInBytes = value; }
91 inline ListPartsResult& WithPartSizeInBytes(long long value) { SetPartSizeInBytes(value); return *this;}
93
95
98 inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
99 inline void SetCreationDate(const Aws::String& value) { m_creationDate = value; }
100 inline void SetCreationDate(Aws::String&& value) { m_creationDate = std::move(value); }
101 inline void SetCreationDate(const char* value) { m_creationDate.assign(value); }
102 inline ListPartsResult& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
103 inline ListPartsResult& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
104 inline ListPartsResult& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
106
108
113 inline const Aws::Vector<PartListElement>& GetParts() const{ return m_parts; }
114 inline void SetParts(const Aws::Vector<PartListElement>& value) { m_parts = value; }
115 inline void SetParts(Aws::Vector<PartListElement>&& value) { m_parts = std::move(value); }
116 inline ListPartsResult& WithParts(const Aws::Vector<PartListElement>& value) { SetParts(value); return *this;}
117 inline ListPartsResult& WithParts(Aws::Vector<PartListElement>&& value) { SetParts(std::move(value)); return *this;}
118 inline ListPartsResult& AddParts(const PartListElement& value) { m_parts.push_back(value); return *this; }
119 inline ListPartsResult& AddParts(PartListElement&& value) { m_parts.push_back(std::move(value)); return *this; }
121
123
128 inline const Aws::String& GetMarker() const{ return m_marker; }
129 inline void SetMarker(const Aws::String& value) { m_marker = value; }
130 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
131 inline void SetMarker(const char* value) { m_marker.assign(value); }
132 inline ListPartsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
133 inline ListPartsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
134 inline ListPartsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
136
138
139 inline const Aws::String& GetRequestId() const{ return m_requestId; }
140 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
141 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
142 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
143 inline ListPartsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
144 inline ListPartsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
145 inline ListPartsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
147 private:
148
149 Aws::String m_multipartUploadId;
150
151 Aws::String m_vaultARN;
152
153 Aws::String m_archiveDescription;
154
155 long long m_partSizeInBytes;
156
157 Aws::String m_creationDate;
158
160
161 Aws::String m_marker;
162
163 Aws::String m_requestId;
164 };
165
166} // namespace Model
167} // namespace Glacier
168} // namespace Aws
ListPartsResult & WithMultipartUploadId(const char *value)
void SetArchiveDescription(const Aws::String &value)
ListPartsResult & WithMultipartUploadId(Aws::String &&value)
void SetCreationDate(Aws::String &&value)
const Aws::String & GetCreationDate() const
ListPartsResult & WithMarker(const Aws::String &value)
const Aws::String & GetArchiveDescription() const
const Aws::String & GetVaultARN() const
AWS_GLACIER_API ListPartsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetVaultARN(const Aws::String &value)
ListPartsResult & WithRequestId(const char *value)
ListPartsResult & WithVaultARN(const char *value)
void SetMultipartUploadId(const char *value)
const Aws::String & GetRequestId() const
ListPartsResult & WithVaultARN(const Aws::String &value)
const Aws::String & GetMultipartUploadId() const
void SetPartSizeInBytes(long long value)
ListPartsResult & WithRequestId(Aws::String &&value)
void SetVaultARN(const char *value)
ListPartsResult & WithPartSizeInBytes(long long value)
const Aws::Vector< PartListElement > & GetParts() const
ListPartsResult & WithArchiveDescription(const char *value)
ListPartsResult & WithMultipartUploadId(const Aws::String &value)
void SetMultipartUploadId(Aws::String &&value)
ListPartsResult & WithRequestId(const Aws::String &value)
AWS_GLACIER_API ListPartsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreationDate(const char *value)
ListPartsResult & WithArchiveDescription(Aws::String &&value)
ListPartsResult & WithArchiveDescription(const Aws::String &value)
void SetRequestId(const Aws::String &value)
ListPartsResult & WithCreationDate(const char *value)
void SetMarker(Aws::String &&value)
ListPartsResult & WithVaultARN(Aws::String &&value)
void SetArchiveDescription(const char *value)
ListPartsResult & WithCreationDate(Aws::String &&value)
void SetParts(const Aws::Vector< PartListElement > &value)
void SetParts(Aws::Vector< PartListElement > &&value)
void SetVaultARN(Aws::String &&value)
void SetRequestId(Aws::String &&value)
ListPartsResult & WithParts(Aws::Vector< PartListElement > &&value)
ListPartsResult & AddParts(PartListElement &&value)
ListPartsResult & AddParts(const PartListElement &value)
void SetCreationDate(const Aws::String &value)
ListPartsResult & WithMarker(Aws::String &&value)
void SetMultipartUploadId(const Aws::String &value)
void SetArchiveDescription(Aws::String &&value)
void SetMarker(const Aws::String &value)
const Aws::String & GetMarker() const
ListPartsResult & WithParts(const Aws::Vector< PartListElement > &value)
ListPartsResult & WithCreationDate(const Aws::String &value)
ListPartsResult & WithMarker(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue