AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UploadArchiveResult.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{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Glacier
24{
25namespace Model
26{
38 {
39 public:
40 AWS_GLACIER_API UploadArchiveResult();
43
44
46
49 inline const Aws::String& GetLocation() const{ return m_location; }
50 inline void SetLocation(const Aws::String& value) { m_location = value; }
51 inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
52 inline void SetLocation(const char* value) { m_location.assign(value); }
53 inline UploadArchiveResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
54 inline UploadArchiveResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
55 inline UploadArchiveResult& WithLocation(const char* value) { SetLocation(value); return *this;}
57
59
62 inline const Aws::String& GetChecksum() const{ return m_checksum; }
63 inline void SetChecksum(const Aws::String& value) { m_checksum = value; }
64 inline void SetChecksum(Aws::String&& value) { m_checksum = std::move(value); }
65 inline void SetChecksum(const char* value) { m_checksum.assign(value); }
66 inline UploadArchiveResult& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;}
67 inline UploadArchiveResult& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;}
68 inline UploadArchiveResult& WithChecksum(const char* value) { SetChecksum(value); return *this;}
70
72
76 inline const Aws::String& GetArchiveId() const{ return m_archiveId; }
77 inline void SetArchiveId(const Aws::String& value) { m_archiveId = value; }
78 inline void SetArchiveId(Aws::String&& value) { m_archiveId = std::move(value); }
79 inline void SetArchiveId(const char* value) { m_archiveId.assign(value); }
80 inline UploadArchiveResult& WithArchiveId(const Aws::String& value) { SetArchiveId(value); return *this;}
81 inline UploadArchiveResult& WithArchiveId(Aws::String&& value) { SetArchiveId(std::move(value)); return *this;}
82 inline UploadArchiveResult& WithArchiveId(const char* value) { SetArchiveId(value); return *this;}
84
86
87 inline const Aws::String& GetRequestId() const{ return m_requestId; }
88 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
89 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
90 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
91 inline UploadArchiveResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
92 inline UploadArchiveResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
93 inline UploadArchiveResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
95 private:
96
97 Aws::String m_location;
98
99 Aws::String m_checksum;
100
101 Aws::String m_archiveId;
102
103 Aws::String m_requestId;
104 };
105
106} // namespace Model
107} // namespace Glacier
108} // namespace Aws
void SetArchiveId(const Aws::String &value)
UploadArchiveResult & WithLocation(const Aws::String &value)
void SetChecksum(const Aws::String &value)
UploadArchiveResult & WithChecksum(const Aws::String &value)
void SetLocation(const Aws::String &value)
UploadArchiveResult & WithChecksum(const char *value)
UploadArchiveResult & WithArchiveId(Aws::String &&value)
UploadArchiveResult & WithLocation(Aws::String &&value)
UploadArchiveResult & WithArchiveId(const char *value)
UploadArchiveResult & WithRequestId(const Aws::String &value)
UploadArchiveResult & WithLocation(const char *value)
UploadArchiveResult & WithChecksum(Aws::String &&value)
UploadArchiveResult & WithRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
AWS_GLACIER_API UploadArchiveResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UploadArchiveResult & WithArchiveId(const Aws::String &value)
AWS_GLACIER_API UploadArchiveResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UploadArchiveResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue