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

Information about a site plan.

See Also:

AWS * API Reference

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

The options of the plan.

*/ inline const Aws::Vector& GetOptions() const{ return m_options; } /** *

The options of the plan.

*/ inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; } /** *

The options of the plan.

*/ inline void SetOptions(const Aws::Vector& value) { m_optionsHasBeenSet = true; m_options = value; } /** *

The options of the plan.

*/ inline void SetOptions(Aws::Vector&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); } /** *

The options of the plan.

*/ inline SitePlan& WithOptions(const Aws::Vector& value) { SetOptions(value); return *this;} /** *

The options of the plan.

*/ inline SitePlan& WithOptions(Aws::Vector&& value) { SetOptions(std::move(value)); return *this;} /** *

The options of the plan.

*/ inline SitePlan& AddOptions(const NameValuePair& value) { m_optionsHasBeenSet = true; m_options.push_back(value); return *this; } /** *

The options of the plan.

*/ inline SitePlan& AddOptions(NameValuePair&& value) { m_optionsHasBeenSet = true; m_options.push_back(std::move(value)); return *this; } /** *

The resource definitions of the plan.

*/ inline const Aws::Vector& GetResourceDefinitions() const{ return m_resourceDefinitions; } /** *

The resource definitions of the plan.

*/ inline bool ResourceDefinitionsHasBeenSet() const { return m_resourceDefinitionsHasBeenSet; } /** *

The resource definitions of the plan.

*/ inline void SetResourceDefinitions(const Aws::Vector& value) { m_resourceDefinitionsHasBeenSet = true; m_resourceDefinitions = value; } /** *

The resource definitions of the plan.

*/ inline void SetResourceDefinitions(Aws::Vector&& value) { m_resourceDefinitionsHasBeenSet = true; m_resourceDefinitions = std::move(value); } /** *

The resource definitions of the plan.

*/ inline SitePlan& WithResourceDefinitions(const Aws::Vector& value) { SetResourceDefinitions(value); return *this;} /** *

The resource definitions of the plan.

*/ inline SitePlan& WithResourceDefinitions(Aws::Vector&& value) { SetResourceDefinitions(std::move(value)); return *this;} /** *

The resource definitions of the plan.

*/ inline SitePlan& AddResourceDefinitions(const NetworkResourceDefinition& value) { m_resourceDefinitionsHasBeenSet = true; m_resourceDefinitions.push_back(value); return *this; } /** *

The resource definitions of the plan.

*/ inline SitePlan& AddResourceDefinitions(NetworkResourceDefinition&& value) { m_resourceDefinitionsHasBeenSet = true; m_resourceDefinitions.push_back(std::move(value)); return *this; } private: Aws::Vector m_options; bool m_optionsHasBeenSet = false; Aws::Vector m_resourceDefinitions; bool m_resourceDefinitionsHasBeenSet = false; }; } // namespace Model } // namespace PrivateNetworks } // namespace Aws