AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CancelDataRepositoryTaskResult.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/model/DataRepositoryTaskLifecycle.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace FSx
25{
26namespace Model
27{
29 {
30 public:
34
35
37
50 inline const DataRepositoryTaskLifecycle& GetLifecycle() const{ return m_lifecycle; }
51 inline void SetLifecycle(const DataRepositoryTaskLifecycle& value) { m_lifecycle = value; }
52 inline void SetLifecycle(DataRepositoryTaskLifecycle&& value) { m_lifecycle = std::move(value); }
54 inline CancelDataRepositoryTaskResult& WithLifecycle(DataRepositoryTaskLifecycle&& value) { SetLifecycle(std::move(value)); return *this;}
56
58
61 inline const Aws::String& GetTaskId() const{ return m_taskId; }
62 inline void SetTaskId(const Aws::String& value) { m_taskId = value; }
63 inline void SetTaskId(Aws::String&& value) { m_taskId = std::move(value); }
64 inline void SetTaskId(const char* value) { m_taskId.assign(value); }
65 inline CancelDataRepositoryTaskResult& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
66 inline CancelDataRepositoryTaskResult& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
67 inline CancelDataRepositoryTaskResult& WithTaskId(const char* value) { SetTaskId(value); return *this;}
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline CancelDataRepositoryTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline CancelDataRepositoryTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline CancelDataRepositoryTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
83
84 Aws::String m_taskId;
85
86 Aws::String m_requestId;
87 };
88
89} // namespace Model
90} // namespace FSx
91} // namespace Aws
CancelDataRepositoryTaskResult & WithRequestId(Aws::String &&value)
CancelDataRepositoryTaskResult & WithRequestId(const Aws::String &value)
CancelDataRepositoryTaskResult & WithRequestId(const char *value)
const DataRepositoryTaskLifecycle & GetLifecycle() const
void SetLifecycle(const DataRepositoryTaskLifecycle &value)
AWS_FSX_API CancelDataRepositoryTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelDataRepositoryTaskResult & WithTaskId(const Aws::String &value)
CancelDataRepositoryTaskResult & WithTaskId(const char *value)
CancelDataRepositoryTaskResult & WithLifecycle(DataRepositoryTaskLifecycle &&value)
void SetLifecycle(DataRepositoryTaskLifecycle &&value)
CancelDataRepositoryTaskResult & WithTaskId(Aws::String &&value)
CancelDataRepositoryTaskResult & WithLifecycle(const DataRepositoryTaskLifecycle &value)
AWS_FSX_API CancelDataRepositoryTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue