7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/managedblockchain/model/MemberFrameworkAttributes.h>
10#include <aws/managedblockchain/model/MemberLogPublishingConfiguration.h>
11#include <aws/managedblockchain/model/MemberStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
26namespace ManagedBlockchain
40 AWS_MANAGEDBLOCKCHAIN_API
Member() =
default;
52 template<
typename NetworkIdT = Aws::String>
53 void SetNetworkId(NetworkIdT&& value) { m_networkIdHasBeenSet =
true; m_networkId = std::forward<NetworkIdT>(value); }
54 template<
typename NetworkIdT = Aws::String>
64 template<
typename IdT = Aws::String>
65 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
66 template<
typename IdT = Aws::String>
76 template<
typename NameT = Aws::String>
77 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
78 template<
typename NameT = Aws::String>
88 template<
typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
90 template<
typename DescriptionT = Aws::String>
101 template<
typename FrameworkAttributesT = MemberFrameworkAttributes>
102 void SetFrameworkAttributes(FrameworkAttributesT&& value) { m_frameworkAttributesHasBeenSet =
true; m_frameworkAttributes = std::forward<FrameworkAttributesT>(value); }
103 template<
typename FrameworkAttributesT = MemberFrameworkAttributes>
113 template<
typename LogPublishingConfigurationT = MemberLogPublishingConfiguration>
114 void SetLogPublishingConfiguration(LogPublishingConfigurationT&& value) { m_logPublishingConfigurationHasBeenSet =
true; m_logPublishingConfiguration = std::forward<LogPublishingConfigurationT>(value); }
115 template<
typename LogPublishingConfigurationT = MemberLogPublishingConfiguration>
156 template<
typename CreationDateT = Aws::Utils::DateTime>
157 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
158 template<
typename CreationDateT = Aws::Utils::DateTime>
175 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
176 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
177 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
179 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
181 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
195 template<
typename ArnT = Aws::String>
196 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
197 template<
typename ArnT = Aws::String>
214 template<
typename KmsKeyArnT = Aws::String>
215 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
216 template<
typename KmsKeyArnT = Aws::String>
222 bool m_networkIdHasBeenSet =
false;
225 bool m_idHasBeenSet =
false;
228 bool m_nameHasBeenSet =
false;
231 bool m_descriptionHasBeenSet =
false;
234 bool m_frameworkAttributesHasBeenSet =
false;
237 bool m_logPublishingConfigurationHasBeenSet =
false;
240 bool m_statusHasBeenSet =
false;
243 bool m_creationDateHasBeenSet =
false;
246 bool m_tagsHasBeenSet =
false;
249 bool m_arnHasBeenSet =
false;
252 bool m_kmsKeyArnHasBeenSet =
false;
void SetName(NameT &&value)
const MemberLogPublishingConfiguration & GetLogPublishingConfiguration() const
const Aws::String & GetKmsKeyArn() const
Member & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
bool KmsKeyArnHasBeenSet() const
Member & WithKmsKeyArn(KmsKeyArnT &&value)
Member & WithTags(TagsT &&value)
void SetStatus(MemberStatus value)
Member & WithFrameworkAttributes(FrameworkAttributesT &&value)
bool LogPublishingConfigurationHasBeenSet() const
AWS_MANAGEDBLOCKCHAIN_API Member()=default
const Aws::String & GetNetworkId() const
Member & WithStatus(MemberStatus value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ArnHasBeenSet() const
Member & WithLogPublishingConfiguration(LogPublishingConfigurationT &&value)
bool StatusHasBeenSet() const
bool IdHasBeenSet() const
bool NetworkIdHasBeenSet() const
AWS_MANAGEDBLOCKCHAIN_API Member & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNetworkId(NetworkIdT &&value)
void SetFrameworkAttributes(FrameworkAttributesT &&value)
Member & WithNetworkId(NetworkIdT &&value)
bool NameHasBeenSet() const
Member & WithArn(ArnT &&value)
void SetCreationDate(CreationDateT &&value)
bool DescriptionHasBeenSet() const
bool CreationDateHasBeenSet() const
const Aws::String & GetName() const
void SetLogPublishingConfiguration(LogPublishingConfigurationT &&value)
Member & WithId(IdT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetDescription() const
bool FrameworkAttributesHasBeenSet() const
void SetKmsKeyArn(KmsKeyArnT &&value)
Member & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetArn(ArnT &&value)
const MemberFrameworkAttributes & GetFrameworkAttributes() const
const Aws::Utils::DateTime & GetCreationDate() const
Member & WithCreationDate(CreationDateT &&value)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetId() const
Member & WithName(NameT &&value)
const Aws::String & GetArn() const
void SetTags(TagsT &&value)
MemberStatus GetStatus() const
AWS_MANAGEDBLOCKCHAIN_API Member(Aws::Utils::Json::JsonView jsonValue)
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