7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/managedblockchain/ManagedBlockchainRequest.h>
11#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
12#include <aws/managedblockchain/model/AccessorNetworkType.h>
13#include <aws/managedblockchain/model/AccessorType.h>
18namespace ManagedBlockchain {
45 template <
typename ClientRequestTokenT = Aws::String>
47 m_clientRequestTokenHasBeenSet =
true;
48 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
50 template <
typename ClientRequestTokenT = Aws::String>
65 m_accessorTypeHasBeenSet =
true;
66 m_accessorType = value;
89 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
91 m_tagsHasBeenSet =
true;
92 m_tags = std::forward<TagsT>(value);
94 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
96 SetTags(std::forward<TagsT>(value));
99 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
101 m_tagsHasBeenSet =
true;
102 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
124 m_networkTypeHasBeenSet =
true;
125 m_networkType = value;
140 bool m_clientRequestTokenHasBeenSet =
true;
141 bool m_accessorTypeHasBeenSet =
false;
142 bool m_tagsHasBeenSet =
false;
143 bool m_networkTypeHasBeenSet =
false;
CreateAccessorRequest & WithTags(TagsT &&value)
AccessorNetworkType GetNetworkType() const
void SetTags(TagsT &&value)
CreateAccessorRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool TagsHasBeenSet() const
CreateAccessorRequest & WithClientRequestToken(ClientRequestTokenT &&value)
const Aws::String & GetClientRequestToken() const
AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override
bool NetworkTypeHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetNetworkType(AccessorNetworkType value)
bool ClientRequestTokenHasBeenSet() const
AWS_MANAGEDBLOCKCHAIN_API CreateAccessorRequest()=default
virtual const char * GetServiceRequestName() const override
CreateAccessorRequest & WithAccessorType(AccessorType value)
CreateAccessorRequest & WithNetworkType(AccessorNetworkType value)
AccessorType GetAccessorType() const
bool AccessorTypeHasBeenSet() const
void SetClientRequestToken(ClientRequestTokenT &&value)
void SetAccessorType(AccessorType value)
static Aws::Utils::UUID PseudoRandomUUID()
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