/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about the target configuration.See Also:
AWS
* API Reference
The number of instances the Convertible Reserved Instance offering can be * applied to. This parameter is reserved and cannot be specified in a request
*/ inline int GetInstanceCount() const{ return m_instanceCount; } /** *The number of instances the Convertible Reserved Instance offering can be * applied to. This parameter is reserved and cannot be specified in a request
*/ inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; } /** *The number of instances the Convertible Reserved Instance offering can be * applied to. This parameter is reserved and cannot be specified in a request
*/ inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; } /** *The number of instances the Convertible Reserved Instance offering can be * applied to. This parameter is reserved and cannot be specified in a request
*/ inline TargetConfigurationRequest& WithInstanceCount(int value) { SetInstanceCount(value); return *this;} /** *The Convertible Reserved Instance offering ID.
*/ inline const Aws::String& GetOfferingId() const{ return m_offeringId; } /** *The Convertible Reserved Instance offering ID.
*/ inline bool OfferingIdHasBeenSet() const { return m_offeringIdHasBeenSet; } /** *The Convertible Reserved Instance offering ID.
*/ inline void SetOfferingId(const Aws::String& value) { m_offeringIdHasBeenSet = true; m_offeringId = value; } /** *The Convertible Reserved Instance offering ID.
*/ inline void SetOfferingId(Aws::String&& value) { m_offeringIdHasBeenSet = true; m_offeringId = std::move(value); } /** *The Convertible Reserved Instance offering ID.
*/ inline void SetOfferingId(const char* value) { m_offeringIdHasBeenSet = true; m_offeringId.assign(value); } /** *The Convertible Reserved Instance offering ID.
*/ inline TargetConfigurationRequest& WithOfferingId(const Aws::String& value) { SetOfferingId(value); return *this;} /** *The Convertible Reserved Instance offering ID.
*/ inline TargetConfigurationRequest& WithOfferingId(Aws::String&& value) { SetOfferingId(std::move(value)); return *this;} /** *The Convertible Reserved Instance offering ID.
*/ inline TargetConfigurationRequest& WithOfferingId(const char* value) { SetOfferingId(value); return *this;} private: int m_instanceCount; bool m_instanceCountHasBeenSet = false; Aws::String m_offeringId; bool m_offeringIdHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws