AWS SDK for C++  1.9.160
AWS SDK for C++
MemberFabricConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace ManagedBlockchain
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetAdminUsername() const{ return m_adminUsername; }
46 
50  inline bool AdminUsernameHasBeenSet() const { return m_adminUsernameHasBeenSet; }
51 
55  inline void SetAdminUsername(const Aws::String& value) { m_adminUsernameHasBeenSet = true; m_adminUsername = value; }
56 
60  inline void SetAdminUsername(Aws::String&& value) { m_adminUsernameHasBeenSet = true; m_adminUsername = std::move(value); }
61 
65  inline void SetAdminUsername(const char* value) { m_adminUsernameHasBeenSet = true; m_adminUsername.assign(value); }
66 
70  inline MemberFabricConfiguration& WithAdminUsername(const Aws::String& value) { SetAdminUsername(value); return *this;}
71 
75  inline MemberFabricConfiguration& WithAdminUsername(Aws::String&& value) { SetAdminUsername(std::move(value)); return *this;}
76 
80  inline MemberFabricConfiguration& WithAdminUsername(const char* value) { SetAdminUsername(value); return *this;}
81 
82 
90  inline const Aws::String& GetAdminPassword() const{ return m_adminPassword; }
91 
99  inline bool AdminPasswordHasBeenSet() const { return m_adminPasswordHasBeenSet; }
100 
108  inline void SetAdminPassword(const Aws::String& value) { m_adminPasswordHasBeenSet = true; m_adminPassword = value; }
109 
117  inline void SetAdminPassword(Aws::String&& value) { m_adminPasswordHasBeenSet = true; m_adminPassword = std::move(value); }
118 
126  inline void SetAdminPassword(const char* value) { m_adminPasswordHasBeenSet = true; m_adminPassword.assign(value); }
127 
135  inline MemberFabricConfiguration& WithAdminPassword(const Aws::String& value) { SetAdminPassword(value); return *this;}
136 
144  inline MemberFabricConfiguration& WithAdminPassword(Aws::String&& value) { SetAdminPassword(std::move(value)); return *this;}
145 
153  inline MemberFabricConfiguration& WithAdminPassword(const char* value) { SetAdminPassword(value); return *this;}
154 
155  private:
156 
157  Aws::String m_adminUsername;
158  bool m_adminUsernameHasBeenSet;
159 
160  Aws::String m_adminPassword;
161  bool m_adminPasswordHasBeenSet;
162  };
163 
164 } // namespace Model
165 } // namespace ManagedBlockchain
166 } // namespace Aws
Aws::ManagedBlockchain::Model::MemberFabricConfiguration::SetAdminUsername
void SetAdminUsername(const Aws::String &value)
Definition: MemberFabricConfiguration.h:55
Aws::ManagedBlockchain::Model::MemberFabricConfiguration::WithAdminPassword
MemberFabricConfiguration & WithAdminPassword(const char *value)
Definition: MemberFabricConfiguration.h:153
Aws::ManagedBlockchain::Model::MemberFabricConfiguration::AdminUsernameHasBeenSet
bool AdminUsernameHasBeenSet() const
Definition: MemberFabricConfiguration.h:50
Aws::ManagedBlockchain::Model::MemberFabricConfiguration::WithAdminUsername
MemberFabricConfiguration & WithAdminUsername(const Aws::String &value)
Definition: MemberFabricConfiguration.h:70
Aws::ManagedBlockchain::Model::MemberFabricConfiguration::WithAdminPassword
MemberFabricConfiguration & WithAdminPassword(const Aws::String &value)
Definition: MemberFabricConfiguration.h:135
Aws::ManagedBlockchain::Model::MemberFabricConfiguration::SetAdminUsername
void SetAdminUsername(Aws::String &&value)
Definition: MemberFabricConfiguration.h:60
Aws::ManagedBlockchain::Model::MemberFabricConfiguration::SetAdminPassword
void SetAdminPassword(const char *value)
Definition: MemberFabricConfiguration.h:126
Aws::ManagedBlockchain::Model::MemberFabricConfiguration
Definition: MemberFabricConfiguration.h:34
Aws::ManagedBlockchain::Model::MemberFabricConfiguration::GetAdminUsername
const Aws::String & GetAdminUsername() const
Definition: MemberFabricConfiguration.h:45
Aws::ManagedBlockchain::Model::MemberFabricConfiguration::SetAdminPassword
void SetAdminPassword(const Aws::String &value)
Definition: MemberFabricConfiguration.h:108
Aws::ManagedBlockchain::Model::MemberFabricConfiguration::MemberFabricConfiguration
MemberFabricConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::ManagedBlockchain::Model::MemberFabricConfiguration::operator=
MemberFabricConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ManagedBlockchain::Model::MemberFabricConfiguration::AdminPasswordHasBeenSet
bool AdminPasswordHasBeenSet() const
Definition: MemberFabricConfiguration.h:99
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ManagedBlockchain::Model::MemberFabricConfiguration::GetAdminPassword
const Aws::String & GetAdminPassword() const
Definition: MemberFabricConfiguration.h:90
Aws::ManagedBlockchain::Model::MemberFabricConfiguration::WithAdminUsername
MemberFabricConfiguration & WithAdminUsername(Aws::String &&value)
Definition: MemberFabricConfiguration.h:75
Aws::ManagedBlockchain::Model::MemberFabricConfiguration::SetAdminPassword
void SetAdminPassword(Aws::String &&value)
Definition: MemberFabricConfiguration.h:117
Aws::ManagedBlockchain::Model::MemberFabricConfiguration::WithAdminUsername
MemberFabricConfiguration & WithAdminUsername(const char *value)
Definition: MemberFabricConfiguration.h:80
Aws::ManagedBlockchain::Model::MemberFabricConfiguration::WithAdminPassword
MemberFabricConfiguration & WithAdminPassword(Aws::String &&value)
Definition: MemberFabricConfiguration.h:144
AWS_MANAGEDBLOCKCHAIN_API
#define AWS_MANAGEDBLOCKCHAIN_API
Definition: ManagedBlockchain_EXPORTS.h:28
Aws::ManagedBlockchain::Model::MemberFabricConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
ManagedBlockchain_EXPORTS.h
Aws::ManagedBlockchain::Model::MemberFabricConfiguration::SetAdminUsername
void SetAdminUsername(const char *value)
Definition: MemberFabricConfiguration.h:65
Aws::ManagedBlockchain::Model::MemberFabricConfiguration::MemberFabricConfiguration
MemberFabricConfiguration()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97