AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CancelMetadataTransferJobResult.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/iottwinmaker/model/MetadataTransferJobStatus.h>
11#include <aws/iottwinmaker/model/MetadataTransferJobProgress.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace IoTTwinMaker
27{
28namespace Model
29{
31 {
32 public:
33 AWS_IOTTWINMAKER_API CancelMetadataTransferJobResult();
36
37
39
42 inline const Aws::String& GetMetadataTransferJobId() const{ return m_metadataTransferJobId; }
43 inline void SetMetadataTransferJobId(const Aws::String& value) { m_metadataTransferJobId = value; }
44 inline void SetMetadataTransferJobId(Aws::String&& value) { m_metadataTransferJobId = std::move(value); }
45 inline void SetMetadataTransferJobId(const char* value) { m_metadataTransferJobId.assign(value); }
50
52
55 inline const Aws::String& GetArn() const{ return m_arn; }
56 inline void SetArn(const Aws::String& value) { m_arn = value; }
57 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
58 inline void SetArn(const char* value) { m_arn.assign(value); }
59 inline CancelMetadataTransferJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 inline CancelMetadataTransferJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
61 inline CancelMetadataTransferJobResult& WithArn(const char* value) { SetArn(value); return *this;}
63
65
68 inline const Aws::Utils::DateTime& GetUpdateDateTime() const{ return m_updateDateTime; }
69 inline void SetUpdateDateTime(const Aws::Utils::DateTime& value) { m_updateDateTime = value; }
70 inline void SetUpdateDateTime(Aws::Utils::DateTime&& value) { m_updateDateTime = std::move(value); }
74
76
79 inline const MetadataTransferJobStatus& GetStatus() const{ return m_status; }
80 inline void SetStatus(const MetadataTransferJobStatus& value) { m_status = value; }
81 inline void SetStatus(MetadataTransferJobStatus&& value) { m_status = std::move(value); }
83 inline CancelMetadataTransferJobResult& WithStatus(MetadataTransferJobStatus&& value) { SetStatus(std::move(value)); return *this;}
85
87
90 inline const MetadataTransferJobProgress& GetProgress() const{ return m_progress; }
91 inline void SetProgress(const MetadataTransferJobProgress& value) { m_progress = value; }
92 inline void SetProgress(MetadataTransferJobProgress&& value) { m_progress = std::move(value); }
94 inline CancelMetadataTransferJobResult& WithProgress(MetadataTransferJobProgress&& value) { SetProgress(std::move(value)); return *this;}
96
98
99 inline const Aws::String& GetRequestId() const{ return m_requestId; }
100 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
101 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
102 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
103 inline CancelMetadataTransferJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
104 inline CancelMetadataTransferJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
105 inline CancelMetadataTransferJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
107 private:
108
109 Aws::String m_metadataTransferJobId;
110
111 Aws::String m_arn;
112
113 Aws::Utils::DateTime m_updateDateTime;
114
116
118
119 Aws::String m_requestId;
120 };
121
122} // namespace Model
123} // namespace IoTTwinMaker
124} // namespace Aws
CancelMetadataTransferJobResult & WithStatus(MetadataTransferJobStatus &&value)
CancelMetadataTransferJobResult & WithRequestId(const Aws::String &value)
CancelMetadataTransferJobResult & WithUpdateDateTime(Aws::Utils::DateTime &&value)
CancelMetadataTransferJobResult & WithProgress(MetadataTransferJobProgress &&value)
CancelMetadataTransferJobResult & WithUpdateDateTime(const Aws::Utils::DateTime &value)
CancelMetadataTransferJobResult & WithStatus(const MetadataTransferJobStatus &value)
CancelMetadataTransferJobResult & WithRequestId(const char *value)
AWS_IOTTWINMAKER_API CancelMetadataTransferJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTTWINMAKER_API CancelMetadataTransferJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelMetadataTransferJobResult & WithArn(const Aws::String &value)
CancelMetadataTransferJobResult & WithMetadataTransferJobId(const Aws::String &value)
CancelMetadataTransferJobResult & WithMetadataTransferJobId(const char *value)
CancelMetadataTransferJobResult & WithMetadataTransferJobId(Aws::String &&value)
CancelMetadataTransferJobResult & WithArn(Aws::String &&value)
CancelMetadataTransferJobResult & WithArn(const char *value)
CancelMetadataTransferJobResult & WithRequestId(Aws::String &&value)
CancelMetadataTransferJobResult & WithProgress(const MetadataTransferJobProgress &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue