AWS SDK for C++  1.9.158
AWS SDK for C++
CreateNetworkResult.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& GetNetworkId() const{ return m_networkId; }
39 
43  inline void SetNetworkId(const Aws::String& value) { m_networkId = value; }
44 
48  inline void SetNetworkId(Aws::String&& value) { m_networkId = std::move(value); }
49 
53  inline void SetNetworkId(const char* value) { m_networkId.assign(value); }
54 
58  inline CreateNetworkResult& WithNetworkId(const Aws::String& value) { SetNetworkId(value); return *this;}
59 
63  inline CreateNetworkResult& WithNetworkId(Aws::String&& value) { SetNetworkId(std::move(value)); return *this;}
64 
68  inline CreateNetworkResult& WithNetworkId(const char* value) { SetNetworkId(value); return *this;}
69 
70 
74  inline const Aws::String& GetMemberId() const{ return m_memberId; }
75 
79  inline void SetMemberId(const Aws::String& value) { m_memberId = value; }
80 
84  inline void SetMemberId(Aws::String&& value) { m_memberId = std::move(value); }
85 
89  inline void SetMemberId(const char* value) { m_memberId.assign(value); }
90 
94  inline CreateNetworkResult& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;}
95 
99  inline CreateNetworkResult& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;}
100 
104  inline CreateNetworkResult& WithMemberId(const char* value) { SetMemberId(value); return *this;}
105 
106  private:
107 
108  Aws::String m_networkId;
109 
110  Aws::String m_memberId;
111  };
112 
113 } // namespace Model
114 } // namespace ManagedBlockchain
115 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ManagedBlockchain::Model::CreateNetworkResult::operator=
CreateNetworkResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ManagedBlockchain::Model::CreateNetworkResult::CreateNetworkResult
CreateNetworkResult()
Aws::ManagedBlockchain::Model::CreateNetworkResult::SetMemberId
void SetMemberId(const Aws::String &value)
Definition: CreateNetworkResult.h:79
Aws::ManagedBlockchain::Model::CreateNetworkResult::WithNetworkId
CreateNetworkResult & WithNetworkId(const Aws::String &value)
Definition: CreateNetworkResult.h:58
Aws::ManagedBlockchain::Model::CreateNetworkResult::GetMemberId
const Aws::String & GetMemberId() const
Definition: CreateNetworkResult.h:74
Aws::ManagedBlockchain::Model::CreateNetworkResult::SetMemberId
void SetMemberId(Aws::String &&value)
Definition: CreateNetworkResult.h:84
Aws::ManagedBlockchain::Model::CreateNetworkResult::WithMemberId
CreateNetworkResult & WithMemberId(const char *value)
Definition: CreateNetworkResult.h:104
Aws::ManagedBlockchain::Model::CreateNetworkResult::WithMemberId
CreateNetworkResult & WithMemberId(Aws::String &&value)
Definition: CreateNetworkResult.h:99
Aws::ManagedBlockchain::Model::CreateNetworkResult::CreateNetworkResult
CreateNetworkResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ManagedBlockchain::Model::CreateNetworkResult::WithNetworkId
CreateNetworkResult & WithNetworkId(const char *value)
Definition: CreateNetworkResult.h:68
Aws::ManagedBlockchain::Model::CreateNetworkResult::SetMemberId
void SetMemberId(const char *value)
Definition: CreateNetworkResult.h:89
Aws::ManagedBlockchain::Model::CreateNetworkResult::WithMemberId
CreateNetworkResult & WithMemberId(const Aws::String &value)
Definition: CreateNetworkResult.h:94
Aws::ManagedBlockchain::Model::CreateNetworkResult::GetNetworkId
const Aws::String & GetNetworkId() const
Definition: CreateNetworkResult.h:38
AWSString.h
Aws::ManagedBlockchain::Model::CreateNetworkResult::SetNetworkId
void SetNetworkId(Aws::String &&value)
Definition: CreateNetworkResult.h:48
Aws::ManagedBlockchain::Model::CreateNetworkResult::SetNetworkId
void SetNetworkId(const Aws::String &value)
Definition: CreateNetworkResult.h:43
AWS_MANAGEDBLOCKCHAIN_API
#define AWS_MANAGEDBLOCKCHAIN_API
Definition: ManagedBlockchain_EXPORTS.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
ManagedBlockchain_EXPORTS.h
Aws::ManagedBlockchain::Model::CreateNetworkResult::SetNetworkId
void SetNetworkId(const char *value)
Definition: CreateNetworkResult.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ManagedBlockchain::Model::CreateNetworkResult
Definition: CreateNetworkResult.h:28
Aws::ManagedBlockchain::Model::CreateNetworkResult::WithNetworkId
CreateNetworkResult & WithNetworkId(Aws::String &&value)
Definition: CreateNetworkResult.h:63