7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/managedblockchain/model/Framework.h>
10#include <aws/managedblockchain/model/NetworkFrameworkAttributes.h>
11#include <aws/managedblockchain/model/VotingPolicy.h>
12#include <aws/managedblockchain/model/NetworkStatus.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
27namespace ManagedBlockchain
53 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
54 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
68 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
82 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
108 inline void SetFrameworkVersion(
const char* value) { m_frameworkVersionHasBeenSet =
true; m_frameworkVersion.assign(value); }
136 inline void SetVpcEndpointServiceName(
const char* value) { m_vpcEndpointServiceNameHasBeenSet =
true; m_vpcEndpointServiceName.assign(value); }
200 inline Network&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
201 inline Network&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
202 inline Network&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
217 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
225 bool m_idHasBeenSet =
false;
228 bool m_nameHasBeenSet =
false;
231 bool m_descriptionHasBeenSet =
false;
234 bool m_frameworkHasBeenSet =
false;
237 bool m_frameworkVersionHasBeenSet =
false;
240 bool m_frameworkAttributesHasBeenSet =
false;
243 bool m_vpcEndpointServiceNameHasBeenSet =
false;
246 bool m_votingPolicyHasBeenSet =
false;
249 bool m_statusHasBeenSet =
false;
252 bool m_creationDateHasBeenSet =
false;
255 bool m_tagsHasBeenSet =
false;
258 bool m_arnHasBeenSet =
false;
Network & WithName(Aws::String &&value)
const VotingPolicy & GetVotingPolicy() const
bool FrameworkHasBeenSet() const
Network & WithFrameworkVersion(const Aws::String &value)
Network & WithStatus(NetworkStatus &&value)
Network & AddTags(const char *key, Aws::String &&value)
Network & WithArn(Aws::String &&value)
Network & WithFrameworkVersion(Aws::String &&value)
Network & WithVotingPolicy(VotingPolicy &&value)
Network & WithFrameworkAttributes(const NetworkFrameworkAttributes &value)
bool TagsHasBeenSet() const
Network & AddTags(Aws::String &&key, const Aws::String &value)
Network & AddTags(const char *key, const char *value)
Network & WithVpcEndpointServiceName(const Aws::String &value)
void SetVpcEndpointServiceName(const char *value)
Network & WithCreationDate(const Aws::Utils::DateTime &value)
bool NameHasBeenSet() const
void SetArn(const char *value)
void SetFramework(const Framework &value)
void SetVotingPolicy(VotingPolicy &&value)
Network & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool VpcEndpointServiceNameHasBeenSet() const
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetFrameworkAttributes(const NetworkFrameworkAttributes &value)
AWS_MANAGEDBLOCKCHAIN_API Network()
void SetStatus(const NetworkStatus &value)
const Aws::String & GetDescription() const
void SetFrameworkVersion(Aws::String &&value)
Network & WithVpcEndpointServiceName(Aws::String &&value)
const Framework & GetFramework() const
void SetId(Aws::String &&value)
Network & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetName() const
Network & WithVotingPolicy(const VotingPolicy &value)
const Aws::Utils::DateTime & GetCreationDate() const
const NetworkFrameworkAttributes & GetFrameworkAttributes() const
bool IdHasBeenSet() const
Network & WithDescription(const Aws::String &value)
void SetVpcEndpointServiceName(Aws::String &&value)
const NetworkStatus & GetStatus() const
Network & WithId(Aws::String &&value)
Network & WithArn(const char *value)
bool FrameworkAttributesHasBeenSet() const
void SetVotingPolicy(const VotingPolicy &value)
void SetArn(Aws::String &&value)
void SetVpcEndpointServiceName(const Aws::String &value)
Network & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Network & WithCreationDate(Aws::Utils::DateTime &&value)
Network & WithId(const Aws::String &value)
Network & WithFrameworkVersion(const char *value)
void SetName(const Aws::String &value)
Network & WithVpcEndpointServiceName(const char *value)
Network & WithFrameworkAttributes(NetworkFrameworkAttributes &&value)
void SetArn(const Aws::String &value)
Network & WithName(const char *value)
AWS_MANAGEDBLOCKCHAIN_API Network(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(NetworkStatus &&value)
void SetFrameworkVersion(const char *value)
Network & AddTags(Aws::String &&key, const char *value)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
bool ArnHasBeenSet() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool StatusHasBeenSet() const
Network & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Network & AddTags(const Aws::String &key, Aws::String &&value)
Network & WithArn(const Aws::String &value)
void SetName(const char *value)
const Aws::String & GetFrameworkVersion() const
void SetCreationDate(Aws::Utils::DateTime &&value)
bool FrameworkVersionHasBeenSet() const
const Aws::String & GetArn() const
bool VotingPolicyHasBeenSet() const
void SetDescription(const char *value)
Network & WithDescription(const char *value)
Network & WithStatus(const NetworkStatus &value)
void SetFrameworkAttributes(NetworkFrameworkAttributes &&value)
Network & WithFramework(Framework &&value)
const Aws::String & GetId() const
void SetId(const Aws::String &value)
AWS_MANAGEDBLOCKCHAIN_API Network & operator=(Aws::Utils::Json::JsonView jsonValue)
Network & WithName(const Aws::String &value)
void SetId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool DescriptionHasBeenSet() const
void SetFramework(Framework &&value)
bool CreationDateHasBeenSet() const
void SetFrameworkVersion(const Aws::String &value)
void SetName(Aws::String &&value)
Network & WithFramework(const Framework &value)
Network & WithId(const char *value)
const Aws::String & GetVpcEndpointServiceName() const
void SetDescription(const Aws::String &value)
Network & WithDescription(Aws::String &&value)
void SetDescription(Aws::String &&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
Aws::Utils::Json::JsonValue JsonValue