7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
11#include <aws/managedblockchain/model/Framework.h>
12#include <aws/managedblockchain/model/NetworkFrameworkAttributes.h>
13#include <aws/managedblockchain/model/NetworkStatus.h>
14#include <aws/managedblockchain/model/VotingPolicy.h>
25namespace ManagedBlockchain {
35 AWS_MANAGEDBLOCKCHAIN_API
Network() =
default;
46 template <
typename IdT = Aws::String>
48 m_idHasBeenSet =
true;
49 m_id = std::forward<IdT>(value);
51 template <
typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
64 template <
typename NameT = Aws::String>
66 m_nameHasBeenSet =
true;
67 m_name = std::forward<NameT>(value);
69 template <
typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
82 template <
typename DescriptionT = Aws::String>
84 m_descriptionHasBeenSet =
true;
85 m_description = std::forward<DescriptionT>(value);
87 template <
typename DescriptionT = Aws::String>
101 m_frameworkHasBeenSet =
true;
116 template <
typename FrameworkVersionT = Aws::String>
118 m_frameworkVersionHasBeenSet =
true;
119 m_frameworkVersion = std::forward<FrameworkVersionT>(value);
121 template <
typename FrameworkVersionT = Aws::String>
134 template <
typename FrameworkAttributesT = NetworkFrameworkAttributes>
136 m_frameworkAttributesHasBeenSet =
true;
137 m_frameworkAttributes = std::forward<FrameworkAttributesT>(value);
139 template <
typename FrameworkAttributesT = NetworkFrameworkAttributes>
154 template <
typename VpcEndpo
intServiceNameT = Aws::String>
156 m_vpcEndpointServiceNameHasBeenSet =
true;
157 m_vpcEndpointServiceName = std::forward<VpcEndpointServiceNameT>(value);
159 template <
typename VpcEndpo
intServiceNameT = Aws::String>
173 template <
typename VotingPolicyT = VotingPolicy>
175 m_votingPolicyHasBeenSet =
true;
176 m_votingPolicy = std::forward<VotingPolicyT>(value);
178 template <
typename VotingPolicyT = VotingPolicy>
192 m_statusHasBeenSet =
true;
207 template <
typename CreationDateT = Aws::Utils::DateTime>
209 m_creationDateHasBeenSet =
true;
210 m_creationDate = std::forward<CreationDateT>(value);
212 template <
typename CreationDateT = Aws::Utils::DateTime>
232 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
234 m_tagsHasBeenSet =
true;
235 m_tags = std::forward<TagsT>(value);
237 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
239 SetTags(std::forward<TagsT>(value));
242 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
244 m_tagsHasBeenSet =
true;
245 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
260 template <
typename ArnT = Aws::String>
262 m_arnHasBeenSet =
true;
263 m_arn = std::forward<ArnT>(value);
265 template <
typename ArnT = Aws::String>
267 SetArn(std::forward<ArnT>(value));
282 NetworkFrameworkAttributes m_frameworkAttributes;
286 VotingPolicy m_votingPolicy;
295 bool m_idHasBeenSet =
false;
296 bool m_nameHasBeenSet =
false;
297 bool m_descriptionHasBeenSet =
false;
298 bool m_frameworkHasBeenSet =
false;
299 bool m_frameworkVersionHasBeenSet =
false;
300 bool m_frameworkAttributesHasBeenSet =
false;
301 bool m_vpcEndpointServiceNameHasBeenSet =
false;
302 bool m_votingPolicyHasBeenSet =
false;
303 bool m_statusHasBeenSet =
false;
304 bool m_creationDateHasBeenSet =
false;
305 bool m_tagsHasBeenSet =
false;
306 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