AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateMetadataTransferJobResult.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 <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTTwinMaker
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IOTTWINMAKER_API CreateMetadataTransferJobResult();
35
36
38
41 inline const Aws::String& GetMetadataTransferJobId() const{ return m_metadataTransferJobId; }
42 inline void SetMetadataTransferJobId(const Aws::String& value) { m_metadataTransferJobId = value; }
43 inline void SetMetadataTransferJobId(Aws::String&& value) { m_metadataTransferJobId = std::move(value); }
44 inline void SetMetadataTransferJobId(const char* value) { m_metadataTransferJobId.assign(value); }
49
51
54 inline const Aws::String& GetArn() const{ return m_arn; }
55 inline void SetArn(const Aws::String& value) { m_arn = value; }
56 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
57 inline void SetArn(const char* value) { m_arn.assign(value); }
58 inline CreateMetadataTransferJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
59 inline CreateMetadataTransferJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
60 inline CreateMetadataTransferJobResult& WithArn(const char* value) { SetArn(value); return *this;}
62
64
67 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
68 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
69 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
73
75
78 inline const MetadataTransferJobStatus& GetStatus() const{ return m_status; }
79 inline void SetStatus(const MetadataTransferJobStatus& value) { m_status = value; }
80 inline void SetStatus(MetadataTransferJobStatus&& value) { m_status = std::move(value); }
82 inline CreateMetadataTransferJobResult& WithStatus(MetadataTransferJobStatus&& value) { SetStatus(std::move(value)); return *this;}
84
86
87 inline const Aws::String& GetRequestId() const{ return m_requestId; }
88 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
89 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
90 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
91 inline CreateMetadataTransferJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
92 inline CreateMetadataTransferJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
93 inline CreateMetadataTransferJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
95 private:
96
97 Aws::String m_metadataTransferJobId;
98
99 Aws::String m_arn;
100
101 Aws::Utils::DateTime m_creationDateTime;
102
104
105 Aws::String m_requestId;
106 };
107
108} // namespace Model
109} // namespace IoTTwinMaker
110} // namespace Aws
CreateMetadataTransferJobResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
CreateMetadataTransferJobResult & WithRequestId(const char *value)
CreateMetadataTransferJobResult & WithRequestId(Aws::String &&value)
CreateMetadataTransferJobResult & WithArn(const char *value)
CreateMetadataTransferJobResult & WithArn(Aws::String &&value)
CreateMetadataTransferJobResult & WithMetadataTransferJobId(Aws::String &&value)
AWS_IOTTWINMAKER_API CreateMetadataTransferJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateMetadataTransferJobResult & WithMetadataTransferJobId(const char *value)
CreateMetadataTransferJobResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
AWS_IOTTWINMAKER_API CreateMetadataTransferJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateMetadataTransferJobResult & WithMetadataTransferJobId(const Aws::String &value)
CreateMetadataTransferJobResult & WithArn(const Aws::String &value)
CreateMetadataTransferJobResult & WithStatus(MetadataTransferJobStatus &&value)
CreateMetadataTransferJobResult & WithRequestId(const Aws::String &value)
CreateMetadataTransferJobResult & WithStatus(const MetadataTransferJobStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue