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

The unique name of the framework. The name must be 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 the framework. The name must be 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_frameworkName = value; } /** *

The unique name of the framework. The name must be 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_frameworkName = std::move(value); } /** *

The unique name of the framework. The name must be 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_frameworkName.assign(value); } /** *

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

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

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

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

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

*/ inline CreateFrameworkResult& 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 void SetFrameworkArn(const Aws::String& value) { 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_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_frameworkArn.assign(value); } /** *

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

*/ inline CreateFrameworkResult& 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 CreateFrameworkResult& 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 CreateFrameworkResult& WithFrameworkArn(const char* value) { SetFrameworkArn(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 CreateFrameworkResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateFrameworkResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateFrameworkResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_frameworkName; Aws::String m_frameworkArn; Aws::String m_requestId; }; } // namespace Model } // namespace Backup } // namespace Aws