7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/managedblockchain/model/AccessorType.h>
10#include <aws/managedblockchain/model/AccessorStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/managedblockchain/model/AccessorNetworkType.h>
26namespace ManagedBlockchain
39 AWS_MANAGEDBLOCKCHAIN_API
Accessor() =
default;
51 template<
typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
53 template<
typename IdT = Aws::String>
76 template<
typename BillingTokenT = Aws::String>
77 void SetBillingToken(BillingTokenT&& value) { m_billingTokenHasBeenSet =
true; m_billingToken = std::forward<BillingTokenT>(value); }
78 template<
typename BillingTokenT = Aws::String>
98 template<
typename CreationDateT = Aws::Utils::DateTime>
99 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
100 template<
typename CreationDateT = Aws::Utils::DateTime>
114 template<
typename ArnT = Aws::String>
115 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
116 template<
typename ArnT = Aws::String>
133 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
134 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
135 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
137 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
139 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
155 bool m_idHasBeenSet =
false;
158 bool m_typeHasBeenSet =
false;
161 bool m_billingTokenHasBeenSet =
false;
164 bool m_statusHasBeenSet =
false;
167 bool m_creationDateHasBeenSet =
false;
170 bool m_arnHasBeenSet =
false;
173 bool m_tagsHasBeenSet =
false;
176 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