AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDigestResult.h
1
6#pragma once
7#include <aws/qldb/QLDB_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/qldb/model/ValueHolder.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace QLDB
26{
27namespace Model
28{
30 {
31 public:
32 AWS_QLDB_API GetDigestResult();
35
36
38
42 inline const Aws::Utils::ByteBuffer& GetDigest() const{ return m_digest; }
43 inline void SetDigest(const Aws::Utils::ByteBuffer& value) { m_digest = value; }
44 inline void SetDigest(Aws::Utils::ByteBuffer&& value) { m_digest = std::move(value); }
45 inline GetDigestResult& WithDigest(const Aws::Utils::ByteBuffer& value) { SetDigest(value); return *this;}
46 inline GetDigestResult& WithDigest(Aws::Utils::ByteBuffer&& value) { SetDigest(std::move(value)); return *this;}
48
50
55 inline const ValueHolder& GetDigestTipAddress() const{ return m_digestTipAddress; }
56 inline void SetDigestTipAddress(const ValueHolder& value) { m_digestTipAddress = value; }
57 inline void SetDigestTipAddress(ValueHolder&& value) { m_digestTipAddress = std::move(value); }
58 inline GetDigestResult& WithDigestTipAddress(const ValueHolder& value) { SetDigestTipAddress(value); return *this;}
59 inline GetDigestResult& WithDigestTipAddress(ValueHolder&& value) { SetDigestTipAddress(std::move(value)); return *this;}
61
63
64 inline const Aws::String& GetRequestId() const{ return m_requestId; }
65 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
66 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
67 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
68 inline GetDigestResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
69 inline GetDigestResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
70 inline GetDigestResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
72 private:
73
75
76 ValueHolder m_digestTipAddress;
77
78 Aws::String m_requestId;
79 };
80
81} // namespace Model
82} // namespace QLDB
83} // namespace Aws
GetDigestResult & WithDigestTipAddress(const ValueHolder &value)
GetDigestResult & WithRequestId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
const Aws::Utils::ByteBuffer & GetDigest() const
void SetDigest(const Aws::Utils::ByteBuffer &value)
void SetDigestTipAddress(ValueHolder &&value)
AWS_QLDB_API GetDigestResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDigestResult & WithDigestTipAddress(ValueHolder &&value)
GetDigestResult & WithDigest(const Aws::Utils::ByteBuffer &value)
void SetDigest(Aws::Utils::ByteBuffer &&value)
GetDigestResult & WithRequestId(Aws::String &&value)
void SetRequestId(Aws::String &&value)
void SetRequestId(const char *value)
const ValueHolder & GetDigestTipAddress() const
GetDigestResult & WithRequestId(const char *value)
GetDigestResult & WithDigest(Aws::Utils::ByteBuffer &&value)
AWS_QLDB_API GetDigestResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDigestTipAddress(const ValueHolder &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue