AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GetRevisionRequest.h
1
6#pragma once
7#include <aws/qldb/QLDB_EXPORTS.h>
8#include <aws/qldb/QLDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qldb/model/ValueHolder.h>
11#include <utility>
12
13namespace Aws
14{
15namespace QLDB
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_QLDB_API GetRevisionRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetRevision"; }
32
33 AWS_QLDB_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template<typename NameT = Aws::String>
43 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
44 template<typename NameT = Aws::String>
45 GetRevisionRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
47
49
55 inline const ValueHolder& GetBlockAddress() const { return m_blockAddress; }
56 inline bool BlockAddressHasBeenSet() const { return m_blockAddressHasBeenSet; }
57 template<typename BlockAddressT = ValueHolder>
58 void SetBlockAddress(BlockAddressT&& value) { m_blockAddressHasBeenSet = true; m_blockAddress = std::forward<BlockAddressT>(value); }
59 template<typename BlockAddressT = ValueHolder>
60 GetRevisionRequest& WithBlockAddress(BlockAddressT&& value) { SetBlockAddress(std::forward<BlockAddressT>(value)); return *this;}
62
64
68 inline const Aws::String& GetDocumentId() const { return m_documentId; }
69 inline bool DocumentIdHasBeenSet() const { return m_documentIdHasBeenSet; }
70 template<typename DocumentIdT = Aws::String>
71 void SetDocumentId(DocumentIdT&& value) { m_documentIdHasBeenSet = true; m_documentId = std::forward<DocumentIdT>(value); }
72 template<typename DocumentIdT = Aws::String>
73 GetRevisionRequest& WithDocumentId(DocumentIdT&& value) { SetDocumentId(std::forward<DocumentIdT>(value)); return *this;}
75
77
83 inline const ValueHolder& GetDigestTipAddress() const { return m_digestTipAddress; }
84 inline bool DigestTipAddressHasBeenSet() const { return m_digestTipAddressHasBeenSet; }
85 template<typename DigestTipAddressT = ValueHolder>
86 void SetDigestTipAddress(DigestTipAddressT&& value) { m_digestTipAddressHasBeenSet = true; m_digestTipAddress = std::forward<DigestTipAddressT>(value); }
87 template<typename DigestTipAddressT = ValueHolder>
88 GetRevisionRequest& WithDigestTipAddress(DigestTipAddressT&& value) { SetDigestTipAddress(std::forward<DigestTipAddressT>(value)); return *this;}
90 private:
91
92 Aws::String m_name;
93 bool m_nameHasBeenSet = false;
94
95 ValueHolder m_blockAddress;
96 bool m_blockAddressHasBeenSet = false;
97
98 Aws::String m_documentId;
99 bool m_documentIdHasBeenSet = false;
100
101 ValueHolder m_digestTipAddress;
102 bool m_digestTipAddressHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace QLDB
107} // namespace Aws
void SetDocumentId(DocumentIdT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDocumentId() const
GetRevisionRequest & WithDigestTipAddress(DigestTipAddressT &&value)
void SetDigestTipAddress(DigestTipAddressT &&value)
const Aws::String & GetName() const
const ValueHolder & GetBlockAddress() const
GetRevisionRequest & WithDocumentId(DocumentIdT &&value)
GetRevisionRequest & WithBlockAddress(BlockAddressT &&value)
const ValueHolder & GetDigestTipAddress() const
AWS_QLDB_API Aws::String SerializePayload() const override
AWS_QLDB_API GetRevisionRequest()=default
void SetBlockAddress(BlockAddressT &&value)
GetRevisionRequest & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String