/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ConfigService { namespace Model { /** *

An organization conformance pack that has information about conformance packs * that Config creates in member accounts.

See Also:

AWS * API Reference

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

The name you assign to an organization conformance pack.

*/ inline const Aws::String& GetOrganizationConformancePackName() const{ return m_organizationConformancePackName; } /** *

The name you assign to an organization conformance pack.

*/ inline bool OrganizationConformancePackNameHasBeenSet() const { return m_organizationConformancePackNameHasBeenSet; } /** *

The name you assign to an organization conformance pack.

*/ inline void SetOrganizationConformancePackName(const Aws::String& value) { m_organizationConformancePackNameHasBeenSet = true; m_organizationConformancePackName = value; } /** *

The name you assign to an organization conformance pack.

*/ inline void SetOrganizationConformancePackName(Aws::String&& value) { m_organizationConformancePackNameHasBeenSet = true; m_organizationConformancePackName = std::move(value); } /** *

The name you assign to an organization conformance pack.

*/ inline void SetOrganizationConformancePackName(const char* value) { m_organizationConformancePackNameHasBeenSet = true; m_organizationConformancePackName.assign(value); } /** *

The name you assign to an organization conformance pack.

*/ inline OrganizationConformancePack& WithOrganizationConformancePackName(const Aws::String& value) { SetOrganizationConformancePackName(value); return *this;} /** *

The name you assign to an organization conformance pack.

*/ inline OrganizationConformancePack& WithOrganizationConformancePackName(Aws::String&& value) { SetOrganizationConformancePackName(std::move(value)); return *this;} /** *

The name you assign to an organization conformance pack.

*/ inline OrganizationConformancePack& WithOrganizationConformancePackName(const char* value) { SetOrganizationConformancePackName(value); return *this;} /** *

Amazon Resource Name (ARN) of organization conformance pack.

*/ inline const Aws::String& GetOrganizationConformancePackArn() const{ return m_organizationConformancePackArn; } /** *

Amazon Resource Name (ARN) of organization conformance pack.

*/ inline bool OrganizationConformancePackArnHasBeenSet() const { return m_organizationConformancePackArnHasBeenSet; } /** *

Amazon Resource Name (ARN) of organization conformance pack.

*/ inline void SetOrganizationConformancePackArn(const Aws::String& value) { m_organizationConformancePackArnHasBeenSet = true; m_organizationConformancePackArn = value; } /** *

Amazon Resource Name (ARN) of organization conformance pack.

*/ inline void SetOrganizationConformancePackArn(Aws::String&& value) { m_organizationConformancePackArnHasBeenSet = true; m_organizationConformancePackArn = std::move(value); } /** *

Amazon Resource Name (ARN) of organization conformance pack.

*/ inline void SetOrganizationConformancePackArn(const char* value) { m_organizationConformancePackArnHasBeenSet = true; m_organizationConformancePackArn.assign(value); } /** *

Amazon Resource Name (ARN) of organization conformance pack.

*/ inline OrganizationConformancePack& WithOrganizationConformancePackArn(const Aws::String& value) { SetOrganizationConformancePackArn(value); return *this;} /** *

Amazon Resource Name (ARN) of organization conformance pack.

*/ inline OrganizationConformancePack& WithOrganizationConformancePackArn(Aws::String&& value) { SetOrganizationConformancePackArn(std::move(value)); return *this;} /** *

Amazon Resource Name (ARN) of organization conformance pack.

*/ inline OrganizationConformancePack& WithOrganizationConformancePackArn(const char* value) { SetOrganizationConformancePackArn(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 OrganizationConformancePack& 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 OrganizationConformancePack& 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 OrganizationConformancePack& WithDeliveryS3Bucket(const char* value) { SetDeliveryS3Bucket(value); return *this;} /** *

Any folder structure you want to add to an Amazon S3 bucket.

*

This field is optional.

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

Any folder structure you want to add to an Amazon S3 bucket.

*

This field is optional.

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

Any folder structure you want to add to an Amazon S3 bucket.

*

This field is optional.

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

Any folder structure you want to add to an Amazon S3 bucket.

*

This field is optional.

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

Any folder structure you want to add to an Amazon S3 bucket.

*

This field is optional.

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

Any folder structure you want to add to an Amazon S3 bucket.

*

This field is optional.

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

Any folder structure you want to add to an Amazon S3 bucket.

*

This field is optional.

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

Any folder structure you want to add to an Amazon S3 bucket.

*

This field is optional.

*/ inline OrganizationConformancePack& 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 OrganizationConformancePack& WithConformancePackInputParameters(const Aws::Vector& value) { SetConformancePackInputParameters(value); return *this;} /** *

A list of ConformancePackInputParameter objects.

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

A list of ConformancePackInputParameter objects.

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

A list of ConformancePackInputParameter objects.

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

A comma-separated list of accounts excluded from organization conformance * pack.

*/ inline const Aws::Vector& GetExcludedAccounts() const{ return m_excludedAccounts; } /** *

A comma-separated list of accounts excluded from organization conformance * pack.

*/ inline bool ExcludedAccountsHasBeenSet() const { return m_excludedAccountsHasBeenSet; } /** *

A comma-separated list of accounts excluded from organization conformance * pack.

*/ inline void SetExcludedAccounts(const Aws::Vector& value) { m_excludedAccountsHasBeenSet = true; m_excludedAccounts = value; } /** *

A comma-separated list of accounts excluded from organization conformance * pack.

*/ inline void SetExcludedAccounts(Aws::Vector&& value) { m_excludedAccountsHasBeenSet = true; m_excludedAccounts = std::move(value); } /** *

A comma-separated list of accounts excluded from organization conformance * pack.

*/ inline OrganizationConformancePack& WithExcludedAccounts(const Aws::Vector& value) { SetExcludedAccounts(value); return *this;} /** *

A comma-separated list of accounts excluded from organization conformance * pack.

*/ inline OrganizationConformancePack& WithExcludedAccounts(Aws::Vector&& value) { SetExcludedAccounts(std::move(value)); return *this;} /** *

A comma-separated list of accounts excluded from organization conformance * pack.

*/ inline OrganizationConformancePack& AddExcludedAccounts(const Aws::String& value) { m_excludedAccountsHasBeenSet = true; m_excludedAccounts.push_back(value); return *this; } /** *

A comma-separated list of accounts excluded from organization conformance * pack.

*/ inline OrganizationConformancePack& AddExcludedAccounts(Aws::String&& value) { m_excludedAccountsHasBeenSet = true; m_excludedAccounts.push_back(std::move(value)); return *this; } /** *

A comma-separated list of accounts excluded from organization conformance * pack.

*/ inline OrganizationConformancePack& AddExcludedAccounts(const char* value) { m_excludedAccountsHasBeenSet = true; m_excludedAccounts.push_back(value); return *this; } /** *

Last time when organization conformation pack was updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; } /** *

Last time when organization conformation pack was updated.

*/ inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; } /** *

Last time when organization conformation pack was updated.

*/ inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; } /** *

Last time when organization conformation pack was updated.

*/ inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); } /** *

Last time when organization conformation pack was updated.

*/ inline OrganizationConformancePack& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *

Last time when organization conformation pack was updated.

*/ inline OrganizationConformancePack& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;} private: Aws::String m_organizationConformancePackName; bool m_organizationConformancePackNameHasBeenSet = false; Aws::String m_organizationConformancePackArn; bool m_organizationConformancePackArnHasBeenSet = 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::Vector m_excludedAccounts; bool m_excludedAccountsHasBeenSet = false; Aws::Utils::DateTime m_lastUpdateTime; bool m_lastUpdateTimeHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws