AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MemberFabricConfiguration.h
1
6#pragma once
7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ManagedBlockchain
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_MANAGEDBLOCKCHAIN_API MemberFabricConfiguration();
37 AWS_MANAGEDBLOCKCHAIN_API MemberFabricConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MANAGEDBLOCKCHAIN_API MemberFabricConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAdminUsername() const{ return m_adminUsername; }
47 inline bool AdminUsernameHasBeenSet() const { return m_adminUsernameHasBeenSet; }
48 inline void SetAdminUsername(const Aws::String& value) { m_adminUsernameHasBeenSet = true; m_adminUsername = value; }
49 inline void SetAdminUsername(Aws::String&& value) { m_adminUsernameHasBeenSet = true; m_adminUsername = std::move(value); }
50 inline void SetAdminUsername(const char* value) { m_adminUsernameHasBeenSet = true; m_adminUsername.assign(value); }
51 inline MemberFabricConfiguration& WithAdminUsername(const Aws::String& value) { SetAdminUsername(value); return *this;}
52 inline MemberFabricConfiguration& WithAdminUsername(Aws::String&& value) { SetAdminUsername(std::move(value)); return *this;}
53 inline MemberFabricConfiguration& WithAdminUsername(const char* value) { SetAdminUsername(value); return *this;}
55
57
64 inline const Aws::String& GetAdminPassword() const{ return m_adminPassword; }
65 inline bool AdminPasswordHasBeenSet() const { return m_adminPasswordHasBeenSet; }
66 inline void SetAdminPassword(const Aws::String& value) { m_adminPasswordHasBeenSet = true; m_adminPassword = value; }
67 inline void SetAdminPassword(Aws::String&& value) { m_adminPasswordHasBeenSet = true; m_adminPassword = std::move(value); }
68 inline void SetAdminPassword(const char* value) { m_adminPasswordHasBeenSet = true; m_adminPassword.assign(value); }
69 inline MemberFabricConfiguration& WithAdminPassword(const Aws::String& value) { SetAdminPassword(value); return *this;}
70 inline MemberFabricConfiguration& WithAdminPassword(Aws::String&& value) { SetAdminPassword(std::move(value)); return *this;}
71 inline MemberFabricConfiguration& WithAdminPassword(const char* value) { SetAdminPassword(value); return *this;}
73 private:
74
75 Aws::String m_adminUsername;
76 bool m_adminUsernameHasBeenSet = false;
77
78 Aws::String m_adminPassword;
79 bool m_adminPasswordHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace ManagedBlockchain
84} // namespace Aws
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
MemberFabricConfiguration & WithAdminUsername(Aws::String &&value)
MemberFabricConfiguration & WithAdminUsername(const char *value)
MemberFabricConfiguration & WithAdminPassword(Aws::String &&value)
MemberFabricConfiguration & WithAdminPassword(const Aws::String &value)
MemberFabricConfiguration & WithAdminUsername(const Aws::String &value)
AWS_MANAGEDBLOCKCHAIN_API MemberFabricConfiguration(Aws::Utils::Json::JsonView jsonValue)
MemberFabricConfiguration & WithAdminPassword(const char *value)
AWS_MANAGEDBLOCKCHAIN_API MemberFabricConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue