/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about the step associated with a finding.See Also:
* AWS
* API Reference
The component ID.
*/ inline const Aws::String& GetComponentId() const{ return m_componentId; } /** *The component ID.
*/ inline bool ComponentIdHasBeenSet() const { return m_componentIdHasBeenSet; } /** *The component ID.
*/ inline void SetComponentId(const Aws::String& value) { m_componentIdHasBeenSet = true; m_componentId = value; } /** *The component ID.
*/ inline void SetComponentId(Aws::String&& value) { m_componentIdHasBeenSet = true; m_componentId = std::move(value); } /** *The component ID.
*/ inline void SetComponentId(const char* value) { m_componentIdHasBeenSet = true; m_componentId.assign(value); } /** *The component ID.
*/ inline Step& WithComponentId(const Aws::String& value) { SetComponentId(value); return *this;} /** *The component ID.
*/ inline Step& WithComponentId(Aws::String&& value) { SetComponentId(std::move(value)); return *this;} /** *The component ID.
*/ inline Step& WithComponentId(const char* value) { SetComponentId(value); return *this;} /** *The component type.
*/ inline const Aws::String& GetComponentType() const{ return m_componentType; } /** *The component type.
*/ inline bool ComponentTypeHasBeenSet() const { return m_componentTypeHasBeenSet; } /** *The component type.
*/ inline void SetComponentType(const Aws::String& value) { m_componentTypeHasBeenSet = true; m_componentType = value; } /** *The component type.
*/ inline void SetComponentType(Aws::String&& value) { m_componentTypeHasBeenSet = true; m_componentType = std::move(value); } /** *The component type.
*/ inline void SetComponentType(const char* value) { m_componentTypeHasBeenSet = true; m_componentType.assign(value); } /** *The component type.
*/ inline Step& WithComponentType(const Aws::String& value) { SetComponentType(value); return *this;} /** *The component type.
*/ inline Step& WithComponentType(Aws::String&& value) { SetComponentType(std::move(value)); return *this;} /** *The component type.
*/ inline Step& WithComponentType(const char* value) { SetComponentType(value); return *this;} private: Aws::String m_componentId; bool m_componentIdHasBeenSet = false; Aws::String m_componentType; bool m_componentTypeHasBeenSet = false; }; } // namespace Model } // namespace Inspector2 } // namespace Aws