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/AccessorNetworkType.h>
12#include <aws/managedblockchain/model/AccessorStatus.h>
13#include <aws/managedblockchain/model/AccessorType.h>
24namespace ManagedBlockchain {
34 AWS_MANAGEDBLOCKCHAIN_API
Accessor() =
default;
45 template <
typename IdT = Aws::String>
47 m_idHasBeenSet =
true;
48 m_id = std::forward<IdT>(value);
50 template <
typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
65 m_typeHasBeenSet =
true;
82 template <
typename BillingTokenT = Aws::String>
84 m_billingTokenHasBeenSet =
true;
85 m_billingToken = std::forward<BillingTokenT>(value);
87 template <
typename BillingTokenT = Aws::String>
101 m_statusHasBeenSet =
true;
116 template <
typename CreationDateT = Aws::Utils::DateTime>
118 m_creationDateHasBeenSet =
true;
119 m_creationDate = std::forward<CreationDateT>(value);
121 template <
typename CreationDateT = Aws::Utils::DateTime>
138 template <
typename ArnT = Aws::String>
140 m_arnHasBeenSet =
true;
141 m_arn = std::forward<ArnT>(value);
143 template <
typename ArnT = Aws::String>
145 SetArn(std::forward<ArnT>(value));
163 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
165 m_tagsHasBeenSet =
true;
166 m_tags = std::forward<TagsT>(value);
168 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
170 SetTags(std::forward<TagsT>(value));
173 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
175 m_tagsHasBeenSet =
true;
176 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
188 m_networkTypeHasBeenSet =
true;
189 m_networkType = value;
212 bool m_idHasBeenSet =
false;
213 bool m_typeHasBeenSet =
false;
214 bool m_billingTokenHasBeenSet =
false;
215 bool m_statusHasBeenSet =
false;
216 bool m_creationDateHasBeenSet =
false;
217 bool m_arnHasBeenSet =
false;
218 bool m_tagsHasBeenSet =
false;
219 bool m_networkTypeHasBeenSet =
false;
Accessor & WithStatus(AccessorStatus value)
Accessor & WithCreationDate(CreationDateT &&value)
bool BillingTokenHasBeenSet() const
void SetStatus(AccessorStatus value)
Accessor & WithNetworkType(AccessorNetworkType value)
bool ArnHasBeenSet() const
AWS_MANAGEDBLOCKCHAIN_API Accessor & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBillingToken() const
bool TagsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool StatusHasBeenSet() const
void SetArn(ArnT &&value)
AccessorType GetType() const
Accessor & WithBillingToken(BillingTokenT &&value)
AWS_MANAGEDBLOCKCHAIN_API Accessor(Aws::Utils::Json::JsonView jsonValue)
Accessor & WithType(AccessorType value)
Accessor & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
Accessor & WithArn(ArnT &&value)
bool NetworkTypeHasBeenSet() const
void SetType(AccessorType value)
void SetCreationDate(CreationDateT &&value)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBillingToken(BillingTokenT &&value)
AWS_MANAGEDBLOCKCHAIN_API Accessor()=default
bool TypeHasBeenSet() const
bool IdHasBeenSet() const
bool CreationDateHasBeenSet() const
const Aws::String & GetArn() const
Accessor & WithId(IdT &&value)
Accessor & WithTags(TagsT &&value)
AccessorNetworkType GetNetworkType() const
void SetNetworkType(AccessorNetworkType value)
const Aws::String & GetId() const
void SetTags(TagsT &&value)
AccessorStatus GetStatus() 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