AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
34
35
37
43 inline const ValueHolder& GetProof() const { return m_proof; }
44 template<typename ProofT = ValueHolder>
45 void SetProof(ProofT&& value) { m_proofHasBeenSet = true; m_proof = std::forward<ProofT>(value); }
46 template<typename ProofT = ValueHolder>
47 GetRevisionResult& WithProof(ProofT&& value) { SetProof(std::forward<ProofT>(value)); return *this;}
49
51
54 inline const ValueHolder& GetRevision() const { return m_revision; }
55 template<typename RevisionT = ValueHolder>
56 void SetRevision(RevisionT&& value) { m_revisionHasBeenSet = true; m_revision = std::forward<RevisionT>(value); }
57 template<typename RevisionT = ValueHolder>
58 GetRevisionResult& WithRevision(RevisionT&& value) { SetRevision(std::forward<RevisionT>(value)); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const { return m_requestId; }
64 template<typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
66 template<typename RequestIdT = Aws::String>
67 GetRevisionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
69 private:
70
71 ValueHolder m_proof;
72 bool m_proofHasBeenSet = false;
73
74 ValueHolder m_revision;
75 bool m_revisionHasBeenSet = false;
76
77 Aws::String m_requestId;
78 bool m_requestIdHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace QLDB
83} // namespace Aws
void SetRequestId(RequestIdT &&value)
AWS_QLDB_API GetRevisionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ValueHolder & GetRevision() const
AWS_QLDB_API GetRevisionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRevisionResult & WithRequestId(RequestIdT &&value)
AWS_QLDB_API GetRevisionResult()=default
const ValueHolder & GetProof() const
GetRevisionResult & WithProof(ProofT &&value)
GetRevisionResult & WithRevision(RevisionT &&value)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue