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

Status details of a conformance pack.

See Also:

AWS * API Reference

*/ class ConformancePackStatusDetail { public: AWS_CONFIGSERVICE_API ConformancePackStatusDetail(); AWS_CONFIGSERVICE_API ConformancePackStatusDetail(Aws::Utils::Json::JsonView jsonValue); AWS_CONFIGSERVICE_API ConformancePackStatusDetail& 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 ConformancePackStatusDetail& WithConformancePackName(const Aws::String& value) { SetConformancePackName(value); return *this;} /** *

Name of the conformance pack.

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

Name of the conformance pack.

*/ inline ConformancePackStatusDetail& WithConformancePackName(const char* value) { SetConformancePackName(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 ConformancePackStatusDetail& WithConformancePackId(const Aws::String& value) { SetConformancePackId(value); return *this;} /** *

ID of the conformance pack.

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

ID of the conformance pack.

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

Amazon Resource Name (ARN) of comformance pack.

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

Amazon Resource Name (ARN) of comformance pack.

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

Amazon Resource Name (ARN) of comformance pack.

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

Amazon Resource Name (ARN) of comformance pack.

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

Amazon Resource Name (ARN) of comformance pack.

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

Amazon Resource Name (ARN) of comformance pack.

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

Amazon Resource Name (ARN) of comformance pack.

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

Amazon Resource Name (ARN) of comformance pack.

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

Indicates deployment status of conformance pack.

Config sets the state * of the conformance pack to:

  • CREATE_IN_PROGRESS when a * conformance pack creation is in progress for an account.

  • *

    CREATE_COMPLETE when a conformance pack has been successfully created in your * account.

  • CREATE_FAILED when a conformance pack creation failed * in your account.

  • DELETE_IN_PROGRESS when a conformance pack * deletion is in progress.

  • DELETE_FAILED when a conformance * pack deletion failed in your account.

*/ inline const ConformancePackState& GetConformancePackState() const{ return m_conformancePackState; } /** *

Indicates deployment status of conformance pack.

Config sets the state * of the conformance pack to:

  • CREATE_IN_PROGRESS when a * conformance pack creation is in progress for an account.

  • *

    CREATE_COMPLETE when a conformance pack has been successfully created in your * account.

  • CREATE_FAILED when a conformance pack creation failed * in your account.

  • DELETE_IN_PROGRESS when a conformance pack * deletion is in progress.

  • DELETE_FAILED when a conformance * pack deletion failed in your account.

*/ inline bool ConformancePackStateHasBeenSet() const { return m_conformancePackStateHasBeenSet; } /** *

Indicates deployment status of conformance pack.

Config sets the state * of the conformance pack to:

  • CREATE_IN_PROGRESS when a * conformance pack creation is in progress for an account.

  • *

    CREATE_COMPLETE when a conformance pack has been successfully created in your * account.

  • CREATE_FAILED when a conformance pack creation failed * in your account.

  • DELETE_IN_PROGRESS when a conformance pack * deletion is in progress.

  • DELETE_FAILED when a conformance * pack deletion failed in your account.

*/ inline void SetConformancePackState(const ConformancePackState& value) { m_conformancePackStateHasBeenSet = true; m_conformancePackState = value; } /** *

Indicates deployment status of conformance pack.

Config sets the state * of the conformance pack to:

  • CREATE_IN_PROGRESS when a * conformance pack creation is in progress for an account.

  • *

    CREATE_COMPLETE when a conformance pack has been successfully created in your * account.

  • CREATE_FAILED when a conformance pack creation failed * in your account.

  • DELETE_IN_PROGRESS when a conformance pack * deletion is in progress.

  • DELETE_FAILED when a conformance * pack deletion failed in your account.

*/ inline void SetConformancePackState(ConformancePackState&& value) { m_conformancePackStateHasBeenSet = true; m_conformancePackState = std::move(value); } /** *

Indicates deployment status of conformance pack.

Config sets the state * of the conformance pack to:

  • CREATE_IN_PROGRESS when a * conformance pack creation is in progress for an account.

  • *

    CREATE_COMPLETE when a conformance pack has been successfully created in your * account.

  • CREATE_FAILED when a conformance pack creation failed * in your account.

  • DELETE_IN_PROGRESS when a conformance pack * deletion is in progress.

  • DELETE_FAILED when a conformance * pack deletion failed in your account.

*/ inline ConformancePackStatusDetail& WithConformancePackState(const ConformancePackState& value) { SetConformancePackState(value); return *this;} /** *

Indicates deployment status of conformance pack.

Config sets the state * of the conformance pack to:

  • CREATE_IN_PROGRESS when a * conformance pack creation is in progress for an account.

  • *

    CREATE_COMPLETE when a conformance pack has been successfully created in your * account.

  • CREATE_FAILED when a conformance pack creation failed * in your account.

  • DELETE_IN_PROGRESS when a conformance pack * deletion is in progress.

  • DELETE_FAILED when a conformance * pack deletion failed in your account.

*/ inline ConformancePackStatusDetail& WithConformancePackState(ConformancePackState&& value) { SetConformancePackState(std::move(value)); return *this;} /** *

Amazon Resource Name (ARN) of CloudFormation stack.

*/ inline const Aws::String& GetStackArn() const{ return m_stackArn; } /** *

Amazon Resource Name (ARN) of CloudFormation stack.

*/ inline bool StackArnHasBeenSet() const { return m_stackArnHasBeenSet; } /** *

Amazon Resource Name (ARN) of CloudFormation stack.

*/ inline void SetStackArn(const Aws::String& value) { m_stackArnHasBeenSet = true; m_stackArn = value; } /** *

Amazon Resource Name (ARN) of CloudFormation stack.

*/ inline void SetStackArn(Aws::String&& value) { m_stackArnHasBeenSet = true; m_stackArn = std::move(value); } /** *

Amazon Resource Name (ARN) of CloudFormation stack.

*/ inline void SetStackArn(const char* value) { m_stackArnHasBeenSet = true; m_stackArn.assign(value); } /** *

Amazon Resource Name (ARN) of CloudFormation stack.

*/ inline ConformancePackStatusDetail& WithStackArn(const Aws::String& value) { SetStackArn(value); return *this;} /** *

Amazon Resource Name (ARN) of CloudFormation stack.

*/ inline ConformancePackStatusDetail& WithStackArn(Aws::String&& value) { SetStackArn(std::move(value)); return *this;} /** *

Amazon Resource Name (ARN) of CloudFormation stack.

*/ inline ConformancePackStatusDetail& WithStackArn(const char* value) { SetStackArn(value); return *this;} /** *

The reason of conformance pack creation failure.

*/ inline const Aws::String& GetConformancePackStatusReason() const{ return m_conformancePackStatusReason; } /** *

The reason of conformance pack creation failure.

*/ inline bool ConformancePackStatusReasonHasBeenSet() const { return m_conformancePackStatusReasonHasBeenSet; } /** *

The reason of conformance pack creation failure.

*/ inline void SetConformancePackStatusReason(const Aws::String& value) { m_conformancePackStatusReasonHasBeenSet = true; m_conformancePackStatusReason = value; } /** *

The reason of conformance pack creation failure.

*/ inline void SetConformancePackStatusReason(Aws::String&& value) { m_conformancePackStatusReasonHasBeenSet = true; m_conformancePackStatusReason = std::move(value); } /** *

The reason of conformance pack creation failure.

*/ inline void SetConformancePackStatusReason(const char* value) { m_conformancePackStatusReasonHasBeenSet = true; m_conformancePackStatusReason.assign(value); } /** *

The reason of conformance pack creation failure.

*/ inline ConformancePackStatusDetail& WithConformancePackStatusReason(const Aws::String& value) { SetConformancePackStatusReason(value); return *this;} /** *

The reason of conformance pack creation failure.

*/ inline ConformancePackStatusDetail& WithConformancePackStatusReason(Aws::String&& value) { SetConformancePackStatusReason(std::move(value)); return *this;} /** *

The reason of conformance pack creation failure.

*/ inline ConformancePackStatusDetail& WithConformancePackStatusReason(const char* value) { SetConformancePackStatusReason(value); return *this;} /** *

Last time when conformation pack creation and update was requested.

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

Last time when conformation pack creation and update was requested.

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

Last time when conformation pack creation and update was requested.

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

Last time when conformation pack creation and update was requested.

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

Last time when conformation pack creation and update was requested.

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

Last time when conformation pack creation and update was requested.

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

Last time when conformation pack creation and update was successful.

*/ inline const Aws::Utils::DateTime& GetLastUpdateCompletedTime() const{ return m_lastUpdateCompletedTime; } /** *

Last time when conformation pack creation and update was successful.

*/ inline bool LastUpdateCompletedTimeHasBeenSet() const { return m_lastUpdateCompletedTimeHasBeenSet; } /** *

Last time when conformation pack creation and update was successful.

*/ inline void SetLastUpdateCompletedTime(const Aws::Utils::DateTime& value) { m_lastUpdateCompletedTimeHasBeenSet = true; m_lastUpdateCompletedTime = value; } /** *

Last time when conformation pack creation and update was successful.

*/ inline void SetLastUpdateCompletedTime(Aws::Utils::DateTime&& value) { m_lastUpdateCompletedTimeHasBeenSet = true; m_lastUpdateCompletedTime = std::move(value); } /** *

Last time when conformation pack creation and update was successful.

*/ inline ConformancePackStatusDetail& WithLastUpdateCompletedTime(const Aws::Utils::DateTime& value) { SetLastUpdateCompletedTime(value); return *this;} /** *

Last time when conformation pack creation and update was successful.

*/ inline ConformancePackStatusDetail& WithLastUpdateCompletedTime(Aws::Utils::DateTime&& value) { SetLastUpdateCompletedTime(std::move(value)); return *this;} private: Aws::String m_conformancePackName; bool m_conformancePackNameHasBeenSet = false; Aws::String m_conformancePackId; bool m_conformancePackIdHasBeenSet = false; Aws::String m_conformancePackArn; bool m_conformancePackArnHasBeenSet = false; ConformancePackState m_conformancePackState; bool m_conformancePackStateHasBeenSet = false; Aws::String m_stackArn; bool m_stackArnHasBeenSet = false; Aws::String m_conformancePackStatusReason; bool m_conformancePackStatusReasonHasBeenSet = false; Aws::Utils::DateTime m_lastUpdateRequestedTime; bool m_lastUpdateRequestedTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdateCompletedTime; bool m_lastUpdateCompletedTimeHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws