7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/managedblockchain/model/NodeFrameworkAttributes.h>
10#include <aws/managedblockchain/model/NodeLogPublishingConfiguration.h>
11#include <aws/managedblockchain/model/StateDBType.h>
12#include <aws/managedblockchain/model/NodeStatus.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
27namespace ManagedBlockchain
40 AWS_MANAGEDBLOCKCHAIN_API
Node() =
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>
65 template<
typename MemberIdT = Aws::String>
66 void SetMemberId(MemberIdT&& value) { m_memberIdHasBeenSet =
true; m_memberId = std::forward<MemberIdT>(value); }
67 template<
typename MemberIdT = Aws::String>
77 template<
typename IdT = Aws::String>
78 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
79 template<
typename IdT = Aws::String>
89 template<
typename InstanceTypeT = Aws::String>
90 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet =
true; m_instanceType = std::forward<InstanceTypeT>(value); }
91 template<
typename InstanceTypeT = Aws::String>
102 template<
typename AvailabilityZoneT = Aws::String>
103 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
104 template<
typename AvailabilityZoneT = Aws::String>
114 template<
typename FrameworkAttributesT = NodeFrameworkAttributes>
115 void SetFrameworkAttributes(FrameworkAttributesT&& value) { m_frameworkAttributesHasBeenSet =
true; m_frameworkAttributes = std::forward<FrameworkAttributesT>(value); }
116 template<
typename FrameworkAttributesT = NodeFrameworkAttributes>
127 template<
typename LogPublishingConfigurationT = NodeLogPublishingConfiguration>
128 void SetLogPublishingConfiguration(LogPublishingConfigurationT&& value) { m_logPublishingConfigurationHasBeenSet =
true; m_logPublishingConfiguration = std::forward<LogPublishingConfigurationT>(value); }
129 template<
typename LogPublishingConfigurationT = NodeLogPublishingConfiguration>
181 template<
typename CreationDateT = Aws::Utils::DateTime>
182 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
183 template<
typename CreationDateT = Aws::Utils::DateTime>
200 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
201 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
202 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
204 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
206 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
220 template<
typename ArnT = Aws::String>
221 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
222 template<
typename ArnT = Aws::String>
239 template<
typename KmsKeyArnT = Aws::String>
240 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
241 template<
typename KmsKeyArnT = Aws::String>
247 bool m_networkIdHasBeenSet =
false;
250 bool m_memberIdHasBeenSet =
false;
253 bool m_idHasBeenSet =
false;
256 bool m_instanceTypeHasBeenSet =
false;
259 bool m_availabilityZoneHasBeenSet =
false;
262 bool m_frameworkAttributesHasBeenSet =
false;
265 bool m_logPublishingConfigurationHasBeenSet =
false;
268 bool m_stateDBHasBeenSet =
false;
271 bool m_statusHasBeenSet =
false;
274 bool m_creationDateHasBeenSet =
false;
277 bool m_tagsHasBeenSet =
false;
280 bool m_arnHasBeenSet =
false;
283 bool m_kmsKeyArnHasBeenSet =
false;
Node & WithAvailabilityZone(AvailabilityZoneT &&value)
Node & WithFrameworkAttributes(FrameworkAttributesT &&value)
Node & WithLogPublishingConfiguration(LogPublishingConfigurationT &&value)
AWS_MANAGEDBLOCKCHAIN_API Node()=default
const NodeLogPublishingConfiguration & GetLogPublishingConfiguration() const
Node & WithInstanceType(InstanceTypeT &&value)
void SetInstanceType(InstanceTypeT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetNetworkId() const
Node & WithStateDB(StateDBType value)
const Aws::String & GetKmsKeyArn() const
void SetArn(ArnT &&value)
NodeStatus GetStatus() const
bool StateDBHasBeenSet() const
void SetMemberId(MemberIdT &&value)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetArn() const
Node & WithNetworkId(NetworkIdT &&value)
void SetNetworkId(NetworkIdT &&value)
void SetStatus(NodeStatus value)
bool TagsHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
bool FrameworkAttributesHasBeenSet() const
AWS_MANAGEDBLOCKCHAIN_API Node & operator=(Aws::Utils::Json::JsonView jsonValue)
Node & WithStatus(NodeStatus value)
const Aws::String & GetInstanceType() const
void SetCreationDate(CreationDateT &&value)
const Aws::String & GetMemberId() const
const Aws::String & GetAvailabilityZone() const
void SetStateDB(StateDBType value)
Node & WithArn(ArnT &&value)
bool ArnHasBeenSet() const
const NodeFrameworkAttributes & GetFrameworkAttributes() const
bool InstanceTypeHasBeenSet() const
Node & WithId(IdT &&value)
bool StatusHasBeenSet() const
Node & WithTags(TagsT &&value)
bool LogPublishingConfigurationHasBeenSet() const
AWS_MANAGEDBLOCKCHAIN_API Node(Aws::Utils::Json::JsonView jsonValue)
bool NetworkIdHasBeenSet() const
void SetLogPublishingConfiguration(LogPublishingConfigurationT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
bool CreationDateHasBeenSet() const
bool IdHasBeenSet() const
bool KmsKeyArnHasBeenSet() const
void SetKmsKeyArn(KmsKeyArnT &&value)
Node & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetFrameworkAttributes(FrameworkAttributesT &&value)
Node & WithKmsKeyArn(KmsKeyArnT &&value)
StateDBType GetStateDB() const
bool MemberIdHasBeenSet() const
Node & WithCreationDate(CreationDateT &&value)
Node & WithMemberId(MemberIdT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetId() const
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