AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
CreateMetadataTransferJobResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
11#include <aws/iottwinmaker/model/MetadataTransferJobStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoTTwinMaker {
25namespace Model {
27 public:
28 AWS_IOTTWINMAKER_API CreateMetadataTransferJobResult() = default;
31
33
36 inline const Aws::String& GetMetadataTransferJobId() const { return m_metadataTransferJobId; }
37 template <typename MetadataTransferJobIdT = Aws::String>
38 void SetMetadataTransferJobId(MetadataTransferJobIdT&& value) {
39 m_metadataTransferJobIdHasBeenSet = true;
40 m_metadataTransferJobId = std::forward<MetadataTransferJobIdT>(value);
41 }
42 template <typename MetadataTransferJobIdT = Aws::String>
44 SetMetadataTransferJobId(std::forward<MetadataTransferJobIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetArn() const { return m_arn; }
54 template <typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) {
56 m_arnHasBeenSet = true;
57 m_arn = std::forward<ArnT>(value);
58 }
59 template <typename ArnT = Aws::String>
61 SetArn(std::forward<ArnT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
71 template <typename CreationDateTimeT = Aws::Utils::DateTime>
72 void SetCreationDateTime(CreationDateTimeT&& value) {
73 m_creationDateTimeHasBeenSet = true;
74 m_creationDateTime = std::forward<CreationDateTimeT>(value);
75 }
76 template <typename CreationDateTimeT = Aws::Utils::DateTime>
78 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
79 return *this;
80 }
82
84
87 inline const MetadataTransferJobStatus& GetStatus() const { return m_status; }
88 template <typename StatusT = MetadataTransferJobStatus>
89 void SetStatus(StatusT&& value) {
90 m_statusHasBeenSet = true;
91 m_status = std::forward<StatusT>(value);
92 }
93 template <typename StatusT = MetadataTransferJobStatus>
95 SetStatus(std::forward<StatusT>(value));
96 return *this;
97 }
99
101
102 inline const Aws::String& GetRequestId() const { return m_requestId; }
103 template <typename RequestIdT = Aws::String>
104 void SetRequestId(RequestIdT&& value) {
105 m_requestIdHasBeenSet = true;
106 m_requestId = std::forward<RequestIdT>(value);
107 }
108 template <typename RequestIdT = Aws::String>
110 SetRequestId(std::forward<RequestIdT>(value));
111 return *this;
112 }
114 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
115
116 private:
117 Aws::String m_metadataTransferJobId;
118
119 Aws::String m_arn;
120
121 Aws::Utils::DateTime m_creationDateTime{};
122
123 MetadataTransferJobStatus m_status;
124
125 Aws::String m_requestId;
126 Aws::Http::HttpResponseCode m_HttpResponseCode;
127 bool m_metadataTransferJobIdHasBeenSet = false;
128 bool m_arnHasBeenSet = false;
129 bool m_creationDateTimeHasBeenSet = false;
130 bool m_statusHasBeenSet = false;
131 bool m_requestIdHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace IoTTwinMaker
136} // namespace Aws
CreateMetadataTransferJobResult & WithCreationDateTime(CreationDateTimeT &&value)
AWS_IOTTWINMAKER_API CreateMetadataTransferJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTTWINMAKER_API CreateMetadataTransferJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateMetadataTransferJobResult & WithRequestId(RequestIdT &&value)
CreateMetadataTransferJobResult & WithStatus(StatusT &&value)
AWS_IOTTWINMAKER_API CreateMetadataTransferJobResult()=default
CreateMetadataTransferJobResult & WithMetadataTransferJobId(MetadataTransferJobIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue