AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
43 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
44 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
45 inline GetRevisionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
46 inline GetRevisionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
47 inline GetRevisionRequest& WithName(const char* value) { SetName(value); return *this;}
49
51
57 inline const ValueHolder& GetBlockAddress() const{ return m_blockAddress; }
58 inline bool BlockAddressHasBeenSet() const { return m_blockAddressHasBeenSet; }
59 inline void SetBlockAddress(const ValueHolder& value) { m_blockAddressHasBeenSet = true; m_blockAddress = value; }
60 inline void SetBlockAddress(ValueHolder&& value) { m_blockAddressHasBeenSet = true; m_blockAddress = std::move(value); }
61 inline GetRevisionRequest& WithBlockAddress(const ValueHolder& value) { SetBlockAddress(value); return *this;}
62 inline GetRevisionRequest& WithBlockAddress(ValueHolder&& value) { SetBlockAddress(std::move(value)); return *this;}
64
66
70 inline const Aws::String& GetDocumentId() const{ return m_documentId; }
71 inline bool DocumentIdHasBeenSet() const { return m_documentIdHasBeenSet; }
72 inline void SetDocumentId(const Aws::String& value) { m_documentIdHasBeenSet = true; m_documentId = value; }
73 inline void SetDocumentId(Aws::String&& value) { m_documentIdHasBeenSet = true; m_documentId = std::move(value); }
74 inline void SetDocumentId(const char* value) { m_documentIdHasBeenSet = true; m_documentId.assign(value); }
75 inline GetRevisionRequest& WithDocumentId(const Aws::String& value) { SetDocumentId(value); return *this;}
76 inline GetRevisionRequest& WithDocumentId(Aws::String&& value) { SetDocumentId(std::move(value)); return *this;}
77 inline GetRevisionRequest& WithDocumentId(const char* value) { SetDocumentId(value); return *this;}
79
81
87 inline const ValueHolder& GetDigestTipAddress() const{ return m_digestTipAddress; }
88 inline bool DigestTipAddressHasBeenSet() const { return m_digestTipAddressHasBeenSet; }
89 inline void SetDigestTipAddress(const ValueHolder& value) { m_digestTipAddressHasBeenSet = true; m_digestTipAddress = value; }
90 inline void SetDigestTipAddress(ValueHolder&& value) { m_digestTipAddressHasBeenSet = true; m_digestTipAddress = std::move(value); }
91 inline GetRevisionRequest& WithDigestTipAddress(const ValueHolder& value) { SetDigestTipAddress(value); return *this;}
92 inline GetRevisionRequest& WithDigestTipAddress(ValueHolder&& value) { SetDigestTipAddress(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_name;
97 bool m_nameHasBeenSet = false;
98
99 ValueHolder m_blockAddress;
100 bool m_blockAddressHasBeenSet = false;
101
102 Aws::String m_documentId;
103 bool m_documentIdHasBeenSet = false;
104
105 ValueHolder m_digestTipAddress;
106 bool m_digestTipAddressHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace QLDB
111} // namespace Aws
void SetDocumentId(const Aws::String &value)
void SetDigestTipAddress(const ValueHolder &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDocumentId() const
void SetName(const Aws::String &value)
void SetBlockAddress(ValueHolder &&value)
GetRevisionRequest & WithBlockAddress(ValueHolder &&value)
const Aws::String & GetName() const
const ValueHolder & GetBlockAddress() const
GetRevisionRequest & WithDigestTipAddress(const ValueHolder &value)
const ValueHolder & GetDigestTipAddress() const
GetRevisionRequest & WithBlockAddress(const ValueHolder &value)
GetRevisionRequest & WithDocumentId(const Aws::String &value)
void SetDigestTipAddress(ValueHolder &&value)
AWS_QLDB_API Aws::String SerializePayload() const override
GetRevisionRequest & WithDocumentId(Aws::String &&value)
GetRevisionRequest & WithDocumentId(const char *value)
void SetBlockAddress(const ValueHolder &value)
GetRevisionRequest & WithName(const Aws::String &value)
void SetDocumentId(Aws::String &&value)
GetRevisionRequest & WithDigestTipAddress(ValueHolder &&value)
GetRevisionRequest & WithName(Aws::String &&value)
GetRevisionRequest & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String