AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTaskResult.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace DataSync
24{
25namespace Model
26{
33 {
34 public:
35 AWS_DATASYNC_API CreateTaskResult();
38
39
41
44 inline const Aws::String& GetTaskArn() const{ return m_taskArn; }
45 inline void SetTaskArn(const Aws::String& value) { m_taskArn = value; }
46 inline void SetTaskArn(Aws::String&& value) { m_taskArn = std::move(value); }
47 inline void SetTaskArn(const char* value) { m_taskArn.assign(value); }
48 inline CreateTaskResult& WithTaskArn(const Aws::String& value) { SetTaskArn(value); return *this;}
49 inline CreateTaskResult& WithTaskArn(Aws::String&& value) { SetTaskArn(std::move(value)); return *this;}
50 inline CreateTaskResult& WithTaskArn(const char* value) { SetTaskArn(value); return *this;}
52
54
55 inline const Aws::String& GetRequestId() const{ return m_requestId; }
56 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
57 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
58 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
59 inline CreateTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
60 inline CreateTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
61 inline CreateTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
63 private:
64
65 Aws::String m_taskArn;
66
67 Aws::String m_requestId;
68 };
69
70} // namespace Model
71} // namespace DataSync
72} // namespace Aws
CreateTaskResult & WithTaskArn(Aws::String &&value)
AWS_DATASYNC_API CreateTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateTaskResult & WithTaskArn(const Aws::String &value)
CreateTaskResult & WithRequestId(const char *value)
CreateTaskResult & WithRequestId(Aws::String &&value)
CreateTaskResult & WithRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
CreateTaskResult & WithTaskArn(const char *value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetTaskArn() const
void SetTaskArn(const Aws::String &value)
AWS_DATASYNC_API CreateTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue