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

Details of the network resources in the order.

See Also:

AWS * API Reference

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

The duration and renewal status of the commitment period for each radio unit * in the order. Does not show details if the resource type is * DEVICE_IDENTIFIER.

*/ inline const CommitmentConfiguration& GetCommitmentConfiguration() const{ return m_commitmentConfiguration; } /** *

The duration and renewal status of the commitment period for each radio unit * in the order. Does not show details if the resource type is * DEVICE_IDENTIFIER.

*/ inline bool CommitmentConfigurationHasBeenSet() const { return m_commitmentConfigurationHasBeenSet; } /** *

The duration and renewal status of the commitment period for each radio unit * in the order. Does not show details if the resource type is * DEVICE_IDENTIFIER.

*/ inline void SetCommitmentConfiguration(const CommitmentConfiguration& value) { m_commitmentConfigurationHasBeenSet = true; m_commitmentConfiguration = value; } /** *

The duration and renewal status of the commitment period for each radio unit * in the order. Does not show details if the resource type is * DEVICE_IDENTIFIER.

*/ inline void SetCommitmentConfiguration(CommitmentConfiguration&& value) { m_commitmentConfigurationHasBeenSet = true; m_commitmentConfiguration = std::move(value); } /** *

The duration and renewal status of the commitment period for each radio unit * in the order. Does not show details if the resource type is * DEVICE_IDENTIFIER.

*/ inline OrderedResourceDefinition& WithCommitmentConfiguration(const CommitmentConfiguration& value) { SetCommitmentConfiguration(value); return *this;} /** *

The duration and renewal status of the commitment period for each radio unit * in the order. Does not show details if the resource type is * DEVICE_IDENTIFIER.

*/ inline OrderedResourceDefinition& WithCommitmentConfiguration(CommitmentConfiguration&& value) { SetCommitmentConfiguration(std::move(value)); return *this;} /** *

The number of network resources in the order.

*/ inline int GetCount() const{ return m_count; } /** *

The number of network resources in the order.

*/ inline bool CountHasBeenSet() const { return m_countHasBeenSet; } /** *

The number of network resources in the order.

*/ inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; } /** *

The number of network resources in the order.

*/ inline OrderedResourceDefinition& WithCount(int value) { SetCount(value); return *this;} /** *

The type of network resource in the order.

*/ inline const NetworkResourceDefinitionType& GetType() const{ return m_type; } /** *

The type of network resource in the order.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The type of network resource in the order.

*/ inline void SetType(const NetworkResourceDefinitionType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The type of network resource in the order.

*/ inline void SetType(NetworkResourceDefinitionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The type of network resource in the order.

*/ inline OrderedResourceDefinition& WithType(const NetworkResourceDefinitionType& value) { SetType(value); return *this;} /** *

The type of network resource in the order.

*/ inline OrderedResourceDefinition& WithType(NetworkResourceDefinitionType&& value) { SetType(std::move(value)); return *this;} private: CommitmentConfiguration m_commitmentConfiguration; bool m_commitmentConfigurationHasBeenSet = false; int m_count; bool m_countHasBeenSet = false; NetworkResourceDefinitionType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace PrivateNetworks } // namespace Aws