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

Property values to use to override the values in the launch * template.

See Also:

AWS * API Reference

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

The instance type. For example, m3.xlarge.

*/ inline const Aws::String& GetInstanceType() const{ return m_instanceType; } /** *

The instance type. For example, m3.xlarge.

*/ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } /** *

The instance type. For example, m3.xlarge.

*/ inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } /** *

The instance type. For example, m3.xlarge.

*/ inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } /** *

The instance type. For example, m3.xlarge.

*/ inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); } /** *

The instance type. For example, m3.xlarge.

*/ inline AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} /** *

The instance type. For example, m3.xlarge.

*/ inline AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} /** *

The instance type. For example, m3.xlarge.

*/ inline AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} /** *

The number of capacity units provided by the specified instance type in terms * of virtual CPUs, memory, storage, throughput, or other relative performance * characteristic.

*/ inline const Aws::String& GetWeightedCapacity() const{ return m_weightedCapacity; } /** *

The number of capacity units provided by the specified instance type in terms * of virtual CPUs, memory, storage, throughput, or other relative performance * characteristic.

*/ inline bool WeightedCapacityHasBeenSet() const { return m_weightedCapacityHasBeenSet; } /** *

The number of capacity units provided by the specified instance type in terms * of virtual CPUs, memory, storage, throughput, or other relative performance * characteristic.

*/ inline void SetWeightedCapacity(const Aws::String& value) { m_weightedCapacityHasBeenSet = true; m_weightedCapacity = value; } /** *

The number of capacity units provided by the specified instance type in terms * of virtual CPUs, memory, storage, throughput, or other relative performance * characteristic.

*/ inline void SetWeightedCapacity(Aws::String&& value) { m_weightedCapacityHasBeenSet = true; m_weightedCapacity = std::move(value); } /** *

The number of capacity units provided by the specified instance type in terms * of virtual CPUs, memory, storage, throughput, or other relative performance * characteristic.

*/ inline void SetWeightedCapacity(const char* value) { m_weightedCapacityHasBeenSet = true; m_weightedCapacity.assign(value); } /** *

The number of capacity units provided by the specified instance type in terms * of virtual CPUs, memory, storage, throughput, or other relative performance * characteristic.

*/ inline AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails& WithWeightedCapacity(const Aws::String& value) { SetWeightedCapacity(value); return *this;} /** *

The number of capacity units provided by the specified instance type in terms * of virtual CPUs, memory, storage, throughput, or other relative performance * characteristic.

*/ inline AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails& WithWeightedCapacity(Aws::String&& value) { SetWeightedCapacity(std::move(value)); return *this;} /** *

The number of capacity units provided by the specified instance type in terms * of virtual CPUs, memory, storage, throughput, or other relative performance * characteristic.

*/ inline AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails& WithWeightedCapacity(const char* value) { SetWeightedCapacity(value); return *this;} private: Aws::String m_instanceType; bool m_instanceTypeHasBeenSet = false; Aws::String m_weightedCapacity; bool m_weightedCapacityHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws