dai_env / include /aws /logs /model /CreateExportTaskResult.h
Shenghong's picture
Add files using upload-large-folder tool
7791ca1 verified
Raw History Blame Contribute Delete
2.34 kB
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/logs/CloudWatchLogs_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace CloudWatchLogs
{
namespace Model
{
class CreateExportTaskResult
{
public:
AWS_CLOUDWATCHLOGS_API CreateExportTaskResult();
AWS_CLOUDWATCHLOGS_API CreateExportTaskResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AWS_CLOUDWATCHLOGS_API CreateExportTaskResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
///@{
/**
* <p>The ID of the export task.</p>
*/
inline const Aws::String& GetTaskId() const{ return m_taskId; }
inline void SetTaskId(const Aws::String& value) { m_taskId = value; }
inline void SetTaskId(Aws::String&& value) { m_taskId = std::move(value); }
inline void SetTaskId(const char* value) { m_taskId.assign(value); }
inline CreateExportTaskResult& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
inline CreateExportTaskResult& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
inline CreateExportTaskResult& WithTaskId(const char* value) { SetTaskId(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 CreateExportTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
inline CreateExportTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
inline CreateExportTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
///@}
private:
Aws::String m_taskId;
Aws::String m_requestId;
};
} // namespace Model
} // namespace CloudWatchLogs
} // namespace Aws