AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAccessorResult.h
1
6#pragma once
7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/managedblockchain/model/AccessorNetworkType.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 ManagedBlockchain
25{
26namespace Model
27{
29 {
30 public:
31 AWS_MANAGEDBLOCKCHAIN_API CreateAccessorResult();
34
35
37
40 inline const Aws::String& GetAccessorId() const{ return m_accessorId; }
41 inline void SetAccessorId(const Aws::String& value) { m_accessorId = value; }
42 inline void SetAccessorId(Aws::String&& value) { m_accessorId = std::move(value); }
43 inline void SetAccessorId(const char* value) { m_accessorId.assign(value); }
44 inline CreateAccessorResult& WithAccessorId(const Aws::String& value) { SetAccessorId(value); return *this;}
45 inline CreateAccessorResult& WithAccessorId(Aws::String&& value) { SetAccessorId(std::move(value)); return *this;}
46 inline CreateAccessorResult& WithAccessorId(const char* value) { SetAccessorId(value); return *this;}
48
50
55 inline const Aws::String& GetBillingToken() const{ return m_billingToken; }
56 inline void SetBillingToken(const Aws::String& value) { m_billingToken = value; }
57 inline void SetBillingToken(Aws::String&& value) { m_billingToken = std::move(value); }
58 inline void SetBillingToken(const char* value) { m_billingToken.assign(value); }
59 inline CreateAccessorResult& WithBillingToken(const Aws::String& value) { SetBillingToken(value); return *this;}
60 inline CreateAccessorResult& WithBillingToken(Aws::String&& value) { SetBillingToken(std::move(value)); return *this;}
61 inline CreateAccessorResult& WithBillingToken(const char* value) { SetBillingToken(value); return *this;}
63
65
68 inline const AccessorNetworkType& GetNetworkType() const{ return m_networkType; }
69 inline void SetNetworkType(const AccessorNetworkType& value) { m_networkType = value; }
70 inline void SetNetworkType(AccessorNetworkType&& value) { m_networkType = std::move(value); }
71 inline CreateAccessorResult& WithNetworkType(const AccessorNetworkType& value) { SetNetworkType(value); return *this;}
72 inline CreateAccessorResult& WithNetworkType(AccessorNetworkType&& value) { SetNetworkType(std::move(value)); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const{ return m_requestId; }
78 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
79 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
80 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
81 inline CreateAccessorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
82 inline CreateAccessorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
83 inline CreateAccessorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
85 private:
86
87 Aws::String m_accessorId;
88
89 Aws::String m_billingToken;
90
91 AccessorNetworkType m_networkType;
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace ManagedBlockchain
98} // namespace Aws
void SetNetworkType(const AccessorNetworkType &value)
CreateAccessorResult & WithNetworkType(const AccessorNetworkType &value)
CreateAccessorResult & WithNetworkType(AccessorNetworkType &&value)
CreateAccessorResult & WithAccessorId(const Aws::String &value)
AWS_MANAGEDBLOCKCHAIN_API CreateAccessorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAccessorResult & WithBillingToken(const char *value)
CreateAccessorResult & WithRequestId(Aws::String &&value)
CreateAccessorResult & WithRequestId(const char *value)
CreateAccessorResult & WithAccessorId(const char *value)
CreateAccessorResult & WithBillingToken(Aws::String &&value)
CreateAccessorResult & WithAccessorId(Aws::String &&value)
AWS_MANAGEDBLOCKCHAIN_API CreateAccessorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAccessorResult & WithRequestId(const Aws::String &value)
CreateAccessorResult & WithBillingToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue