/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include DescribeTaskExecutionResponseSee Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the task execution that was described.
* TaskExecutionArn is hierarchical and includes TaskArn
* for the task that was executed.
For example, a
* TaskExecution value with the ARN
* arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b
* executed the task with the ARN
* arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2.
*
The Amazon Resource Name (ARN) of the task execution that was described.
* TaskExecutionArn is hierarchical and includes TaskArn
* for the task that was executed.
For example, a
* TaskExecution value with the ARN
* arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b
* executed the task with the ARN
* arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2.
*
The Amazon Resource Name (ARN) of the task execution that was described.
* TaskExecutionArn is hierarchical and includes TaskArn
* for the task that was executed.
For example, a
* TaskExecution value with the ARN
* arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b
* executed the task with the ARN
* arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2.
*
The Amazon Resource Name (ARN) of the task execution that was described.
* TaskExecutionArn is hierarchical and includes TaskArn
* for the task that was executed.
For example, a
* TaskExecution value with the ARN
* arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b
* executed the task with the ARN
* arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2.
*
The Amazon Resource Name (ARN) of the task execution that was described.
* TaskExecutionArn is hierarchical and includes TaskArn
* for the task that was executed.
For example, a
* TaskExecution value with the ARN
* arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b
* executed the task with the ARN
* arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2.
*
The Amazon Resource Name (ARN) of the task execution that was described.
* TaskExecutionArn is hierarchical and includes TaskArn
* for the task that was executed.
For example, a
* TaskExecution value with the ARN
* arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b
* executed the task with the ARN
* arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2.
*
The Amazon Resource Name (ARN) of the task execution that was described.
* TaskExecutionArn is hierarchical and includes TaskArn
* for the task that was executed.
For example, a
* TaskExecution value with the ARN
* arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b
* executed the task with the ARN
* arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2.
*
The status of the task execution.
For detailed information about task * execution statuses, see Understanding Task Statuses in the AWS DataSync User * Guide.
*/ inline const TaskExecutionStatus& GetStatus() const{ return m_status; } /** *The status of the task execution.
For detailed information about task * execution statuses, see Understanding Task Statuses in the AWS DataSync User * Guide.
*/ inline void SetStatus(const TaskExecutionStatus& value) { m_status = value; } /** *The status of the task execution.
For detailed information about task * execution statuses, see Understanding Task Statuses in the AWS DataSync User * Guide.
*/ inline void SetStatus(TaskExecutionStatus&& value) { m_status = std::move(value); } /** *The status of the task execution.
For detailed information about task * execution statuses, see Understanding Task Statuses in the AWS DataSync User * Guide.
*/ inline DescribeTaskExecutionResult& WithStatus(const TaskExecutionStatus& value) { SetStatus(value); return *this;} /** *The status of the task execution.
For detailed information about task * execution statuses, see Understanding Task Statuses in the AWS DataSync User * Guide.
*/ inline DescribeTaskExecutionResult& WithStatus(TaskExecutionStatus&& value) { SetStatus(std::move(value)); return *this;} inline const Options& GetOptions() const{ return m_options; } inline void SetOptions(const Options& value) { m_options = value; } inline void SetOptions(Options&& value) { m_options = std::move(value); } inline DescribeTaskExecutionResult& WithOptions(const Options& value) { SetOptions(value); return *this;} inline DescribeTaskExecutionResult& WithOptions(Options&& value) { SetOptions(std::move(value)); return *this;} /** *A list of filter rules that determines which files to exclude from a task.
* The list should contain a single filter string that consists of the patterns to
* exclude. The patterns are delimited by "|" (that is, a pipe), for example:
* "/folder1|/folder2"
*/ inline const Aws::Vector
A list of filter rules that determines which files to exclude from a task.
* The list should contain a single filter string that consists of the patterns to
* exclude. The patterns are delimited by "|" (that is, a pipe), for example:
* "/folder1|/folder2"
*/ inline void SetExcludes(const Aws::Vector
A list of filter rules that determines which files to exclude from a task.
* The list should contain a single filter string that consists of the patterns to
* exclude. The patterns are delimited by "|" (that is, a pipe), for example:
* "/folder1|/folder2"
*/ inline void SetExcludes(Aws::Vector
A list of filter rules that determines which files to exclude from a task.
* The list should contain a single filter string that consists of the patterns to
* exclude. The patterns are delimited by "|" (that is, a pipe), for example:
* "/folder1|/folder2"
*/ inline DescribeTaskExecutionResult& WithExcludes(const Aws::Vector
A list of filter rules that determines which files to exclude from a task.
* The list should contain a single filter string that consists of the patterns to
* exclude. The patterns are delimited by "|" (that is, a pipe), for example:
* "/folder1|/folder2"
*/ inline DescribeTaskExecutionResult& WithExcludes(Aws::Vector
A list of filter rules that determines which files to exclude from a task.
* The list should contain a single filter string that consists of the patterns to
* exclude. The patterns are delimited by "|" (that is, a pipe), for example:
* "/folder1|/folder2"
*/ inline DescribeTaskExecutionResult& AddExcludes(const FilterRule& value) { m_excludes.push_back(value); return *this; } /** *
A list of filter rules that determines which files to exclude from a task.
* The list should contain a single filter string that consists of the patterns to
* exclude. The patterns are delimited by "|" (that is, a pipe), for example:
* "/folder1|/folder2"
*/ inline DescribeTaskExecutionResult& AddExcludes(FilterRule&& value) { m_excludes.push_back(std::move(value)); return *this; } /** *
A list of filter rules that determines which files to include when running a
* task. The list should contain a single filter string that consists of the
* patterns to include. The patterns are delimited by "|" (that is, a pipe), for
* example: "/folder1|/folder2"
*/ inline const Aws::Vector
A list of filter rules that determines which files to include when running a
* task. The list should contain a single filter string that consists of the
* patterns to include. The patterns are delimited by "|" (that is, a pipe), for
* example: "/folder1|/folder2"
*/ inline void SetIncludes(const Aws::Vector
A list of filter rules that determines which files to include when running a
* task. The list should contain a single filter string that consists of the
* patterns to include. The patterns are delimited by "|" (that is, a pipe), for
* example: "/folder1|/folder2"
*/ inline void SetIncludes(Aws::Vector
A list of filter rules that determines which files to include when running a
* task. The list should contain a single filter string that consists of the
* patterns to include. The patterns are delimited by "|" (that is, a pipe), for
* example: "/folder1|/folder2"
*/ inline DescribeTaskExecutionResult& WithIncludes(const Aws::Vector
A list of filter rules that determines which files to include when running a
* task. The list should contain a single filter string that consists of the
* patterns to include. The patterns are delimited by "|" (that is, a pipe), for
* example: "/folder1|/folder2"
*/ inline DescribeTaskExecutionResult& WithIncludes(Aws::Vector
A list of filter rules that determines which files to include when running a
* task. The list should contain a single filter string that consists of the
* patterns to include. The patterns are delimited by "|" (that is, a pipe), for
* example: "/folder1|/folder2"
*/ inline DescribeTaskExecutionResult& AddIncludes(const FilterRule& value) { m_includes.push_back(value); return *this; } /** *
A list of filter rules that determines which files to include when running a
* task. The list should contain a single filter string that consists of the
* patterns to include. The patterns are delimited by "|" (that is, a pipe), for
* example: "/folder1|/folder2"
*/ inline DescribeTaskExecutionResult& AddIncludes(FilterRule&& value) { m_includes.push_back(std::move(value)); return *this; } /** *
The time that the task execution was started.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *The time that the task execution was started.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; } /** *The time that the task execution was started.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); } /** *The time that the task execution was started.
*/ inline DescribeTaskExecutionResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The time that the task execution was started.
*/ inline DescribeTaskExecutionResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *The expected number of files that is to be transferred over the network. This * value is calculated during the PREPARING phase, before the TRANSFERRING phase. * This value is the expected number of files to be transferred. It's calculated * based on comparing the content of the source and destination locations and * finding the delta that needs to be transferred.
*/ inline long long GetEstimatedFilesToTransfer() const{ return m_estimatedFilesToTransfer; } /** *The expected number of files that is to be transferred over the network. This * value is calculated during the PREPARING phase, before the TRANSFERRING phase. * This value is the expected number of files to be transferred. It's calculated * based on comparing the content of the source and destination locations and * finding the delta that needs to be transferred.
*/ inline void SetEstimatedFilesToTransfer(long long value) { m_estimatedFilesToTransfer = value; } /** *The expected number of files that is to be transferred over the network. This * value is calculated during the PREPARING phase, before the TRANSFERRING phase. * This value is the expected number of files to be transferred. It's calculated * based on comparing the content of the source and destination locations and * finding the delta that needs to be transferred.
*/ inline DescribeTaskExecutionResult& WithEstimatedFilesToTransfer(long long value) { SetEstimatedFilesToTransfer(value); return *this;} /** *The estimated physical number of bytes that is to be transferred over the * network.
*/ inline long long GetEstimatedBytesToTransfer() const{ return m_estimatedBytesToTransfer; } /** *The estimated physical number of bytes that is to be transferred over the * network.
*/ inline void SetEstimatedBytesToTransfer(long long value) { m_estimatedBytesToTransfer = value; } /** *The estimated physical number of bytes that is to be transferred over the * network.
*/ inline DescribeTaskExecutionResult& WithEstimatedBytesToTransfer(long long value) { SetEstimatedBytesToTransfer(value); return *this;} /** *The actual number of files that was transferred over the network. This value * is calculated and updated on an ongoing basis during the TRANSFERRING phase. * It's updated periodically when each file is read from the source and sent over * the network.
If failures occur during a transfer, this value can be less
* than EstimatedFilesToTransfer. This value can also be greater than
* EstimatedFilesTransferred in some cases. This element is
* implementation-specific for some location types, so don't use it as an indicator
* for a correct file number or to monitor your task execution.
The actual number of files that was transferred over the network. This value * is calculated and updated on an ongoing basis during the TRANSFERRING phase. * It's updated periodically when each file is read from the source and sent over * the network.
If failures occur during a transfer, this value can be less
* than EstimatedFilesToTransfer. This value can also be greater than
* EstimatedFilesTransferred in some cases. This element is
* implementation-specific for some location types, so don't use it as an indicator
* for a correct file number or to monitor your task execution.
The actual number of files that was transferred over the network. This value * is calculated and updated on an ongoing basis during the TRANSFERRING phase. * It's updated periodically when each file is read from the source and sent over * the network.
If failures occur during a transfer, this value can be less
* than EstimatedFilesToTransfer. This value can also be greater than
* EstimatedFilesTransferred in some cases. This element is
* implementation-specific for some location types, so don't use it as an indicator
* for a correct file number or to monitor your task execution.
The number of logical bytes written to the destination AWS storage * resource.
*/ inline long long GetBytesWritten() const{ return m_bytesWritten; } /** *The number of logical bytes written to the destination AWS storage * resource.
*/ inline void SetBytesWritten(long long value) { m_bytesWritten = value; } /** *The number of logical bytes written to the destination AWS storage * resource.
*/ inline DescribeTaskExecutionResult& WithBytesWritten(long long value) { SetBytesWritten(value); return *this;} /** *The physical number of bytes transferred over the network.
*/ inline long long GetBytesTransferred() const{ return m_bytesTransferred; } /** *The physical number of bytes transferred over the network.
*/ inline void SetBytesTransferred(long long value) { m_bytesTransferred = value; } /** *The physical number of bytes transferred over the network.
*/ inline DescribeTaskExecutionResult& WithBytesTransferred(long long value) { SetBytesTransferred(value); return *this;} /** *The result of the task execution.
*/ inline const TaskExecutionResultDetail& GetResult() const{ return m_result; } /** *The result of the task execution.
*/ inline void SetResult(const TaskExecutionResultDetail& value) { m_result = value; } /** *The result of the task execution.
*/ inline void SetResult(TaskExecutionResultDetail&& value) { m_result = std::move(value); } /** *The result of the task execution.
*/ inline DescribeTaskExecutionResult& WithResult(const TaskExecutionResultDetail& value) { SetResult(value); return *this;} /** *The result of the task execution.
*/ inline DescribeTaskExecutionResult& WithResult(TaskExecutionResultDetail&& value) { SetResult(std::move(value)); return *this;} private: Aws::String m_taskExecutionArn; TaskExecutionStatus m_status; Options m_options; Aws::Vector