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
40 AWS_MANAGEDBLOCKCHAIN_API
Network() =
default;
52 template<
typename IdT = Aws::String>
53 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
54 template<
typename IdT = Aws::String>
64 template<
typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
66 template<
typename NameT = Aws::String>
76 template<
typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
78 template<
typename DescriptionT = Aws::String>
98 template<
typename FrameworkVersionT = Aws::String>
99 void SetFrameworkVersion(FrameworkVersionT&& value) { m_frameworkVersionHasBeenSet =
true; m_frameworkVersion = std::forward<FrameworkVersionT>(value); }
100 template<
typename FrameworkVersionT = Aws::String>
110 template<
typename FrameworkAttributesT = NetworkFrameworkAttributes>
111 void SetFrameworkAttributes(FrameworkAttributesT&& value) { m_frameworkAttributesHasBeenSet =
true; m_frameworkAttributes = std::forward<FrameworkAttributesT>(value); }
112 template<
typename FrameworkAttributesT = NetworkFrameworkAttributes>
124 template<
typename VpcEndpo
intServiceNameT = Aws::String>
125 void SetVpcEndpointServiceName(VpcEndpointServiceNameT&& value) { m_vpcEndpointServiceNameHasBeenSet =
true; m_vpcEndpointServiceName = std::forward<VpcEndpointServiceNameT>(value); }
126 template<
typename VpcEndpo
intServiceNameT = Aws::String>
137 template<
typename VotingPolicyT = VotingPolicy>
138 void SetVotingPolicy(VotingPolicyT&& value) { m_votingPolicyHasBeenSet =
true; m_votingPolicy = std::forward<VotingPolicyT>(value); }
139 template<
typename VotingPolicyT = VotingPolicy>
159 template<
typename CreationDateT = Aws::Utils::DateTime>
160 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
161 template<
typename CreationDateT = Aws::Utils::DateTime>
178 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
179 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
180 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
182 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
184 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
198 template<
typename ArnT = Aws::String>
199 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
200 template<
typename ArnT = Aws::String>
206 bool m_idHasBeenSet =
false;
209 bool m_nameHasBeenSet =
false;
212 bool m_descriptionHasBeenSet =
false;
215 bool m_frameworkHasBeenSet =
false;
218 bool m_frameworkVersionHasBeenSet =
false;
220 NetworkFrameworkAttributes m_frameworkAttributes;
221 bool m_frameworkAttributesHasBeenSet =
false;
224 bool m_vpcEndpointServiceNameHasBeenSet =
false;
226 VotingPolicy m_votingPolicy;
227 bool m_votingPolicyHasBeenSet =
false;
230 bool m_statusHasBeenSet =
false;
233 bool m_creationDateHasBeenSet =
false;
236 bool m_tagsHasBeenSet =
false;
239 bool m_arnHasBeenSet =
false;
const VotingPolicy & GetVotingPolicy() const
bool FrameworkHasBeenSet() const
void SetCreationDate(CreationDateT &&value)
bool TagsHasBeenSet() const
bool NameHasBeenSet() const
void SetFrameworkVersion(FrameworkVersionT &&value)
bool VpcEndpointServiceNameHasBeenSet() const
Network & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
void SetVotingPolicy(VotingPolicyT &&value)
void SetFramework(Framework value)
const Aws::String & GetName() const
void SetFrameworkAttributes(FrameworkAttributesT &&value)
void SetName(NameT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
const NetworkFrameworkAttributes & GetFrameworkAttributes() const
bool IdHasBeenSet() const
Network & WithArn(ArnT &&value)
bool FrameworkAttributesHasBeenSet() const
Network & WithVotingPolicy(VotingPolicyT &&value)
void SetStatus(NetworkStatus value)
void SetArn(ArnT &&value)
Network & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_MANAGEDBLOCKCHAIN_API Network(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
bool ArnHasBeenSet() const
bool StatusHasBeenSet() const
Network & WithFramework(Framework value)
const Aws::String & GetFrameworkVersion() const
Network & WithName(NameT &&value)
bool FrameworkVersionHasBeenSet() const
const Aws::String & GetArn() const
bool VotingPolicyHasBeenSet() const
Framework GetFramework() const
const Aws::String & GetId() const
Network & WithFrameworkAttributes(FrameworkAttributesT &&value)
Network & WithId(IdT &&value)
Network & WithCreationDate(CreationDateT &&value)
void SetTags(TagsT &&value)
AWS_MANAGEDBLOCKCHAIN_API Network & operator=(Aws::Utils::Json::JsonView jsonValue)
Network & WithVpcEndpointServiceName(VpcEndpointServiceNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool DescriptionHasBeenSet() const
AWS_MANAGEDBLOCKCHAIN_API Network()=default
Network & WithTags(TagsT &&value)
NetworkStatus GetStatus() const
Network & WithStatus(NetworkStatus value)
bool CreationDateHasBeenSet() const
void SetVpcEndpointServiceName(VpcEndpointServiceNameT &&value)
const Aws::String & GetVpcEndpointServiceName() const
Network & WithFrameworkVersion(FrameworkVersionT &&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