/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ManagedBlockchain { namespace Model { /** *

A summary of network configuration properties.

See Also:

AWS * API Reference

*/ class NetworkSummary { public: AWS_MANAGEDBLOCKCHAIN_API NetworkSummary(); AWS_MANAGEDBLOCKCHAIN_API NetworkSummary(Aws::Utils::Json::JsonView jsonValue); AWS_MANAGEDBLOCKCHAIN_API NetworkSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique identifier of the network.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The unique identifier of the network.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The unique identifier of the network.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The unique identifier of the network.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The unique identifier of the network.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The unique identifier of the network.

*/ inline NetworkSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The unique identifier of the network.

*/ inline NetworkSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The unique identifier of the network.

*/ inline NetworkSummary& WithId(const char* value) { SetId(value); return *this;} /** *

The name of the network.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the network.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the network.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the network.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the network.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the network.

*/ inline NetworkSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the network.

*/ inline NetworkSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the network.

*/ inline NetworkSummary& WithName(const char* value) { SetName(value); return *this;} /** *

An optional description of the network.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

An optional description of the network.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

An optional description of the network.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

An optional description of the network.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

An optional description of the network.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

An optional description of the network.

*/ inline NetworkSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

An optional description of the network.

*/ inline NetworkSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

An optional description of the network.

*/ inline NetworkSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The blockchain framework that the network uses.

*/ inline const Framework& GetFramework() const{ return m_framework; } /** *

The blockchain framework that the network uses.

*/ inline bool FrameworkHasBeenSet() const { return m_frameworkHasBeenSet; } /** *

The blockchain framework that the network uses.

*/ inline void SetFramework(const Framework& value) { m_frameworkHasBeenSet = true; m_framework = value; } /** *

The blockchain framework that the network uses.

*/ inline void SetFramework(Framework&& value) { m_frameworkHasBeenSet = true; m_framework = std::move(value); } /** *

The blockchain framework that the network uses.

*/ inline NetworkSummary& WithFramework(const Framework& value) { SetFramework(value); return *this;} /** *

The blockchain framework that the network uses.

*/ inline NetworkSummary& WithFramework(Framework&& value) { SetFramework(std::move(value)); return *this;} /** *

The version of the blockchain framework that the network uses.

*/ inline const Aws::String& GetFrameworkVersion() const{ return m_frameworkVersion; } /** *

The version of the blockchain framework that the network uses.

*/ inline bool FrameworkVersionHasBeenSet() const { return m_frameworkVersionHasBeenSet; } /** *

The version of the blockchain framework that the network uses.

*/ inline void SetFrameworkVersion(const Aws::String& value) { m_frameworkVersionHasBeenSet = true; m_frameworkVersion = value; } /** *

The version of the blockchain framework that the network uses.

*/ inline void SetFrameworkVersion(Aws::String&& value) { m_frameworkVersionHasBeenSet = true; m_frameworkVersion = std::move(value); } /** *

The version of the blockchain framework that the network uses.

*/ inline void SetFrameworkVersion(const char* value) { m_frameworkVersionHasBeenSet = true; m_frameworkVersion.assign(value); } /** *

The version of the blockchain framework that the network uses.

*/ inline NetworkSummary& WithFrameworkVersion(const Aws::String& value) { SetFrameworkVersion(value); return *this;} /** *

The version of the blockchain framework that the network uses.

*/ inline NetworkSummary& WithFrameworkVersion(Aws::String&& value) { SetFrameworkVersion(std::move(value)); return *this;} /** *

The version of the blockchain framework that the network uses.

*/ inline NetworkSummary& WithFrameworkVersion(const char* value) { SetFrameworkVersion(value); return *this;} /** *

The current status of the network.

*/ inline const NetworkStatus& GetStatus() const{ return m_status; } /** *

The current status of the network.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The current status of the network.

*/ inline void SetStatus(const NetworkStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The current status of the network.

*/ inline void SetStatus(NetworkStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The current status of the network.

*/ inline NetworkSummary& WithStatus(const NetworkStatus& value) { SetStatus(value); return *this;} /** *

The current status of the network.

*/ inline NetworkSummary& WithStatus(NetworkStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The date and time that the network was created.

*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *

The date and time that the network was created.

*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *

The date and time that the network was created.

*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *

The date and time that the network was created.

*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *

The date and time that the network was created.

*/ inline NetworkSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *

The date and time that the network was created.

*/ inline NetworkSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the network. For more information about * ARNs and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the network. For more information about * ARNs and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the network. For more information about * ARNs and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) of the network. For more information about * ARNs and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the network. For more information about * ARNs and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the network. For more information about * ARNs and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline NetworkSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the network. For more information about * ARNs and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline NetworkSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the network. For more information about * ARNs and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline NetworkSummary& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Framework m_framework; bool m_frameworkHasBeenSet = false; Aws::String m_frameworkVersion; bool m_frameworkVersionHasBeenSet = false; NetworkStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws