/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace CloudWatchLogs
{
namespace Model
{
/**
* Represents the status of an export task.
See Also:
AWS
* API Reference
*/
class ExportTaskExecutionInfo
{
public:
AWS_CLOUDWATCHLOGS_API ExportTaskExecutionInfo();
AWS_CLOUDWATCHLOGS_API ExportTaskExecutionInfo(Aws::Utils::Json::JsonView jsonValue);
AWS_CLOUDWATCHLOGS_API ExportTaskExecutionInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The creation time of the export task, expressed as the number of milliseconds
* after Jan 1, 1970 00:00:00 UTC
.
*/
inline long long GetCreationTime() const{ return m_creationTime; }
/**
* The creation time of the export task, expressed as the number of milliseconds
* after Jan 1, 1970 00:00:00 UTC
.
*/
inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
/**
* The creation time of the export task, expressed as the number of milliseconds
* after Jan 1, 1970 00:00:00 UTC
.
*/
inline void SetCreationTime(long long value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
/**
* The creation time of the export task, expressed as the number of milliseconds
* after Jan 1, 1970 00:00:00 UTC
.
*/
inline ExportTaskExecutionInfo& WithCreationTime(long long value) { SetCreationTime(value); return *this;}
/**
* The completion time of the export task, expressed as the number of
* milliseconds after Jan 1, 1970 00:00:00 UTC
.
*/
inline long long GetCompletionTime() const{ return m_completionTime; }
/**
* The completion time of the export task, expressed as the number of
* milliseconds after Jan 1, 1970 00:00:00 UTC
.
*/
inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
/**
* The completion time of the export task, expressed as the number of
* milliseconds after Jan 1, 1970 00:00:00 UTC
.
*/
inline void SetCompletionTime(long long value) { m_completionTimeHasBeenSet = true; m_completionTime = value; }
/**
* The completion time of the export task, expressed as the number of
* milliseconds after Jan 1, 1970 00:00:00 UTC
.
*/
inline ExportTaskExecutionInfo& WithCompletionTime(long long value) { SetCompletionTime(value); return *this;}
private:
long long m_creationTime;
bool m_creationTimeHasBeenSet = false;
long long m_completionTime;
bool m_completionTimeHasBeenSet = false;
};
} // namespace Model
} // namespace CloudWatchLogs
} // namespace Aws