7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glacier/Glacier_EXPORTS.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
45 template <
typename LocationT = Aws::String>
47 m_locationHasBeenSet =
true;
48 m_location = std::forward<LocationT>(value);
50 template <
typename LocationT = Aws::String>
62 template <
typename ChecksumT = Aws::String>
64 m_checksumHasBeenSet =
true;
65 m_checksum = std::forward<ChecksumT>(value);
67 template <
typename ChecksumT = Aws::String>
80 template <
typename ArchiveIdT = Aws::String>
82 m_archiveIdHasBeenSet =
true;
83 m_archiveId = std::forward<ArchiveIdT>(value);
85 template <
typename ArchiveIdT = Aws::String>
95 template <
typename RequestIdT = Aws::String>
97 m_requestIdHasBeenSet =
true;
98 m_requestId = std::forward<RequestIdT>(value);
100 template <
typename RequestIdT = Aws::String>
117 bool m_locationHasBeenSet =
false;
118 bool m_checksumHasBeenSet =
false;
119 bool m_archiveIdHasBeenSet =
false;
120 bool m_requestIdHasBeenSet =
false;
UploadArchiveResult & WithChecksum(ChecksumT &&value)
const Aws::String & GetRequestId() const
UploadArchiveResult & WithArchiveId(ArchiveIdT &&value)
AWS_GLACIER_API UploadArchiveResult()=default
void SetRequestId(RequestIdT &&value)
void SetArchiveId(ArchiveIdT &&value)
void SetChecksum(ChecksumT &&value)
UploadArchiveResult & WithLocation(LocationT &&value)
const Aws::String & GetLocation() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UploadArchiveResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetChecksum() const
void SetLocation(LocationT &&value)
AWS_GLACIER_API UploadArchiveResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetArchiveId() const
AWS_GLACIER_API UploadArchiveResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue