/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ConfigService { namespace Model { /** *

Returns details of a conformance pack. A conformance pack is a collection of * Config rules and remediation actions that can be easily deployed in an account * and a region.

See Also:

AWS * API Reference

*/ class ConformancePackDetail { public: AWS_CONFIGSERVICE_API ConformancePackDetail(); AWS_CONFIGSERVICE_API ConformancePackDetail(Aws::Utils::Json::JsonView jsonValue); AWS_CONFIGSERVICE_API ConformancePackDetail& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Name of the conformance pack.

*/ inline const Aws::String& GetConformancePackName() const{ return m_conformancePackName; } /** *

Name of the conformance pack.

*/ inline bool ConformancePackNameHasBeenSet() const { return m_conformancePackNameHasBeenSet; } /** *

Name of the conformance pack.

*/ inline void SetConformancePackName(const Aws::String& value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName = value; } /** *

Name of the conformance pack.

*/ inline void SetConformancePackName(Aws::String&& value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName = std::move(value); } /** *

Name of the conformance pack.

*/ inline void SetConformancePackName(const char* value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName.assign(value); } /** *

Name of the conformance pack.

*/ inline ConformancePackDetail& WithConformancePackName(const Aws::String& value) { SetConformancePackName(value); return *this;} /** *

Name of the conformance pack.

*/ inline ConformancePackDetail& WithConformancePackName(Aws::String&& value) { SetConformancePackName(std::move(value)); return *this;} /** *

Name of the conformance pack.

*/ inline ConformancePackDetail& WithConformancePackName(const char* value) { SetConformancePackName(value); return *this;} /** *

Amazon Resource Name (ARN) of the conformance pack.

*/ inline const Aws::String& GetConformancePackArn() const{ return m_conformancePackArn; } /** *

Amazon Resource Name (ARN) of the conformance pack.

*/ inline bool ConformancePackArnHasBeenSet() const { return m_conformancePackArnHasBeenSet; } /** *

Amazon Resource Name (ARN) of the conformance pack.

*/ inline void SetConformancePackArn(const Aws::String& value) { m_conformancePackArnHasBeenSet = true; m_conformancePackArn = value; } /** *

Amazon Resource Name (ARN) of the conformance pack.

*/ inline void SetConformancePackArn(Aws::String&& value) { m_conformancePackArnHasBeenSet = true; m_conformancePackArn = std::move(value); } /** *

Amazon Resource Name (ARN) of the conformance pack.

*/ inline void SetConformancePackArn(const char* value) { m_conformancePackArnHasBeenSet = true; m_conformancePackArn.assign(value); } /** *

Amazon Resource Name (ARN) of the conformance pack.

*/ inline ConformancePackDetail& WithConformancePackArn(const Aws::String& value) { SetConformancePackArn(value); return *this;} /** *

Amazon Resource Name (ARN) of the conformance pack.

*/ inline ConformancePackDetail& WithConformancePackArn(Aws::String&& value) { SetConformancePackArn(std::move(value)); return *this;} /** *

Amazon Resource Name (ARN) of the conformance pack.

*/ inline ConformancePackDetail& WithConformancePackArn(const char* value) { SetConformancePackArn(value); return *this;} /** *

ID of the conformance pack.

*/ inline const Aws::String& GetConformancePackId() const{ return m_conformancePackId; } /** *

ID of the conformance pack.

*/ inline bool ConformancePackIdHasBeenSet() const { return m_conformancePackIdHasBeenSet; } /** *

ID of the conformance pack.

*/ inline void SetConformancePackId(const Aws::String& value) { m_conformancePackIdHasBeenSet = true; m_conformancePackId = value; } /** *

ID of the conformance pack.

*/ inline void SetConformancePackId(Aws::String&& value) { m_conformancePackIdHasBeenSet = true; m_conformancePackId = std::move(value); } /** *

ID of the conformance pack.

*/ inline void SetConformancePackId(const char* value) { m_conformancePackIdHasBeenSet = true; m_conformancePackId.assign(value); } /** *

ID of the conformance pack.

*/ inline ConformancePackDetail& WithConformancePackId(const Aws::String& value) { SetConformancePackId(value); return *this;} /** *

ID of the conformance pack.

*/ inline ConformancePackDetail& WithConformancePackId(Aws::String&& value) { SetConformancePackId(std::move(value)); return *this;} /** *

ID of the conformance pack.

*/ inline ConformancePackDetail& WithConformancePackId(const char* value) { SetConformancePackId(value); return *this;} /** *

The name of the Amazon S3 bucket where Config stores conformance pack * templates.

This field is optional.

*/ inline const Aws::String& GetDeliveryS3Bucket() const{ return m_deliveryS3Bucket; } /** *

The name of the Amazon S3 bucket where Config stores conformance pack * templates.

This field is optional.

*/ inline bool DeliveryS3BucketHasBeenSet() const { return m_deliveryS3BucketHasBeenSet; } /** *

The name of the Amazon S3 bucket where Config stores conformance pack * templates.

This field is optional.

*/ inline void SetDeliveryS3Bucket(const Aws::String& value) { m_deliveryS3BucketHasBeenSet = true; m_deliveryS3Bucket = value; } /** *

The name of the Amazon S3 bucket where Config stores conformance pack * templates.

This field is optional.

*/ inline void SetDeliveryS3Bucket(Aws::String&& value) { m_deliveryS3BucketHasBeenSet = true; m_deliveryS3Bucket = std::move(value); } /** *

The name of the Amazon S3 bucket where Config stores conformance pack * templates.

This field is optional.

*/ inline void SetDeliveryS3Bucket(const char* value) { m_deliveryS3BucketHasBeenSet = true; m_deliveryS3Bucket.assign(value); } /** *

The name of the Amazon S3 bucket where Config stores conformance pack * templates.

This field is optional.

*/ inline ConformancePackDetail& WithDeliveryS3Bucket(const Aws::String& value) { SetDeliveryS3Bucket(value); return *this;} /** *

The name of the Amazon S3 bucket where Config stores conformance pack * templates.

This field is optional.

*/ inline ConformancePackDetail& WithDeliveryS3Bucket(Aws::String&& value) { SetDeliveryS3Bucket(std::move(value)); return *this;} /** *

The name of the Amazon S3 bucket where Config stores conformance pack * templates.

This field is optional.

*/ inline ConformancePackDetail& WithDeliveryS3Bucket(const char* value) { SetDeliveryS3Bucket(value); return *this;} /** *

The prefix for the Amazon S3 bucket.

This field is * optional.

*/ inline const Aws::String& GetDeliveryS3KeyPrefix() const{ return m_deliveryS3KeyPrefix; } /** *

The prefix for the Amazon S3 bucket.

This field is * optional.

*/ inline bool DeliveryS3KeyPrefixHasBeenSet() const { return m_deliveryS3KeyPrefixHasBeenSet; } /** *

The prefix for the Amazon S3 bucket.

This field is * optional.

*/ inline void SetDeliveryS3KeyPrefix(const Aws::String& value) { m_deliveryS3KeyPrefixHasBeenSet = true; m_deliveryS3KeyPrefix = value; } /** *

The prefix for the Amazon S3 bucket.

This field is * optional.

*/ inline void SetDeliveryS3KeyPrefix(Aws::String&& value) { m_deliveryS3KeyPrefixHasBeenSet = true; m_deliveryS3KeyPrefix = std::move(value); } /** *

The prefix for the Amazon S3 bucket.

This field is * optional.

*/ inline void SetDeliveryS3KeyPrefix(const char* value) { m_deliveryS3KeyPrefixHasBeenSet = true; m_deliveryS3KeyPrefix.assign(value); } /** *

The prefix for the Amazon S3 bucket.

This field is * optional.

*/ inline ConformancePackDetail& WithDeliveryS3KeyPrefix(const Aws::String& value) { SetDeliveryS3KeyPrefix(value); return *this;} /** *

The prefix for the Amazon S3 bucket.

This field is * optional.

*/ inline ConformancePackDetail& WithDeliveryS3KeyPrefix(Aws::String&& value) { SetDeliveryS3KeyPrefix(std::move(value)); return *this;} /** *

The prefix for the Amazon S3 bucket.

This field is * optional.

*/ inline ConformancePackDetail& WithDeliveryS3KeyPrefix(const char* value) { SetDeliveryS3KeyPrefix(value); return *this;} /** *

A list of ConformancePackInputParameter objects.

*/ inline const Aws::Vector& GetConformancePackInputParameters() const{ return m_conformancePackInputParameters; } /** *

A list of ConformancePackInputParameter objects.

*/ inline bool ConformancePackInputParametersHasBeenSet() const { return m_conformancePackInputParametersHasBeenSet; } /** *

A list of ConformancePackInputParameter objects.

*/ inline void SetConformancePackInputParameters(const Aws::Vector& value) { m_conformancePackInputParametersHasBeenSet = true; m_conformancePackInputParameters = value; } /** *

A list of ConformancePackInputParameter objects.

*/ inline void SetConformancePackInputParameters(Aws::Vector&& value) { m_conformancePackInputParametersHasBeenSet = true; m_conformancePackInputParameters = std::move(value); } /** *

A list of ConformancePackInputParameter objects.

*/ inline ConformancePackDetail& WithConformancePackInputParameters(const Aws::Vector& value) { SetConformancePackInputParameters(value); return *this;} /** *

A list of ConformancePackInputParameter objects.

*/ inline ConformancePackDetail& WithConformancePackInputParameters(Aws::Vector&& value) { SetConformancePackInputParameters(std::move(value)); return *this;} /** *

A list of ConformancePackInputParameter objects.

*/ inline ConformancePackDetail& AddConformancePackInputParameters(const ConformancePackInputParameter& value) { m_conformancePackInputParametersHasBeenSet = true; m_conformancePackInputParameters.push_back(value); return *this; } /** *

A list of ConformancePackInputParameter objects.

*/ inline ConformancePackDetail& AddConformancePackInputParameters(ConformancePackInputParameter&& value) { m_conformancePackInputParametersHasBeenSet = true; m_conformancePackInputParameters.push_back(std::move(value)); return *this; } /** *

The last time a conformation pack update was requested.

*/ inline const Aws::Utils::DateTime& GetLastUpdateRequestedTime() const{ return m_lastUpdateRequestedTime; } /** *

The last time a conformation pack update was requested.

*/ inline bool LastUpdateRequestedTimeHasBeenSet() const { return m_lastUpdateRequestedTimeHasBeenSet; } /** *

The last time a conformation pack update was requested.

*/ inline void SetLastUpdateRequestedTime(const Aws::Utils::DateTime& value) { m_lastUpdateRequestedTimeHasBeenSet = true; m_lastUpdateRequestedTime = value; } /** *

The last time a conformation pack update was requested.

*/ inline void SetLastUpdateRequestedTime(Aws::Utils::DateTime&& value) { m_lastUpdateRequestedTimeHasBeenSet = true; m_lastUpdateRequestedTime = std::move(value); } /** *

The last time a conformation pack update was requested.

*/ inline ConformancePackDetail& WithLastUpdateRequestedTime(const Aws::Utils::DateTime& value) { SetLastUpdateRequestedTime(value); return *this;} /** *

The last time a conformation pack update was requested.

*/ inline ConformancePackDetail& WithLastUpdateRequestedTime(Aws::Utils::DateTime&& value) { SetLastUpdateRequestedTime(std::move(value)); return *this;} /** *

The Amazon Web Services service that created the conformance pack.

*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *

The Amazon Web Services service that created the conformance pack.

*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *

The Amazon Web Services service that created the conformance pack.

*/ inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *

The Amazon Web Services service that created the conformance pack.

*/ inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *

The Amazon Web Services service that created the conformance pack.

*/ inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } /** *

The Amazon Web Services service that created the conformance pack.

*/ inline ConformancePackDetail& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *

The Amazon Web Services service that created the conformance pack.

*/ inline ConformancePackDetail& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *

The Amazon Web Services service that created the conformance pack.

*/ inline ConformancePackDetail& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} /** *

An object that contains the name or Amazon Resource Name (ARN) of the Amazon * Web Services Systems Manager document (SSM document) and the version of the SSM * document that is used to create a conformance pack.

*/ inline const TemplateSSMDocumentDetails& GetTemplateSSMDocumentDetails() const{ return m_templateSSMDocumentDetails; } /** *

An object that contains the name or Amazon Resource Name (ARN) of the Amazon * Web Services Systems Manager document (SSM document) and the version of the SSM * document that is used to create a conformance pack.

*/ inline bool TemplateSSMDocumentDetailsHasBeenSet() const { return m_templateSSMDocumentDetailsHasBeenSet; } /** *

An object that contains the name or Amazon Resource Name (ARN) of the Amazon * Web Services Systems Manager document (SSM document) and the version of the SSM * document that is used to create a conformance pack.

*/ inline void SetTemplateSSMDocumentDetails(const TemplateSSMDocumentDetails& value) { m_templateSSMDocumentDetailsHasBeenSet = true; m_templateSSMDocumentDetails = value; } /** *

An object that contains the name or Amazon Resource Name (ARN) of the Amazon * Web Services Systems Manager document (SSM document) and the version of the SSM * document that is used to create a conformance pack.

*/ inline void SetTemplateSSMDocumentDetails(TemplateSSMDocumentDetails&& value) { m_templateSSMDocumentDetailsHasBeenSet = true; m_templateSSMDocumentDetails = std::move(value); } /** *

An object that contains the name or Amazon Resource Name (ARN) of the Amazon * Web Services Systems Manager document (SSM document) and the version of the SSM * document that is used to create a conformance pack.

*/ inline ConformancePackDetail& WithTemplateSSMDocumentDetails(const TemplateSSMDocumentDetails& value) { SetTemplateSSMDocumentDetails(value); return *this;} /** *

An object that contains the name or Amazon Resource Name (ARN) of the Amazon * Web Services Systems Manager document (SSM document) and the version of the SSM * document that is used to create a conformance pack.

*/ inline ConformancePackDetail& WithTemplateSSMDocumentDetails(TemplateSSMDocumentDetails&& value) { SetTemplateSSMDocumentDetails(std::move(value)); return *this;} private: Aws::String m_conformancePackName; bool m_conformancePackNameHasBeenSet = false; Aws::String m_conformancePackArn; bool m_conformancePackArnHasBeenSet = false; Aws::String m_conformancePackId; bool m_conformancePackIdHasBeenSet = false; Aws::String m_deliveryS3Bucket; bool m_deliveryS3BucketHasBeenSet = false; Aws::String m_deliveryS3KeyPrefix; bool m_deliveryS3KeyPrefixHasBeenSet = false; Aws::Vector m_conformancePackInputParameters; bool m_conformancePackInputParametersHasBeenSet = false; Aws::Utils::DateTime m_lastUpdateRequestedTime; bool m_lastUpdateRequestedTimeHasBeenSet = false; Aws::String m_createdBy; bool m_createdByHasBeenSet = false; TemplateSSMDocumentDetails m_templateSSMDocumentDetails; bool m_templateSSMDocumentDetailsHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws