AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MemberFabricAttributes.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
33 {
34 public:
35 AWS_MANAGEDBLOCKCHAIN_API MemberFabricAttributes();
36 AWS_MANAGEDBLOCKCHAIN_API MemberFabricAttributes(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MANAGEDBLOCKCHAIN_API MemberFabricAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAdminUsername() const{ return m_adminUsername; }
46 inline bool AdminUsernameHasBeenSet() const { return m_adminUsernameHasBeenSet; }
47 inline void SetAdminUsername(const Aws::String& value) { m_adminUsernameHasBeenSet = true; m_adminUsername = value; }
48 inline void SetAdminUsername(Aws::String&& value) { m_adminUsernameHasBeenSet = true; m_adminUsername = std::move(value); }
49 inline void SetAdminUsername(const char* value) { m_adminUsernameHasBeenSet = true; m_adminUsername.assign(value); }
50 inline MemberFabricAttributes& WithAdminUsername(const Aws::String& value) { SetAdminUsername(value); return *this;}
51 inline MemberFabricAttributes& WithAdminUsername(Aws::String&& value) { SetAdminUsername(std::move(value)); return *this;}
52 inline MemberFabricAttributes& WithAdminUsername(const char* value) { SetAdminUsername(value); return *this;}
54
56
59 inline const Aws::String& GetCaEndpoint() const{ return m_caEndpoint; }
60 inline bool CaEndpointHasBeenSet() const { return m_caEndpointHasBeenSet; }
61 inline void SetCaEndpoint(const Aws::String& value) { m_caEndpointHasBeenSet = true; m_caEndpoint = value; }
62 inline void SetCaEndpoint(Aws::String&& value) { m_caEndpointHasBeenSet = true; m_caEndpoint = std::move(value); }
63 inline void SetCaEndpoint(const char* value) { m_caEndpointHasBeenSet = true; m_caEndpoint.assign(value); }
64 inline MemberFabricAttributes& WithCaEndpoint(const Aws::String& value) { SetCaEndpoint(value); return *this;}
65 inline MemberFabricAttributes& WithCaEndpoint(Aws::String&& value) { SetCaEndpoint(std::move(value)); return *this;}
66 inline MemberFabricAttributes& WithCaEndpoint(const char* value) { SetCaEndpoint(value); return *this;}
68 private:
69
70 Aws::String m_adminUsername;
71 bool m_adminUsernameHasBeenSet = false;
72
73 Aws::String m_caEndpoint;
74 bool m_caEndpointHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ManagedBlockchain
79} // namespace Aws
MemberFabricAttributes & WithCaEndpoint(const char *value)
MemberFabricAttributes & WithAdminUsername(const Aws::String &value)
AWS_MANAGEDBLOCKCHAIN_API MemberFabricAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAIN_API MemberFabricAttributes(Aws::Utils::Json::JsonView jsonValue)
MemberFabricAttributes & WithAdminUsername(Aws::String &&value)
MemberFabricAttributes & WithCaEndpoint(Aws::String &&value)
MemberFabricAttributes & WithAdminUsername(const char *value)
MemberFabricAttributes & WithCaEndpoint(const Aws::String &value)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue