/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DevOpsGuru { namespace Model { class DescribeResourceCollectionHealthResult { public: AWS_DEVOPSGURU_API DescribeResourceCollectionHealthResult(); AWS_DEVOPSGURU_API DescribeResourceCollectionHealthResult(const Aws::AmazonWebServiceResult& result); AWS_DEVOPSGURU_API DescribeResourceCollectionHealthResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The returned CloudFormationHealthOverview object that contains * an InsightHealthOverview object with the requested system health * information.

*/ inline const Aws::Vector& GetCloudFormation() const{ return m_cloudFormation; } /** *

The returned CloudFormationHealthOverview object that contains * an InsightHealthOverview object with the requested system health * information.

*/ inline void SetCloudFormation(const Aws::Vector& value) { m_cloudFormation = value; } /** *

The returned CloudFormationHealthOverview object that contains * an InsightHealthOverview object with the requested system health * information.

*/ inline void SetCloudFormation(Aws::Vector&& value) { m_cloudFormation = std::move(value); } /** *

The returned CloudFormationHealthOverview object that contains * an InsightHealthOverview object with the requested system health * information.

*/ inline DescribeResourceCollectionHealthResult& WithCloudFormation(const Aws::Vector& value) { SetCloudFormation(value); return *this;} /** *

The returned CloudFormationHealthOverview object that contains * an InsightHealthOverview object with the requested system health * information.

*/ inline DescribeResourceCollectionHealthResult& WithCloudFormation(Aws::Vector&& value) { SetCloudFormation(std::move(value)); return *this;} /** *

The returned CloudFormationHealthOverview object that contains * an InsightHealthOverview object with the requested system health * information.

*/ inline DescribeResourceCollectionHealthResult& AddCloudFormation(const CloudFormationHealth& value) { m_cloudFormation.push_back(value); return *this; } /** *

The returned CloudFormationHealthOverview object that contains * an InsightHealthOverview object with the requested system health * information.

*/ inline DescribeResourceCollectionHealthResult& AddCloudFormation(CloudFormationHealth&& value) { m_cloudFormation.push_back(std::move(value)); return *this; } /** *

An array of ServiceHealth objects that describes the health of * the Amazon Web Services services associated with the resources in the * collection.

*/ inline const Aws::Vector& GetService() const{ return m_service; } /** *

An array of ServiceHealth objects that describes the health of * the Amazon Web Services services associated with the resources in the * collection.

*/ inline void SetService(const Aws::Vector& value) { m_service = value; } /** *

An array of ServiceHealth objects that describes the health of * the Amazon Web Services services associated with the resources in the * collection.

*/ inline void SetService(Aws::Vector&& value) { m_service = std::move(value); } /** *

An array of ServiceHealth objects that describes the health of * the Amazon Web Services services associated with the resources in the * collection.

*/ inline DescribeResourceCollectionHealthResult& WithService(const Aws::Vector& value) { SetService(value); return *this;} /** *

An array of ServiceHealth objects that describes the health of * the Amazon Web Services services associated with the resources in the * collection.

*/ inline DescribeResourceCollectionHealthResult& WithService(Aws::Vector&& value) { SetService(std::move(value)); return *this;} /** *

An array of ServiceHealth objects that describes the health of * the Amazon Web Services services associated with the resources in the * collection.

*/ inline DescribeResourceCollectionHealthResult& AddService(const ServiceHealth& value) { m_service.push_back(value); return *this; } /** *

An array of ServiceHealth objects that describes the health of * the Amazon Web Services services associated with the resources in the * collection.

*/ inline DescribeResourceCollectionHealthResult& AddService(ServiceHealth&& value) { m_service.push_back(std::move(value)); return *this; } /** *

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

*/ inline DescribeResourceCollectionHealthResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

*/ inline DescribeResourceCollectionHealthResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

*/ inline DescribeResourceCollectionHealthResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The Amazon Web Services tags that are used by resources in the resource * collection.

Tags help you identify and organize your Amazon Web Services * resources. Many Amazon Web Services services support tagging, so you can assign * the same tag to resources from different services to indicate that the resources * are related. For example, you can assign the same tag to an Amazon DynamoDB * table resource that you assign to an Lambda function. For more information about * using tags, see the Tagging * best practices whitepaper.

Each Amazon Web Services tag has two * parts.

  • A tag key (for example, CostCenter, * Environment, Project, or Secret). Tag * keys are case-sensitive.

  • An optional field known as a * tag value (for example, 111122223333, * Production, or a team name). Omitting the tag value is the * same as using an empty string. Like tag keys, tag values are * case-sensitive.

Together these are known as * key-value pairs.

The string used for a * key in a tag that you use to define your resource coverage must begin * with the prefix Devops-guru-. The tag key might be * DevOps-Guru-deployment-application or * devops-guru-rds-application. When you create a key, the case * of characters in the key can be whatever you choose. After you create a * key, it is case-sensitive. For example, DevOps Guru works with a * key named devops-guru-rds and a key named * DevOps-Guru-RDS, and these act as two different keys. * Possible key/value pairs in your application might be * Devops-Guru-production-application/RDS or * Devops-Guru-production-application/containers.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

The Amazon Web Services tags that are used by resources in the resource * collection.

Tags help you identify and organize your Amazon Web Services * resources. Many Amazon Web Services services support tagging, so you can assign * the same tag to resources from different services to indicate that the resources * are related. For example, you can assign the same tag to an Amazon DynamoDB * table resource that you assign to an Lambda function. For more information about * using tags, see the Tagging * best practices whitepaper.

Each Amazon Web Services tag has two * parts.

  • A tag key (for example, CostCenter, * Environment, Project, or Secret). Tag * keys are case-sensitive.

  • An optional field known as a * tag value (for example, 111122223333, * Production, or a team name). Omitting the tag value is the * same as using an empty string. Like tag keys, tag values are * case-sensitive.

Together these are known as * key-value pairs.

The string used for a * key in a tag that you use to define your resource coverage must begin * with the prefix Devops-guru-. The tag key might be * DevOps-Guru-deployment-application or * devops-guru-rds-application. When you create a key, the case * of characters in the key can be whatever you choose. After you create a * key, it is case-sensitive. For example, DevOps Guru works with a * key named devops-guru-rds and a key named * DevOps-Guru-RDS, and these act as two different keys. * Possible key/value pairs in your application might be * Devops-Guru-production-application/RDS or * Devops-Guru-production-application/containers.

*/ inline void SetTags(const Aws::Vector& value) { m_tags = value; } /** *

The Amazon Web Services tags that are used by resources in the resource * collection.

Tags help you identify and organize your Amazon Web Services * resources. Many Amazon Web Services services support tagging, so you can assign * the same tag to resources from different services to indicate that the resources * are related. For example, you can assign the same tag to an Amazon DynamoDB * table resource that you assign to an Lambda function. For more information about * using tags, see the Tagging * best practices whitepaper.

Each Amazon Web Services tag has two * parts.

  • A tag key (for example, CostCenter, * Environment, Project, or Secret). Tag * keys are case-sensitive.

  • An optional field known as a * tag value (for example, 111122223333, * Production, or a team name). Omitting the tag value is the * same as using an empty string. Like tag keys, tag values are * case-sensitive.

Together these are known as * key-value pairs.

The string used for a * key in a tag that you use to define your resource coverage must begin * with the prefix Devops-guru-. The tag key might be * DevOps-Guru-deployment-application or * devops-guru-rds-application. When you create a key, the case * of characters in the key can be whatever you choose. After you create a * key, it is case-sensitive. For example, DevOps Guru works with a * key named devops-guru-rds and a key named * DevOps-Guru-RDS, and these act as two different keys. * Possible key/value pairs in your application might be * Devops-Guru-production-application/RDS or * Devops-Guru-production-application/containers.

*/ inline void SetTags(Aws::Vector&& value) { m_tags = std::move(value); } /** *

The Amazon Web Services tags that are used by resources in the resource * collection.

Tags help you identify and organize your Amazon Web Services * resources. Many Amazon Web Services services support tagging, so you can assign * the same tag to resources from different services to indicate that the resources * are related. For example, you can assign the same tag to an Amazon DynamoDB * table resource that you assign to an Lambda function. For more information about * using tags, see the Tagging * best practices whitepaper.

Each Amazon Web Services tag has two * parts.

  • A tag key (for example, CostCenter, * Environment, Project, or Secret). Tag * keys are case-sensitive.

  • An optional field known as a * tag value (for example, 111122223333, * Production, or a team name). Omitting the tag value is the * same as using an empty string. Like tag keys, tag values are * case-sensitive.

Together these are known as * key-value pairs.

The string used for a * key in a tag that you use to define your resource coverage must begin * with the prefix Devops-guru-. The tag key might be * DevOps-Guru-deployment-application or * devops-guru-rds-application. When you create a key, the case * of characters in the key can be whatever you choose. After you create a * key, it is case-sensitive. For example, DevOps Guru works with a * key named devops-guru-rds and a key named * DevOps-Guru-RDS, and these act as two different keys. * Possible key/value pairs in your application might be * Devops-Guru-production-application/RDS or * Devops-Guru-production-application/containers.

*/ inline DescribeResourceCollectionHealthResult& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

The Amazon Web Services tags that are used by resources in the resource * collection.

Tags help you identify and organize your Amazon Web Services * resources. Many Amazon Web Services services support tagging, so you can assign * the same tag to resources from different services to indicate that the resources * are related. For example, you can assign the same tag to an Amazon DynamoDB * table resource that you assign to an Lambda function. For more information about * using tags, see the Tagging * best practices whitepaper.

Each Amazon Web Services tag has two * parts.

  • A tag key (for example, CostCenter, * Environment, Project, or Secret). Tag * keys are case-sensitive.

  • An optional field known as a * tag value (for example, 111122223333, * Production, or a team name). Omitting the tag value is the * same as using an empty string. Like tag keys, tag values are * case-sensitive.

Together these are known as * key-value pairs.

The string used for a * key in a tag that you use to define your resource coverage must begin * with the prefix Devops-guru-. The tag key might be * DevOps-Guru-deployment-application or * devops-guru-rds-application. When you create a key, the case * of characters in the key can be whatever you choose. After you create a * key, it is case-sensitive. For example, DevOps Guru works with a * key named devops-guru-rds and a key named * DevOps-Guru-RDS, and these act as two different keys. * Possible key/value pairs in your application might be * Devops-Guru-production-application/RDS or * Devops-Guru-production-application/containers.

*/ inline DescribeResourceCollectionHealthResult& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

The Amazon Web Services tags that are used by resources in the resource * collection.

Tags help you identify and organize your Amazon Web Services * resources. Many Amazon Web Services services support tagging, so you can assign * the same tag to resources from different services to indicate that the resources * are related. For example, you can assign the same tag to an Amazon DynamoDB * table resource that you assign to an Lambda function. For more information about * using tags, see the Tagging * best practices whitepaper.

Each Amazon Web Services tag has two * parts.

  • A tag key (for example, CostCenter, * Environment, Project, or Secret). Tag * keys are case-sensitive.

  • An optional field known as a * tag value (for example, 111122223333, * Production, or a team name). Omitting the tag value is the * same as using an empty string. Like tag keys, tag values are * case-sensitive.

Together these are known as * key-value pairs.

The string used for a * key in a tag that you use to define your resource coverage must begin * with the prefix Devops-guru-. The tag key might be * DevOps-Guru-deployment-application or * devops-guru-rds-application. When you create a key, the case * of characters in the key can be whatever you choose. After you create a * key, it is case-sensitive. For example, DevOps Guru works with a * key named devops-guru-rds and a key named * DevOps-Guru-RDS, and these act as two different keys. * Possible key/value pairs in your application might be * Devops-Guru-production-application/RDS or * Devops-Guru-production-application/containers.

*/ inline DescribeResourceCollectionHealthResult& AddTags(const TagHealth& value) { m_tags.push_back(value); return *this; } /** *

The Amazon Web Services tags that are used by resources in the resource * collection.

Tags help you identify and organize your Amazon Web Services * resources. Many Amazon Web Services services support tagging, so you can assign * the same tag to resources from different services to indicate that the resources * are related. For example, you can assign the same tag to an Amazon DynamoDB * table resource that you assign to an Lambda function. For more information about * using tags, see the Tagging * best practices whitepaper.

Each Amazon Web Services tag has two * parts.

  • A tag key (for example, CostCenter, * Environment, Project, or Secret). Tag * keys are case-sensitive.

  • An optional field known as a * tag value (for example, 111122223333, * Production, or a team name). Omitting the tag value is the * same as using an empty string. Like tag keys, tag values are * case-sensitive.

Together these are known as * key-value pairs.

The string used for a * key in a tag that you use to define your resource coverage must begin * with the prefix Devops-guru-. The tag key might be * DevOps-Guru-deployment-application or * devops-guru-rds-application. When you create a key, the case * of characters in the key can be whatever you choose. After you create a * key, it is case-sensitive. For example, DevOps Guru works with a * key named devops-guru-rds and a key named * DevOps-Guru-RDS, and these act as two different keys. * Possible key/value pairs in your application might be * Devops-Guru-production-application/RDS or * Devops-Guru-production-application/containers.

*/ inline DescribeResourceCollectionHealthResult& AddTags(TagHealth&& value) { m_tags.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeResourceCollectionHealthResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeResourceCollectionHealthResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeResourceCollectionHealthResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_cloudFormation; Aws::Vector m_service; Aws::String m_nextToken; Aws::Vector m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace DevOpsGuru } // namespace Aws