AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MemberConfiguration.h
1
6#pragma once
7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/managedblockchain/model/MemberFrameworkConfiguration.h>
10#include <aws/managedblockchain/model/MemberLogPublishingConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ManagedBlockchain
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_MANAGEDBLOCKCHAIN_API MemberConfiguration();
39 AWS_MANAGEDBLOCKCHAIN_API MemberConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MANAGEDBLOCKCHAIN_API MemberConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline MemberConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline MemberConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline MemberConfiguration& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::String& GetDescription() const{ return m_description; }
63 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
64 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
65 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
66 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
67 inline MemberConfiguration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
68 inline MemberConfiguration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
69 inline MemberConfiguration& WithDescription(const char* value) { SetDescription(value); return *this;}
71
73
77 inline const MemberFrameworkConfiguration& GetFrameworkConfiguration() const{ return m_frameworkConfiguration; }
78 inline bool FrameworkConfigurationHasBeenSet() const { return m_frameworkConfigurationHasBeenSet; }
79 inline void SetFrameworkConfiguration(const MemberFrameworkConfiguration& value) { m_frameworkConfigurationHasBeenSet = true; m_frameworkConfiguration = value; }
80 inline void SetFrameworkConfiguration(MemberFrameworkConfiguration&& value) { m_frameworkConfigurationHasBeenSet = true; m_frameworkConfiguration = std::move(value); }
84
86
90 inline const MemberLogPublishingConfiguration& GetLogPublishingConfiguration() const{ return m_logPublishingConfiguration; }
91 inline bool LogPublishingConfigurationHasBeenSet() const { return m_logPublishingConfigurationHasBeenSet; }
92 inline void SetLogPublishingConfiguration(const MemberLogPublishingConfiguration& value) { m_logPublishingConfigurationHasBeenSet = true; m_logPublishingConfiguration = value; }
93 inline void SetLogPublishingConfiguration(MemberLogPublishingConfiguration&& value) { m_logPublishingConfigurationHasBeenSet = true; m_logPublishingConfiguration = std::move(value); }
97
99
111 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
112 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
113 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
114 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
115 inline MemberConfiguration& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
116 inline MemberConfiguration& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
117 inline MemberConfiguration& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
118 inline MemberConfiguration& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
119 inline MemberConfiguration& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
120 inline MemberConfiguration& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
121 inline MemberConfiguration& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
122 inline MemberConfiguration& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
123 inline MemberConfiguration& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
125
127
146 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
147 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
148 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
149 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
150 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
151 inline MemberConfiguration& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
152 inline MemberConfiguration& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
153 inline MemberConfiguration& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
155 private:
156
157 Aws::String m_name;
158 bool m_nameHasBeenSet = false;
159
160 Aws::String m_description;
161 bool m_descriptionHasBeenSet = false;
162
163 MemberFrameworkConfiguration m_frameworkConfiguration;
164 bool m_frameworkConfigurationHasBeenSet = false;
165
166 MemberLogPublishingConfiguration m_logPublishingConfiguration;
167 bool m_logPublishingConfigurationHasBeenSet = false;
168
170 bool m_tagsHasBeenSet = false;
171
172 Aws::String m_kmsKeyArn;
173 bool m_kmsKeyArnHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace ManagedBlockchain
178} // namespace Aws
const MemberFrameworkConfiguration & GetFrameworkConfiguration() const
MemberConfiguration & WithDescription(Aws::String &&value)
void SetFrameworkConfiguration(MemberFrameworkConfiguration &&value)
MemberConfiguration & WithName(const Aws::String &value)
const MemberLogPublishingConfiguration & GetLogPublishingConfiguration() const
void SetFrameworkConfiguration(const MemberFrameworkConfiguration &value)
void SetLogPublishingConfiguration(const MemberLogPublishingConfiguration &value)
AWS_MANAGEDBLOCKCHAIN_API MemberConfiguration(Aws::Utils::Json::JsonView jsonValue)
MemberConfiguration & WithLogPublishingConfiguration(MemberLogPublishingConfiguration &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
MemberConfiguration & WithDescription(const char *value)
MemberConfiguration & AddTags(Aws::String &&key, Aws::String &&value)
MemberConfiguration & WithFrameworkConfiguration(const MemberFrameworkConfiguration &value)
AWS_MANAGEDBLOCKCHAIN_API MemberConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLogPublishingConfiguration(MemberLogPublishingConfiguration &&value)
MemberConfiguration & AddTags(const char *key, const char *value)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
MemberConfiguration & WithName(Aws::String &&value)
MemberConfiguration & WithKmsKeyArn(const Aws::String &value)
MemberConfiguration & WithKmsKeyArn(const char *value)
MemberConfiguration & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
MemberConfiguration & AddTags(Aws::String &&key, const char *value)
MemberConfiguration & AddTags(const char *key, Aws::String &&value)
MemberConfiguration & WithKmsKeyArn(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
MemberConfiguration & WithLogPublishingConfiguration(const MemberLogPublishingConfiguration &value)
MemberConfiguration & AddTags(const Aws::String &key, const Aws::String &value)
MemberConfiguration & WithName(const char *value)
MemberConfiguration & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
MemberConfiguration & AddTags(const Aws::String &key, Aws::String &&value)
MemberConfiguration & WithFrameworkConfiguration(MemberFrameworkConfiguration &&value)
MemberConfiguration & WithDescription(const Aws::String &value)
MemberConfiguration & AddTags(Aws::String &&key, const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue