7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/managedblockchain/model/NodeStatus.h>
10#include <aws/core/utils/DateTime.h>
23namespace ManagedBlockchain
49 template<
typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
51 template<
typename IdT = Aws::String>
71 template<
typename CreationDateT = Aws::Utils::DateTime>
72 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
73 template<
typename CreationDateT = Aws::Utils::DateTime>
83 template<
typename AvailabilityZoneT = Aws::String>
84 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
85 template<
typename AvailabilityZoneT = Aws::String>
95 template<
typename InstanceTypeT = Aws::String>
96 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet =
true; m_instanceType = std::forward<InstanceTypeT>(value); }
97 template<
typename InstanceTypeT = Aws::String>
111 template<
typename ArnT = Aws::String>
112 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
113 template<
typename ArnT = Aws::String>
119 bool m_idHasBeenSet =
false;
122 bool m_statusHasBeenSet =
false;
125 bool m_creationDateHasBeenSet =
false;
128 bool m_availabilityZoneHasBeenSet =
false;
131 bool m_instanceTypeHasBeenSet =
false;
134 bool m_arnHasBeenSet =
false;
bool InstanceTypeHasBeenSet() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
void SetStatus(NodeStatus value)
NodeSummary & WithCreationDate(CreationDateT &&value)
void SetInstanceType(InstanceTypeT &&value)
bool IdHasBeenSet() const
bool CreationDateHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
NodeSummary & WithId(IdT &&value)
NodeStatus GetStatus() const
NodeSummary & WithArn(ArnT &&value)
NodeSummary & WithStatus(NodeStatus value)
const Aws::Utils::DateTime & GetCreationDate() const
NodeSummary & WithAvailabilityZone(AvailabilityZoneT &&value)
void SetCreationDate(CreationDateT &&value)
bool StatusHasBeenSet() const
bool ArnHasBeenSet() const
const Aws::String & GetArn() const
AWS_MANAGEDBLOCKCHAIN_API NodeSummary()=default
AWS_MANAGEDBLOCKCHAIN_API NodeSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetInstanceType() const
const Aws::String & GetAvailabilityZone() const
AWS_MANAGEDBLOCKCHAIN_API NodeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
void SetArn(ArnT &&value)
NodeSummary & WithInstanceType(InstanceTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue