AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRevisionResult.h
1
6#pragma once
7#include <aws/qldb/QLDB_EXPORTS.h>
8#include <aws/qldb/model/ValueHolder.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace QLDB
25{
26namespace Model
27{
29 {
30 public:
31 AWS_QLDB_API GetRevisionResult();
34
35
37
43 inline const ValueHolder& GetProof() const{ return m_proof; }
44 inline void SetProof(const ValueHolder& value) { m_proof = value; }
45 inline void SetProof(ValueHolder&& value) { m_proof = std::move(value); }
46 inline GetRevisionResult& WithProof(const ValueHolder& value) { SetProof(value); return *this;}
47 inline GetRevisionResult& WithProof(ValueHolder&& value) { SetProof(std::move(value)); return *this;}
49
51
54 inline const ValueHolder& GetRevision() const{ return m_revision; }
55 inline void SetRevision(const ValueHolder& value) { m_revision = value; }
56 inline void SetRevision(ValueHolder&& value) { m_revision = std::move(value); }
57 inline GetRevisionResult& WithRevision(const ValueHolder& value) { SetRevision(value); return *this;}
58 inline GetRevisionResult& WithRevision(ValueHolder&& value) { SetRevision(std::move(value)); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline GetRevisionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline GetRevisionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline GetRevisionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 ValueHolder m_proof;
74
75 ValueHolder m_revision;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace QLDB
82} // namespace Aws
GetRevisionResult & WithProof(const ValueHolder &value)
GetRevisionResult & WithRequestId(Aws::String &&value)
GetRevisionResult & WithRevision(const ValueHolder &value)
AWS_QLDB_API GetRevisionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRevisionResult & WithRevision(ValueHolder &&value)
GetRevisionResult & WithProof(ValueHolder &&value)
GetRevisionResult & WithRequestId(const char *value)
const ValueHolder & GetRevision() const
void SetProof(ValueHolder &&value)
void SetRequestId(Aws::String &&value)
void SetRevision(const ValueHolder &value)
AWS_QLDB_API GetRevisionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRevision(ValueHolder &&value)
GetRevisionResult & WithRequestId(const Aws::String &value)
void SetProof(const ValueHolder &value)
const ValueHolder & GetProof() const
void SetRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue