/** * 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 StartCopyJobResult { public: AWS_BACKUP_API StartCopyJobResult(); AWS_BACKUP_API StartCopyJobResult(const Aws::AmazonWebServiceResult& result); AWS_BACKUP_API StartCopyJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Uniquely identifies a copy job.

*/ inline const Aws::String& GetCopyJobId() const{ return m_copyJobId; } /** *

Uniquely identifies a copy job.

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

Uniquely identifies a copy job.

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

Uniquely identifies a copy job.

*/ inline void SetCopyJobId(const char* value) { m_copyJobId.assign(value); } /** *

Uniquely identifies a copy job.

*/ inline StartCopyJobResult& WithCopyJobId(const Aws::String& value) { SetCopyJobId(value); return *this;} /** *

Uniquely identifies a copy job.

*/ inline StartCopyJobResult& WithCopyJobId(Aws::String&& value) { SetCopyJobId(std::move(value)); return *this;} /** *

Uniquely identifies a copy job.

*/ inline StartCopyJobResult& WithCopyJobId(const char* value) { SetCopyJobId(value); return *this;} /** *

The date and time that a copy job is created, in Unix format and Coordinated * Universal Time (UTC). The value of CreationDate 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& GetCreationDate() const{ return m_creationDate; } /** *

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

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

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

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

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

*/ inline StartCopyJobResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *

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

*/ inline StartCopyJobResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *

This is a returned boolean value indicating this is a parent (composite) copy * job.

*/ inline bool GetIsParent() const{ return m_isParent; } /** *

This is a returned boolean value indicating this is a parent (composite) copy * job.

*/ inline void SetIsParent(bool value) { m_isParent = value; } /** *

This is a returned boolean value indicating this is a parent (composite) copy * job.

*/ inline StartCopyJobResult& WithIsParent(bool value) { SetIsParent(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 StartCopyJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartCopyJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartCopyJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_copyJobId; Aws::Utils::DateTime m_creationDate; bool m_isParent; Aws::String m_requestId; }; } // namespace Model } // namespace Backup } // namespace Aws