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/Framework.h>
11#include <aws/managedblockchain/model/NetworkFrameworkConfiguration.h>
12#include <aws/managedblockchain/model/VotingPolicy.h>
13#include <aws/managedblockchain/model/MemberConfiguration.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/core/utils/UUID.h>
20namespace ManagedBlockchain
53 inline void SetClientRequestToken(
const char* value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken.assign(value); }
67 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
81 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
107 inline void SetFrameworkVersion(
const char* value) { m_frameworkVersionHasBeenSet =
true; m_frameworkVersion.assign(value); }
181 bool m_clientRequestTokenHasBeenSet =
false;
184 bool m_nameHasBeenSet =
false;
187 bool m_descriptionHasBeenSet =
false;
190 bool m_frameworkHasBeenSet =
false;
193 bool m_frameworkVersionHasBeenSet =
false;
196 bool m_frameworkConfigurationHasBeenSet =
false;
199 bool m_votingPolicyHasBeenSet =
false;
202 bool m_memberConfigurationHasBeenSet =
false;
205 bool m_tagsHasBeenSet =
false;
CreateNetworkRequest & WithVotingPolicy(VotingPolicy &&value)
CreateNetworkRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateNetworkRequest & WithClientRequestToken(const Aws::String &value)
CreateNetworkRequest & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetClientRequestToken() const
bool ClientRequestTokenHasBeenSet() const
CreateNetworkRequest & WithDescription(const char *value)
CreateNetworkRequest & WithFramework(const Framework &value)
CreateNetworkRequest & WithName(const char *value)
const MemberConfiguration & GetMemberConfiguration() const
void SetFramework(Framework &&value)
void SetDescription(const Aws::String &value)
CreateNetworkRequest & WithDescription(Aws::String &&value)
CreateNetworkRequest & WithFrameworkVersion(const char *value)
void SetClientRequestToken(const Aws::String &value)
CreateNetworkRequest & WithFrameworkVersion(Aws::String &&value)
CreateNetworkRequest & WithName(const Aws::String &value)
bool FrameworkVersionHasBeenSet() const
void SetName(const Aws::String &value)
CreateNetworkRequest & WithName(Aws::String &&value)
CreateNetworkRequest & WithClientRequestToken(Aws::String &&value)
void SetFrameworkVersion(const char *value)
CreateNetworkRequest & WithFrameworkConfiguration(NetworkFrameworkConfiguration &&value)
void SetClientRequestToken(const char *value)
void SetFrameworkVersion(const Aws::String &value)
void SetFrameworkConfiguration(NetworkFrameworkConfiguration &&value)
void SetDescription(const char *value)
bool FrameworkHasBeenSet() const
bool FrameworkConfigurationHasBeenSet() const
AWS_MANAGEDBLOCKCHAIN_API CreateNetworkRequest()
CreateNetworkRequest & WithDescription(const Aws::String &value)
bool VotingPolicyHasBeenSet() const
void SetFrameworkVersion(Aws::String &&value)
CreateNetworkRequest & WithFrameworkConfiguration(const NetworkFrameworkConfiguration &value)
CreateNetworkRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateNetworkRequest & AddTags(Aws::String &&key, const char *value)
void SetFramework(const Framework &value)
CreateNetworkRequest & AddTags(const char *key, Aws::String &&value)
void SetVotingPolicy(VotingPolicy &&value)
bool NameHasBeenSet() const
const VotingPolicy & GetVotingPolicy() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool TagsHasBeenSet() const
CreateNetworkRequest & WithMemberConfiguration(const MemberConfiguration &value)
const Framework & GetFramework() const
void SetMemberConfiguration(const MemberConfiguration &value)
virtual const char * GetServiceRequestName() const override
void SetClientRequestToken(Aws::String &&value)
CreateNetworkRequest & WithMemberConfiguration(MemberConfiguration &&value)
CreateNetworkRequest & AddTags(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateNetworkRequest & WithClientRequestToken(const char *value)
CreateNetworkRequest & WithVotingPolicy(const VotingPolicy &value)
CreateNetworkRequest & WithFramework(Framework &&value)
void SetDescription(Aws::String &&value)
void SetName(Aws::String &&value)
const Aws::String & GetName() const
AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override
CreateNetworkRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetFrameworkVersion() const
void SetMemberConfiguration(MemberConfiguration &&value)
void SetVotingPolicy(const VotingPolicy &value)
void SetName(const char *value)
CreateNetworkRequest & WithFrameworkVersion(const Aws::String &value)
CreateNetworkRequest & AddTags(const Aws::String &key, Aws::String &&value)
const NetworkFrameworkConfiguration & GetFrameworkConfiguration() const
bool MemberConfigurationHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetDescription() const
CreateNetworkRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetFrameworkConfiguration(const NetworkFrameworkConfiguration &value)
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