7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/managedblockchain/ManagedBlockchainRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/managedblockchain/model/AccessorType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/managedblockchain/model/AccessorNetworkType.h>
14#include <aws/core/utils/UUID.h>
18namespace ManagedBlockchain
49 template<
typename ClientRequestTokenT = Aws::String>
50 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
51 template<
typename ClientRequestTokenT = Aws::String>
81 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
82 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
83 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
85 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
87 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
113 bool m_clientRequestTokenHasBeenSet =
true;
116 bool m_accessorTypeHasBeenSet =
false;
119 bool m_tagsHasBeenSet =
false;
122 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