/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Backup { namespace Model { class CreateReportPlanResult { public: AWS_BACKUP_API CreateReportPlanResult(); AWS_BACKUP_API CreateReportPlanResult(const Aws::AmazonWebServiceResult& result); AWS_BACKUP_API CreateReportPlanResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique name of the report plan.

*/ inline const Aws::String& GetReportPlanName() const{ return m_reportPlanName; } /** *

The unique name of the report plan.

*/ inline void SetReportPlanName(const Aws::String& value) { m_reportPlanName = value; } /** *

The unique name of the report plan.

*/ inline void SetReportPlanName(Aws::String&& value) { m_reportPlanName = std::move(value); } /** *

The unique name of the report plan.

*/ inline void SetReportPlanName(const char* value) { m_reportPlanName.assign(value); } /** *

The unique name of the report plan.

*/ inline CreateReportPlanResult& WithReportPlanName(const Aws::String& value) { SetReportPlanName(value); return *this;} /** *

The unique name of the report plan.

*/ inline CreateReportPlanResult& WithReportPlanName(Aws::String&& value) { SetReportPlanName(std::move(value)); return *this;} /** *

The unique name of the report plan.

*/ inline CreateReportPlanResult& WithReportPlanName(const char* value) { SetReportPlanName(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& GetReportPlanArn() const{ return m_reportPlanArn; } /** *

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

*/ inline void SetReportPlanArn(const Aws::String& value) { m_reportPlanArn = value; } /** *

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

*/ inline void SetReportPlanArn(Aws::String&& value) { m_reportPlanArn = 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 SetReportPlanArn(const char* value) { m_reportPlanArn.assign(value); } /** *

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

*/ inline CreateReportPlanResult& WithReportPlanArn(const Aws::String& value) { SetReportPlanArn(value); return *this;} /** *

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

*/ inline CreateReportPlanResult& WithReportPlanArn(Aws::String&& value) { SetReportPlanArn(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 CreateReportPlanResult& WithReportPlanArn(const char* value) { SetReportPlanArn(value); return *this;} /** *

The date and time a backup vault is created, in Unix format and Coordinated * Universal Time (UTC). The value of CreationTime is accurate to * milliseconds. For example, the value 1516925490.087 represents Friday, January * 26, 2018 12:11:30.087 AM.

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

The date and time a backup vault is created, in Unix format and Coordinated * Universal Time (UTC). The value of CreationTime is accurate to * milliseconds. For example, the value 1516925490.087 represents Friday, January * 26, 2018 12:11:30.087 AM.

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

The date and time a backup vault is created, in Unix format and Coordinated * Universal Time (UTC). The value of CreationTime is accurate to * milliseconds. For example, the value 1516925490.087 represents Friday, January * 26, 2018 12:11:30.087 AM.

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

The date and time a backup vault is created, in Unix format and Coordinated * Universal Time (UTC). The value of CreationTime is accurate to * milliseconds. For example, the value 1516925490.087 represents Friday, January * 26, 2018 12:11:30.087 AM.

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

The date and time a backup vault is created, in Unix format and Coordinated * Universal Time (UTC). The value of CreationTime is accurate to * milliseconds. For example, the value 1516925490.087 represents Friday, January * 26, 2018 12:11:30.087 AM.

*/ inline CreateReportPlanResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(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 CreateReportPlanResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateReportPlanResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateReportPlanResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_reportPlanName; Aws::String m_reportPlanArn; Aws::Utils::DateTime m_creationTime; Aws::String m_requestId; }; } // namespace Model } // namespace Backup } // namespace Aws