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();
54 inline void SetNetworkId(
const char* value) { m_networkIdHasBeenSet =
true; m_networkId.assign(value); }
69 inline void SetMemberId(
const char* value) { m_memberIdHasBeenSet =
true; m_memberId.assign(value); }
82 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
83 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
97 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
112 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
222 inline Node&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
223 inline Node&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
224 inline Node&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
239 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
260 inline void SetKmsKeyArn(
const char* value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn.assign(value); }
268 bool m_networkIdHasBeenSet =
false;
271 bool m_memberIdHasBeenSet =
false;
274 bool m_idHasBeenSet =
false;
277 bool m_instanceTypeHasBeenSet =
false;
280 bool m_availabilityZoneHasBeenSet =
false;
283 bool m_frameworkAttributesHasBeenSet =
false;
286 bool m_logPublishingConfigurationHasBeenSet =
false;
289 bool m_stateDBHasBeenSet =
false;
292 bool m_statusHasBeenSet =
false;
295 bool m_creationDateHasBeenSet =
false;
298 bool m_tagsHasBeenSet =
false;
301 bool m_arnHasBeenSet =
false;
304 bool m_kmsKeyArnHasBeenSet =
false;
Node & WithId(const char *value)
void SetInstanceType(Aws::String &&value)
Node & WithMemberId(const char *value)
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetArn(const Aws::String &value)
const NodeLogPublishingConfiguration & GetLogPublishingConfiguration() const
void SetFrameworkAttributes(const NodeFrameworkAttributes &value)
AWS_MANAGEDBLOCKCHAIN_API Node()
Node & WithLogPublishingConfiguration(NodeLogPublishingConfiguration &&value)
Node & WithFrameworkAttributes(NodeFrameworkAttributes &&value)
void SetKmsKeyArn(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Node & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetNetworkId() const
Node & WithLogPublishingConfiguration(const NodeLogPublishingConfiguration &value)
void SetId(const char *value)
Node & WithStatus(NodeStatus &&value)
Node & WithId(Aws::String &&value)
Node & WithMemberId(Aws::String &&value)
const StateDBType & GetStateDB() const
const Aws::String & GetKmsKeyArn() const
void SetId(const Aws::String &value)
void SetInstanceType(const Aws::String &value)
Node & WithCreationDate(Aws::Utils::DateTime &&value)
void SetArn(const char *value)
bool StateDBHasBeenSet() const
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNetworkId(const Aws::String &value)
const Aws::String & GetArn() const
Node & WithAvailabilityZone(Aws::String &&value)
Node & WithAvailabilityZone(const char *value)
Node & AddTags(Aws::String &&key, const char *value)
void SetStatus(const NodeStatus &value)
Node & WithCreationDate(const Aws::Utils::DateTime &value)
bool TagsHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
bool FrameworkAttributesHasBeenSet() const
AWS_MANAGEDBLOCKCHAIN_API Node & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMemberId(const char *value)
void SetInstanceType(const char *value)
Node & AddTags(const Aws::String &key, Aws::String &&value)
Node & WithNetworkId(const char *value)
Node & WithFrameworkAttributes(const NodeFrameworkAttributes &value)
Node & WithInstanceType(const Aws::String &value)
Node & WithKmsKeyArn(Aws::String &&value)
const Aws::String & GetInstanceType() const
const Aws::String & GetMemberId() const
void SetStateDB(StateDBType &&value)
const Aws::String & GetAvailabilityZone() const
Node & WithStatus(const NodeStatus &value)
void SetMemberId(Aws::String &&value)
Node & WithId(const Aws::String &value)
bool ArnHasBeenSet() const
void SetMemberId(const Aws::String &value)
void SetAvailabilityZone(const Aws::String &value)
const NodeFrameworkAttributes & GetFrameworkAttributes() const
Node & WithMemberId(const Aws::String &value)
Node & WithInstanceType(Aws::String &&value)
void SetKmsKeyArn(const Aws::String &value)
bool InstanceTypeHasBeenSet() const
Node & WithKmsKeyArn(const char *value)
Node & AddTags(const char *key, Aws::String &&value)
bool StatusHasBeenSet() const
Node & WithArn(Aws::String &&value)
Node & AddTags(Aws::String &&key, const Aws::String &value)
void SetNetworkId(const char *value)
bool LogPublishingConfigurationHasBeenSet() const
AWS_MANAGEDBLOCKCHAIN_API Node(Aws::Utils::Json::JsonView jsonValue)
bool NetworkIdHasBeenSet() const
void SetAvailabilityZone(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetFrameworkAttributes(NodeFrameworkAttributes &&value)
void SetNetworkId(Aws::String &&value)
Node & WithNetworkId(Aws::String &&value)
Node & WithNetworkId(const Aws::String &value)
bool CreationDateHasBeenSet() const
void SetCreationDate(Aws::Utils::DateTime &&value)
bool IdHasBeenSet() const
void SetLogPublishingConfiguration(const NodeLogPublishingConfiguration &value)
bool KmsKeyArnHasBeenSet() const
Node & WithKmsKeyArn(const Aws::String &value)
void SetStateDB(const StateDBType &value)
void SetStatus(NodeStatus &&value)
void SetLogPublishingConfiguration(NodeLogPublishingConfiguration &&value)
Node & AddTags(const Aws::String &key, const Aws::String &value)
Node & WithAvailabilityZone(const Aws::String &value)
Node & AddTags(const char *key, const char *value)
void SetAvailabilityZone(const char *value)
void SetKmsKeyArn(Aws::String &&value)
Node & WithInstanceType(const char *value)
bool MemberIdHasBeenSet() const
const NodeStatus & GetStatus() const
Node & WithArn(const Aws::String &value)
void SetId(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Node & WithStateDB(StateDBType &&value)
void SetArn(Aws::String &&value)
Node & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Node & AddTags(Aws::String &&key, Aws::String &&value)
Node & WithArn(const char *value)
Node & WithStateDB(const StateDBType &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