/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an potential intermediate component of a feasible
* path.See Also:
AWS
* API Reference
The ID of the component.
*/ inline const Aws::String& GetComponentId() const{ return m_componentId; } /** *The ID of the component.
*/ inline bool ComponentIdHasBeenSet() const { return m_componentIdHasBeenSet; } /** *The ID of the component.
*/ inline void SetComponentId(const Aws::String& value) { m_componentIdHasBeenSet = true; m_componentId = value; } /** *The ID of the component.
*/ inline void SetComponentId(Aws::String&& value) { m_componentIdHasBeenSet = true; m_componentId = std::move(value); } /** *The ID of the component.
*/ inline void SetComponentId(const char* value) { m_componentIdHasBeenSet = true; m_componentId.assign(value); } /** *The ID of the component.
*/ inline AlternatePathHint& WithComponentId(const Aws::String& value) { SetComponentId(value); return *this;} /** *The ID of the component.
*/ inline AlternatePathHint& WithComponentId(Aws::String&& value) { SetComponentId(std::move(value)); return *this;} /** *The ID of the component.
*/ inline AlternatePathHint& WithComponentId(const char* value) { SetComponentId(value); return *this;} /** *The Amazon Resource Name (ARN) of the component.
*/ inline const Aws::String& GetComponentArn() const{ return m_componentArn; } /** *The Amazon Resource Name (ARN) of the component.
*/ inline bool ComponentArnHasBeenSet() const { return m_componentArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the component.
*/ inline void SetComponentArn(const Aws::String& value) { m_componentArnHasBeenSet = true; m_componentArn = value; } /** *The Amazon Resource Name (ARN) of the component.
*/ inline void SetComponentArn(Aws::String&& value) { m_componentArnHasBeenSet = true; m_componentArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the component.
*/ inline void SetComponentArn(const char* value) { m_componentArnHasBeenSet = true; m_componentArn.assign(value); } /** *The Amazon Resource Name (ARN) of the component.
*/ inline AlternatePathHint& WithComponentArn(const Aws::String& value) { SetComponentArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the component.
*/ inline AlternatePathHint& WithComponentArn(Aws::String&& value) { SetComponentArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the component.
*/ inline AlternatePathHint& WithComponentArn(const char* value) { SetComponentArn(value); return *this;} private: Aws::String m_componentId; bool m_componentIdHasBeenSet = false; Aws::String m_componentArn; bool m_componentArnHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws