/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about a resource identified by a Trusted Advisor
* check.See Also:
AWS
* API Reference
The status code for the resource identified in the Trusted Advisor check.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The status code for the resource identified in the Trusted Advisor check.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status code for the resource identified in the Trusted Advisor check.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status code for the resource identified in the Trusted Advisor check.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status code for the resource identified in the Trusted Advisor check.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The status code for the resource identified in the Trusted Advisor check.
*/ inline TrustedAdvisorResourceDetail& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The status code for the resource identified in the Trusted Advisor check.
*/ inline TrustedAdvisorResourceDetail& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The status code for the resource identified in the Trusted Advisor check.
*/ inline TrustedAdvisorResourceDetail& WithStatus(const char* value) { SetStatus(value); return *this;} /** *The Amazon Web Services Region in which the identified resource is * located.
*/ inline const Aws::String& GetRegion() const{ return m_region; } /** *The Amazon Web Services Region in which the identified resource is * located.
*/ inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } /** *The Amazon Web Services Region in which the identified resource is * located.
*/ inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } /** *The Amazon Web Services Region in which the identified resource is * located.
*/ inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } /** *The Amazon Web Services Region in which the identified resource is * located.
*/ inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } /** *The Amazon Web Services Region in which the identified resource is * located.
*/ inline TrustedAdvisorResourceDetail& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} /** *The Amazon Web Services Region in which the identified resource is * located.
*/ inline TrustedAdvisorResourceDetail& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} /** *The Amazon Web Services Region in which the identified resource is * located.
*/ inline TrustedAdvisorResourceDetail& WithRegion(const char* value) { SetRegion(value); return *this;} /** *The unique identifier for the identified resource.
*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *The unique identifier for the identified resource.
*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *The unique identifier for the identified resource.
*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *The unique identifier for the identified resource.
*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *The unique identifier for the identified resource.
*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *The unique identifier for the identified resource.
*/ inline TrustedAdvisorResourceDetail& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *The unique identifier for the identified resource.
*/ inline TrustedAdvisorResourceDetail& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *The unique identifier for the identified resource.
*/ inline TrustedAdvisorResourceDetail& WithResourceId(const char* value) { SetResourceId(value); return *this;} /** *Specifies whether the Amazon Web Services resource was ignored by Trusted * Advisor because it was marked as suppressed by the user.
*/ inline bool GetIsSuppressed() const{ return m_isSuppressed; } /** *Specifies whether the Amazon Web Services resource was ignored by Trusted * Advisor because it was marked as suppressed by the user.
*/ inline bool IsSuppressedHasBeenSet() const { return m_isSuppressedHasBeenSet; } /** *Specifies whether the Amazon Web Services resource was ignored by Trusted * Advisor because it was marked as suppressed by the user.
*/ inline void SetIsSuppressed(bool value) { m_isSuppressedHasBeenSet = true; m_isSuppressed = value; } /** *Specifies whether the Amazon Web Services resource was ignored by Trusted * Advisor because it was marked as suppressed by the user.
*/ inline TrustedAdvisorResourceDetail& WithIsSuppressed(bool value) { SetIsSuppressed(value); return *this;} /** *Additional information about the identified resource. The exact metadata and * its order can be obtained by inspecting the * TrustedAdvisorCheckDescription object returned by the call to * DescribeTrustedAdvisorChecks. Metadata contains all the data that * is shown in the Excel download, even in those cases where the UI shows just * summary data.
*/ inline const Aws::VectorAdditional information about the identified resource. The exact metadata and * its order can be obtained by inspecting the * TrustedAdvisorCheckDescription object returned by the call to * DescribeTrustedAdvisorChecks. Metadata contains all the data that * is shown in the Excel download, even in those cases where the UI shows just * summary data.
*/ inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } /** *Additional information about the identified resource. The exact metadata and * its order can be obtained by inspecting the * TrustedAdvisorCheckDescription object returned by the call to * DescribeTrustedAdvisorChecks. Metadata contains all the data that * is shown in the Excel download, even in those cases where the UI shows just * summary data.
*/ inline void SetMetadata(const Aws::VectorAdditional information about the identified resource. The exact metadata and * its order can be obtained by inspecting the * TrustedAdvisorCheckDescription object returned by the call to * DescribeTrustedAdvisorChecks. Metadata contains all the data that * is shown in the Excel download, even in those cases where the UI shows just * summary data.
*/ inline void SetMetadata(Aws::VectorAdditional information about the identified resource. The exact metadata and * its order can be obtained by inspecting the * TrustedAdvisorCheckDescription object returned by the call to * DescribeTrustedAdvisorChecks. Metadata contains all the data that * is shown in the Excel download, even in those cases where the UI shows just * summary data.
*/ inline TrustedAdvisorResourceDetail& WithMetadata(const Aws::VectorAdditional information about the identified resource. The exact metadata and * its order can be obtained by inspecting the * TrustedAdvisorCheckDescription object returned by the call to * DescribeTrustedAdvisorChecks. Metadata contains all the data that * is shown in the Excel download, even in those cases where the UI shows just * summary data.
*/ inline TrustedAdvisorResourceDetail& WithMetadata(Aws::VectorAdditional information about the identified resource. The exact metadata and * its order can be obtained by inspecting the * TrustedAdvisorCheckDescription object returned by the call to * DescribeTrustedAdvisorChecks. Metadata contains all the data that * is shown in the Excel download, even in those cases where the UI shows just * summary data.
*/ inline TrustedAdvisorResourceDetail& AddMetadata(const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.push_back(value); return *this; } /** *Additional information about the identified resource. The exact metadata and * its order can be obtained by inspecting the * TrustedAdvisorCheckDescription object returned by the call to * DescribeTrustedAdvisorChecks. Metadata contains all the data that * is shown in the Excel download, even in those cases where the UI shows just * summary data.
*/ inline TrustedAdvisorResourceDetail& AddMetadata(Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.push_back(std::move(value)); return *this; } /** *Additional information about the identified resource. The exact metadata and * its order can be obtained by inspecting the * TrustedAdvisorCheckDescription object returned by the call to * DescribeTrustedAdvisorChecks. Metadata contains all the data that * is shown in the Excel download, even in those cases where the UI shows just * summary data.
*/ inline TrustedAdvisorResourceDetail& AddMetadata(const char* value) { m_metadataHasBeenSet = true; m_metadata.push_back(value); return *this; } private: Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_region; bool m_regionHasBeenSet = false; Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; bool m_isSuppressed; bool m_isSuppressedHasBeenSet = false; Aws::Vector