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

Contains detailed information about a framework. Frameworks contain controls, * which evaluate and report on your backup events and resources. Frameworks * generate daily compliance results.

See Also:

AWS * API Reference

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

The unique name of a framework. This name is between 1 and 256 characters, * starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and * underscores (_).

*/ inline const Aws::String& GetFrameworkName() const{ return m_frameworkName; } /** *

The unique name of a framework. This name is between 1 and 256 characters, * starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and * underscores (_).

*/ inline bool FrameworkNameHasBeenSet() const { return m_frameworkNameHasBeenSet; } /** *

The unique name of a framework. This name is between 1 and 256 characters, * starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and * underscores (_).

*/ inline void SetFrameworkName(const Aws::String& value) { m_frameworkNameHasBeenSet = true; m_frameworkName = value; } /** *

The unique name of a framework. This name is between 1 and 256 characters, * starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and * underscores (_).

*/ inline void SetFrameworkName(Aws::String&& value) { m_frameworkNameHasBeenSet = true; m_frameworkName = std::move(value); } /** *

The unique name of a framework. This name is between 1 and 256 characters, * starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and * underscores (_).

*/ inline void SetFrameworkName(const char* value) { m_frameworkNameHasBeenSet = true; m_frameworkName.assign(value); } /** *

The unique name of a framework. This name is between 1 and 256 characters, * starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and * underscores (_).

*/ inline Framework& WithFrameworkName(const Aws::String& value) { SetFrameworkName(value); return *this;} /** *

The unique name of a framework. This name is between 1 and 256 characters, * starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and * underscores (_).

*/ inline Framework& WithFrameworkName(Aws::String&& value) { SetFrameworkName(std::move(value)); return *this;} /** *

The unique name of a framework. This name is between 1 and 256 characters, * starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and * underscores (_).

*/ inline Framework& WithFrameworkName(const char* value) { SetFrameworkName(value); return *this;} /** *

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.

*/ inline const Aws::String& GetFrameworkArn() const{ return m_frameworkArn; } /** *

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.

*/ inline bool FrameworkArnHasBeenSet() const { return m_frameworkArnHasBeenSet; } /** *

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.

*/ inline void SetFrameworkArn(const Aws::String& value) { m_frameworkArnHasBeenSet = true; m_frameworkArn = value; } /** *

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.

*/ inline void SetFrameworkArn(Aws::String&& value) { m_frameworkArnHasBeenSet = true; m_frameworkArn = std::move(value); } /** *

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.

*/ inline void SetFrameworkArn(const char* value) { m_frameworkArnHasBeenSet = true; m_frameworkArn.assign(value); } /** *

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.

*/ inline Framework& WithFrameworkArn(const Aws::String& value) { SetFrameworkArn(value); return *this;} /** *

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.

*/ inline Framework& WithFrameworkArn(Aws::String&& value) { SetFrameworkArn(std::move(value)); return *this;} /** *

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.

*/ inline Framework& WithFrameworkArn(const char* value) { SetFrameworkArn(value); return *this;} /** *

An optional description of the framework with a maximum 1,024 characters.

*/ inline const Aws::String& GetFrameworkDescription() const{ return m_frameworkDescription; } /** *

An optional description of the framework with a maximum 1,024 characters.

*/ inline bool FrameworkDescriptionHasBeenSet() const { return m_frameworkDescriptionHasBeenSet; } /** *

An optional description of the framework with a maximum 1,024 characters.

*/ inline void SetFrameworkDescription(const Aws::String& value) { m_frameworkDescriptionHasBeenSet = true; m_frameworkDescription = value; } /** *

An optional description of the framework with a maximum 1,024 characters.

*/ inline void SetFrameworkDescription(Aws::String&& value) { m_frameworkDescriptionHasBeenSet = true; m_frameworkDescription = std::move(value); } /** *

An optional description of the framework with a maximum 1,024 characters.

*/ inline void SetFrameworkDescription(const char* value) { m_frameworkDescriptionHasBeenSet = true; m_frameworkDescription.assign(value); } /** *

An optional description of the framework with a maximum 1,024 characters.

*/ inline Framework& WithFrameworkDescription(const Aws::String& value) { SetFrameworkDescription(value); return *this;} /** *

An optional description of the framework with a maximum 1,024 characters.

*/ inline Framework& WithFrameworkDescription(Aws::String&& value) { SetFrameworkDescription(std::move(value)); return *this;} /** *

An optional description of the framework with a maximum 1,024 characters.

*/ inline Framework& WithFrameworkDescription(const char* value) { SetFrameworkDescription(value); return *this;} /** *

The number of controls contained by the framework.

*/ inline int GetNumberOfControls() const{ return m_numberOfControls; } /** *

The number of controls contained by the framework.

*/ inline bool NumberOfControlsHasBeenSet() const { return m_numberOfControlsHasBeenSet; } /** *

The number of controls contained by the framework.

*/ inline void SetNumberOfControls(int value) { m_numberOfControlsHasBeenSet = true; m_numberOfControls = value; } /** *

The number of controls contained by the framework.

*/ inline Framework& WithNumberOfControls(int value) { SetNumberOfControls(value); return *this;} /** *

The date and time that a framework is created, in ISO 8601 representation. * The value of CreationTime is accurate to milliseconds. For example, * 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00 PM 8 * hours behind UTC.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The date and time that a framework is created, in ISO 8601 representation. * The value of CreationTime is accurate to milliseconds. For example, * 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00 PM 8 * hours behind UTC.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The date and time that a framework is created, in ISO 8601 representation. * The value of CreationTime is accurate to milliseconds. For example, * 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00 PM 8 * hours behind UTC.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The date and time that a framework is created, in ISO 8601 representation. * The value of CreationTime is accurate to milliseconds. For example, * 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00 PM 8 * hours behind UTC.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The date and time that a framework is created, in ISO 8601 representation. * The value of CreationTime is accurate to milliseconds. For example, * 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00 PM 8 * hours behind UTC.

*/ inline Framework& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The date and time that a framework is created, in ISO 8601 representation. * The value of CreationTime is accurate to milliseconds. For example, * 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00 PM 8 * hours behind UTC.

*/ inline Framework& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The deployment status of a framework. The statuses are:

* CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | * FAILED

*/ inline const Aws::String& GetDeploymentStatus() const{ return m_deploymentStatus; } /** *

The deployment status of a framework. The statuses are:

* CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | * FAILED

*/ inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; } /** *

The deployment status of a framework. The statuses are:

* CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | * FAILED

*/ inline void SetDeploymentStatus(const Aws::String& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; } /** *

The deployment status of a framework. The statuses are:

* CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | * FAILED

*/ inline void SetDeploymentStatus(Aws::String&& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = std::move(value); } /** *

The deployment status of a framework. The statuses are:

* CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | * FAILED

*/ inline void SetDeploymentStatus(const char* value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus.assign(value); } /** *

The deployment status of a framework. The statuses are:

* CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | * FAILED

*/ inline Framework& WithDeploymentStatus(const Aws::String& value) { SetDeploymentStatus(value); return *this;} /** *

The deployment status of a framework. The statuses are:

* CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | * FAILED

*/ inline Framework& WithDeploymentStatus(Aws::String&& value) { SetDeploymentStatus(std::move(value)); return *this;} /** *

The deployment status of a framework. The statuses are:

* CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | * FAILED

*/ inline Framework& WithDeploymentStatus(const char* value) { SetDeploymentStatus(value); return *this;} private: Aws::String m_frameworkName; bool m_frameworkNameHasBeenSet = false; Aws::String m_frameworkArn; bool m_frameworkArnHasBeenSet = false; Aws::String m_frameworkDescription; bool m_frameworkDescriptionHasBeenSet = false; int m_numberOfControls; bool m_numberOfControlsHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::String m_deploymentStatus; bool m_deploymentStatusHasBeenSet = false; }; } // namespace Model } // namespace Backup } // namespace Aws