/** * 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 #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DevOpsGuru { namespace Model { class DescribeOrganizationResourceCollectionHealthResult { public: AWS_DEVOPSGURU_API DescribeOrganizationResourceCollectionHealthResult(); AWS_DEVOPSGURU_API DescribeOrganizationResourceCollectionHealthResult(const Aws::AmazonWebServiceResult& result); AWS_DEVOPSGURU_API DescribeOrganizationResourceCollectionHealthResult& 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 DescribeOrganizationResourceCollectionHealthResult& 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 DescribeOrganizationResourceCollectionHealthResult& 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 DescribeOrganizationResourceCollectionHealthResult& 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 DescribeOrganizationResourceCollectionHealthResult& 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 DescribeOrganizationResourceCollectionHealthResult& 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 DescribeOrganizationResourceCollectionHealthResult& 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 DescribeOrganizationResourceCollectionHealthResult& 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 DescribeOrganizationResourceCollectionHealthResult& AddService(ServiceHealth&& value) { m_service.push_back(std::move(value)); return *this; } /** *

The name of the organization's account.

*/ inline const Aws::Vector& GetAccount() const{ return m_account; } /** *

The name of the organization's account.

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

The name of the organization's account.

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

The name of the organization's account.

*/ inline DescribeOrganizationResourceCollectionHealthResult& WithAccount(const Aws::Vector& value) { SetAccount(value); return *this;} /** *

The name of the organization's account.

*/ inline DescribeOrganizationResourceCollectionHealthResult& WithAccount(Aws::Vector&& value) { SetAccount(std::move(value)); return *this;} /** *

The name of the organization's account.

*/ inline DescribeOrganizationResourceCollectionHealthResult& AddAccount(const AccountHealth& value) { m_account.push_back(value); return *this; } /** *

The name of the organization's account.

*/ inline DescribeOrganizationResourceCollectionHealthResult& AddAccount(AccountHealth&& value) { m_account.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 DescribeOrganizationResourceCollectionHealthResult& 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 DescribeOrganizationResourceCollectionHealthResult& 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 DescribeOrganizationResourceCollectionHealthResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

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; } /** *

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; } /** *

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); } /** *

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 DescribeOrganizationResourceCollectionHealthResult& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

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 DescribeOrganizationResourceCollectionHealthResult& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

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 DescribeOrganizationResourceCollectionHealthResult& AddTags(const TagHealth& value) { m_tags.push_back(value); return *this; } /** *

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 DescribeOrganizationResourceCollectionHealthResult& 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 DescribeOrganizationResourceCollectionHealthResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeOrganizationResourceCollectionHealthResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeOrganizationResourceCollectionHealthResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_cloudFormation; Aws::Vector m_service; Aws::Vector m_account; Aws::String m_nextToken; Aws::Vector m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace DevOpsGuru } // namespace Aws