/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a standalone resource or similarly grouped resources that the
* application is made up of.See Also:
AWS
* API Reference
The name of the component.
*/ inline const Aws::String& GetComponentName() const{ return m_componentName; } /** *The name of the component.
*/ inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; } /** *The name of the component.
*/ inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; } /** *The name of the component.
*/ inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); } /** *The name of the component.
*/ inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); } /** *The name of the component.
*/ inline ApplicationComponent& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;} /** *The name of the component.
*/ inline ApplicationComponent& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;} /** *The name of the component.
*/ inline ApplicationComponent& WithComponentName(const char* value) { SetComponentName(value); return *this;} /** *If logging is supported for the resource type, indicates whether the * component has configured logs to be monitored.
*/ inline const Aws::String& GetComponentRemarks() const{ return m_componentRemarks; } /** *If logging is supported for the resource type, indicates whether the * component has configured logs to be monitored.
*/ inline bool ComponentRemarksHasBeenSet() const { return m_componentRemarksHasBeenSet; } /** *If logging is supported for the resource type, indicates whether the * component has configured logs to be monitored.
*/ inline void SetComponentRemarks(const Aws::String& value) { m_componentRemarksHasBeenSet = true; m_componentRemarks = value; } /** *If logging is supported for the resource type, indicates whether the * component has configured logs to be monitored.
*/ inline void SetComponentRemarks(Aws::String&& value) { m_componentRemarksHasBeenSet = true; m_componentRemarks = std::move(value); } /** *If logging is supported for the resource type, indicates whether the * component has configured logs to be monitored.
*/ inline void SetComponentRemarks(const char* value) { m_componentRemarksHasBeenSet = true; m_componentRemarks.assign(value); } /** *If logging is supported for the resource type, indicates whether the * component has configured logs to be monitored.
*/ inline ApplicationComponent& WithComponentRemarks(const Aws::String& value) { SetComponentRemarks(value); return *this;} /** *If logging is supported for the resource type, indicates whether the * component has configured logs to be monitored.
*/ inline ApplicationComponent& WithComponentRemarks(Aws::String&& value) { SetComponentRemarks(std::move(value)); return *this;} /** *If logging is supported for the resource type, indicates whether the * component has configured logs to be monitored.
*/ inline ApplicationComponent& WithComponentRemarks(const char* value) { SetComponentRemarks(value); return *this;} /** *The resource type. Supported resource types include EC2 instances, Auto * Scaling group, Classic ELB, Application ELB, and SQS Queue.
*/ inline const Aws::String& GetResourceType() const{ return m_resourceType; } /** *The resource type. Supported resource types include EC2 instances, Auto * Scaling group, Classic ELB, Application ELB, and SQS Queue.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *The resource type. Supported resource types include EC2 instances, Auto * Scaling group, Classic ELB, Application ELB, and SQS Queue.
*/ inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *The resource type. Supported resource types include EC2 instances, Auto * Scaling group, Classic ELB, Application ELB, and SQS Queue.
*/ inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *The resource type. Supported resource types include EC2 instances, Auto * Scaling group, Classic ELB, Application ELB, and SQS Queue.
*/ inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } /** *The resource type. Supported resource types include EC2 instances, Auto * Scaling group, Classic ELB, Application ELB, and SQS Queue.
*/ inline ApplicationComponent& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} /** *The resource type. Supported resource types include EC2 instances, Auto * Scaling group, Classic ELB, Application ELB, and SQS Queue.
*/ inline ApplicationComponent& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} /** *The resource type. Supported resource types include EC2 instances, Auto * Scaling group, Classic ELB, Application ELB, and SQS Queue.
*/ inline ApplicationComponent& WithResourceType(const char* value) { SetResourceType(value); return *this;} /** *The operating system of the component.
*/ inline const OsType& GetOsType() const{ return m_osType; } /** *The operating system of the component.
*/ inline bool OsTypeHasBeenSet() const { return m_osTypeHasBeenSet; } /** *The operating system of the component.
*/ inline void SetOsType(const OsType& value) { m_osTypeHasBeenSet = true; m_osType = value; } /** *The operating system of the component.
*/ inline void SetOsType(OsType&& value) { m_osTypeHasBeenSet = true; m_osType = std::move(value); } /** *The operating system of the component.
*/ inline ApplicationComponent& WithOsType(const OsType& value) { SetOsType(value); return *this;} /** *The operating system of the component.
*/ inline ApplicationComponent& WithOsType(OsType&& value) { SetOsType(std::move(value)); return *this;} /** *The stack tier of the application component.
*/ inline const Tier& GetTier() const{ return m_tier; } /** *The stack tier of the application component.
*/ inline bool TierHasBeenSet() const { return m_tierHasBeenSet; } /** *The stack tier of the application component.
*/ inline void SetTier(const Tier& value) { m_tierHasBeenSet = true; m_tier = value; } /** *The stack tier of the application component.
*/ inline void SetTier(Tier&& value) { m_tierHasBeenSet = true; m_tier = std::move(value); } /** *The stack tier of the application component.
*/ inline ApplicationComponent& WithTier(const Tier& value) { SetTier(value); return *this;} /** *The stack tier of the application component.
*/ inline ApplicationComponent& WithTier(Tier&& value) { SetTier(std::move(value)); return *this;} /** *Indicates whether the application component is monitored.
*/ inline bool GetMonitor() const{ return m_monitor; } /** *Indicates whether the application component is monitored.
*/ inline bool MonitorHasBeenSet() const { return m_monitorHasBeenSet; } /** *Indicates whether the application component is monitored.
*/ inline void SetMonitor(bool value) { m_monitorHasBeenSet = true; m_monitor = value; } /** *Indicates whether the application component is monitored.
*/ inline ApplicationComponent& WithMonitor(bool value) { SetMonitor(value); return *this;} /** *Workloads detected in the application component.
*/ inline const Aws::MapWorkloads detected in the application component.
*/ inline bool DetectedWorkloadHasBeenSet() const { return m_detectedWorkloadHasBeenSet; } /** *Workloads detected in the application component.
*/ inline void SetDetectedWorkload(const Aws::MapWorkloads detected in the application component.
*/ inline void SetDetectedWorkload(Aws::MapWorkloads detected in the application component.
*/ inline ApplicationComponent& WithDetectedWorkload(const Aws::MapWorkloads detected in the application component.
*/ inline ApplicationComponent& WithDetectedWorkload(Aws::MapWorkloads detected in the application component.
*/ inline ApplicationComponent& AddDetectedWorkload(const Tier& key, const Aws::MapWorkloads detected in the application component.
*/ inline ApplicationComponent& AddDetectedWorkload(Tier&& key, const Aws::MapWorkloads detected in the application component.
*/ inline ApplicationComponent& AddDetectedWorkload(const Tier& key, Aws::MapWorkloads detected in the application component.
*/ inline ApplicationComponent& AddDetectedWorkload(Tier&& key, Aws::Map