7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
11#include <aws/managedblockchain/model/NodeFrameworkAttributes.h>
12#include <aws/managedblockchain/model/NodeLogPublishingConfiguration.h>
13#include <aws/managedblockchain/model/NodeStatus.h>
14#include <aws/managedblockchain/model/StateDBType.h>
25namespace ManagedBlockchain {
35 AWS_MANAGEDBLOCKCHAIN_API
Node() =
default;
46 template <
typename NetworkIdT = Aws::String>
48 m_networkIdHasBeenSet =
true;
49 m_networkId = std::forward<NetworkIdT>(value);
51 template <
typename NetworkIdT = Aws::String>
65 template <
typename MemberIdT = Aws::String>
67 m_memberIdHasBeenSet =
true;
68 m_memberId = std::forward<MemberIdT>(value);
70 template <
typename MemberIdT = Aws::String>
83 template <
typename IdT = Aws::String>
85 m_idHasBeenSet =
true;
86 m_id = std::forward<IdT>(value);
88 template <
typename IdT = Aws::String>
90 SetId(std::forward<IdT>(value));
101 template <
typename InstanceTypeT = Aws::String>
103 m_instanceTypeHasBeenSet =
true;
104 m_instanceType = std::forward<InstanceTypeT>(value);
106 template <
typename InstanceTypeT = Aws::String>
120 template <
typename AvailabilityZoneT = Aws::String>
122 m_availabilityZoneHasBeenSet =
true;
123 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
125 template <
typename AvailabilityZoneT = Aws::String>
138 template <
typename FrameworkAttributesT = NodeFrameworkAttributes>
140 m_frameworkAttributesHasBeenSet =
true;
141 m_frameworkAttributes = std::forward<FrameworkAttributesT>(value);
143 template <
typename FrameworkAttributesT = NodeFrameworkAttributes>
157 template <
typename LogPublishingConfigurationT = NodeLogPublishingConfiguration>
159 m_logPublishingConfigurationHasBeenSet =
true;
160 m_logPublishingConfiguration = std::forward<LogPublishingConfigurationT>(value);
162 template <
typename LogPublishingConfigurationT = NodeLogPublishingConfiguration>
177 m_stateDBHasBeenSet =
true;
214 m_statusHasBeenSet =
true;
229 template <
typename CreationDateT = Aws::Utils::DateTime>
231 m_creationDateHasBeenSet =
true;
232 m_creationDate = std::forward<CreationDateT>(value);
234 template <
typename CreationDateT = Aws::Utils::DateTime>
254 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
256 m_tagsHasBeenSet =
true;
257 m_tags = std::forward<TagsT>(value);
259 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
261 SetTags(std::forward<TagsT>(value));
264 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
266 m_tagsHasBeenSet =
true;
267 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
282 template <
typename ArnT = Aws::String>
284 m_arnHasBeenSet =
true;
285 m_arn = std::forward<ArnT>(value);
287 template <
typename ArnT = Aws::String>
289 SetArn(std::forward<ArnT>(value));
307 template <
typename KmsKeyArnT = Aws::String>
309 m_kmsKeyArnHasBeenSet =
true;
310 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
312 template <
typename KmsKeyArnT = Aws::String>
344 bool m_networkIdHasBeenSet =
false;
345 bool m_memberIdHasBeenSet =
false;
346 bool m_idHasBeenSet =
false;
347 bool m_instanceTypeHasBeenSet =
false;
348 bool m_availabilityZoneHasBeenSet =
false;
349 bool m_frameworkAttributesHasBeenSet =
false;
350 bool m_logPublishingConfigurationHasBeenSet =
false;
351 bool m_stateDBHasBeenSet =
false;
352 bool m_statusHasBeenSet =
false;
353 bool m_creationDateHasBeenSet =
false;
354 bool m_tagsHasBeenSet =
false;
355 bool m_arnHasBeenSet =
false;
356 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