/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DataSync { namespace Model { class DescribeDiscoveryJobResult { public: AWS_DATASYNC_API DescribeDiscoveryJobResult(); AWS_DATASYNC_API DescribeDiscoveryJobResult(const Aws::AmazonWebServiceResult& result); AWS_DATASYNC_API DescribeDiscoveryJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the on-premises storage system you're running the discovery job * on.

*/ inline const Aws::String& GetStorageSystemArn() const{ return m_storageSystemArn; } /** *

The ARN of the on-premises storage system you're running the discovery job * on.

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

The ARN of the on-premises storage system you're running the discovery job * on.

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

The ARN of the on-premises storage system you're running the discovery job * on.

*/ inline void SetStorageSystemArn(const char* value) { m_storageSystemArn.assign(value); } /** *

The ARN of the on-premises storage system you're running the discovery job * on.

*/ inline DescribeDiscoveryJobResult& WithStorageSystemArn(const Aws::String& value) { SetStorageSystemArn(value); return *this;} /** *

The ARN of the on-premises storage system you're running the discovery job * on.

*/ inline DescribeDiscoveryJobResult& WithStorageSystemArn(Aws::String&& value) { SetStorageSystemArn(std::move(value)); return *this;} /** *

The ARN of the on-premises storage system you're running the discovery job * on.

*/ inline DescribeDiscoveryJobResult& WithStorageSystemArn(const char* value) { SetStorageSystemArn(value); return *this;} /** *

The ARN of the discovery job.

*/ inline const Aws::String& GetDiscoveryJobArn() const{ return m_discoveryJobArn; } /** *

The ARN of the discovery job.

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

The ARN of the discovery job.

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

The ARN of the discovery job.

*/ inline void SetDiscoveryJobArn(const char* value) { m_discoveryJobArn.assign(value); } /** *

The ARN of the discovery job.

*/ inline DescribeDiscoveryJobResult& WithDiscoveryJobArn(const Aws::String& value) { SetDiscoveryJobArn(value); return *this;} /** *

The ARN of the discovery job.

*/ inline DescribeDiscoveryJobResult& WithDiscoveryJobArn(Aws::String&& value) { SetDiscoveryJobArn(std::move(value)); return *this;} /** *

The ARN of the discovery job.

*/ inline DescribeDiscoveryJobResult& WithDiscoveryJobArn(const char* value) { SetDiscoveryJobArn(value); return *this;} /** *

The number of minutes that the discovery job runs.

*/ inline int GetCollectionDurationMinutes() const{ return m_collectionDurationMinutes; } /** *

The number of minutes that the discovery job runs.

*/ inline void SetCollectionDurationMinutes(int value) { m_collectionDurationMinutes = value; } /** *

The number of minutes that the discovery job runs.

*/ inline DescribeDiscoveryJobResult& WithCollectionDurationMinutes(int value) { SetCollectionDurationMinutes(value); return *this;} /** *

Indicates the status of a discovery job. For more information, see Discovery * job statuses.

*/ inline const DiscoveryJobStatus& GetStatus() const{ return m_status; } /** *

Indicates the status of a discovery job. For more information, see Discovery * job statuses.

*/ inline void SetStatus(const DiscoveryJobStatus& value) { m_status = value; } /** *

Indicates the status of a discovery job. For more information, see Discovery * job statuses.

*/ inline void SetStatus(DiscoveryJobStatus&& value) { m_status = std::move(value); } /** *

Indicates the status of a discovery job. For more information, see Discovery * job statuses.

*/ inline DescribeDiscoveryJobResult& WithStatus(const DiscoveryJobStatus& value) { SetStatus(value); return *this;} /** *

Indicates the status of a discovery job. For more information, see Discovery * job statuses.

*/ inline DescribeDiscoveryJobResult& WithStatus(DiscoveryJobStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The time when the discovery job started.

*/ inline const Aws::Utils::DateTime& GetJobStartTime() const{ return m_jobStartTime; } /** *

The time when the discovery job started.

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

The time when the discovery job started.

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

The time when the discovery job started.

*/ inline DescribeDiscoveryJobResult& WithJobStartTime(const Aws::Utils::DateTime& value) { SetJobStartTime(value); return *this;} /** *

The time when the discovery job started.

*/ inline DescribeDiscoveryJobResult& WithJobStartTime(Aws::Utils::DateTime&& value) { SetJobStartTime(std::move(value)); return *this;} /** *

The time when the discovery job ended.

*/ inline const Aws::Utils::DateTime& GetJobEndTime() const{ return m_jobEndTime; } /** *

The time when the discovery job ended.

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

The time when the discovery job ended.

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

The time when the discovery job ended.

*/ inline DescribeDiscoveryJobResult& WithJobEndTime(const Aws::Utils::DateTime& value) { SetJobEndTime(value); return *this;} /** *

The time when the discovery job ended.

*/ inline DescribeDiscoveryJobResult& WithJobEndTime(Aws::Utils::DateTime&& value) { SetJobEndTime(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 DescribeDiscoveryJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDiscoveryJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDiscoveryJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_storageSystemArn; Aws::String m_discoveryJobArn; int m_collectionDurationMinutes; DiscoveryJobStatus m_status; Aws::Utils::DateTime m_jobStartTime; Aws::Utils::DateTime m_jobEndTime; Aws::String m_requestId; }; } // namespace Model } // namespace DataSync } // namespace Aws