AWS SDK for C++  1.9.159
AWS SDK for C++
CreateNodeResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace ManagedBlockchain
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetNodeId() const{ return m_nodeId; }
39 
43  inline void SetNodeId(const Aws::String& value) { m_nodeId = value; }
44 
48  inline void SetNodeId(Aws::String&& value) { m_nodeId = std::move(value); }
49 
53  inline void SetNodeId(const char* value) { m_nodeId.assign(value); }
54 
58  inline CreateNodeResult& WithNodeId(const Aws::String& value) { SetNodeId(value); return *this;}
59 
63  inline CreateNodeResult& WithNodeId(Aws::String&& value) { SetNodeId(std::move(value)); return *this;}
64 
68  inline CreateNodeResult& WithNodeId(const char* value) { SetNodeId(value); return *this;}
69 
70  private:
71 
72  Aws::String m_nodeId;
73  };
74 
75 } // namespace Model
76 } // namespace ManagedBlockchain
77 } // namespace Aws
Aws::ManagedBlockchain::Model::CreateNodeResult::CreateNodeResult
CreateNodeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ManagedBlockchain::Model::CreateNodeResult::SetNodeId
void SetNodeId(const Aws::String &value)
Definition: CreateNodeResult.h:43
Aws::ManagedBlockchain::Model::CreateNodeResult::GetNodeId
const Aws::String & GetNodeId() const
Definition: CreateNodeResult.h:38
Aws::ManagedBlockchain::Model::CreateNodeResult::WithNodeId
CreateNodeResult & WithNodeId(const Aws::String &value)
Definition: CreateNodeResult.h:58
Aws::ManagedBlockchain::Model::CreateNodeResult::WithNodeId
CreateNodeResult & WithNodeId(const char *value)
Definition: CreateNodeResult.h:68
AWSString.h
Aws::ManagedBlockchain::Model::CreateNodeResult::SetNodeId
void SetNodeId(const char *value)
Definition: CreateNodeResult.h:53
AWS_MANAGEDBLOCKCHAIN_API
#define AWS_MANAGEDBLOCKCHAIN_API
Definition: ManagedBlockchain_EXPORTS.h:28
Aws::ManagedBlockchain::Model::CreateNodeResult::WithNodeId
CreateNodeResult & WithNodeId(Aws::String &&value)
Definition: CreateNodeResult.h:63
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ManagedBlockchain::Model::CreateNodeResult::SetNodeId
void SetNodeId(Aws::String &&value)
Definition: CreateNodeResult.h:48
ManagedBlockchain_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ManagedBlockchain::Model::CreateNodeResult::operator=
CreateNodeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ManagedBlockchain::Model::CreateNodeResult::CreateNodeResult
CreateNodeResult()
Aws::ManagedBlockchain::Model::CreateNodeResult
Definition: CreateNodeResult.h:28