AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateOTAUpdateResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/OTAUpdateStatus.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 IoT
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IOT_API CreateOTAUpdateResult();
34
35
37
40 inline const Aws::String& GetOtaUpdateId() const{ return m_otaUpdateId; }
41 inline void SetOtaUpdateId(const Aws::String& value) { m_otaUpdateId = value; }
42 inline void SetOtaUpdateId(Aws::String&& value) { m_otaUpdateId = std::move(value); }
43 inline void SetOtaUpdateId(const char* value) { m_otaUpdateId.assign(value); }
44 inline CreateOTAUpdateResult& WithOtaUpdateId(const Aws::String& value) { SetOtaUpdateId(value); return *this;}
45 inline CreateOTAUpdateResult& WithOtaUpdateId(Aws::String&& value) { SetOtaUpdateId(std::move(value)); return *this;}
46 inline CreateOTAUpdateResult& WithOtaUpdateId(const char* value) { SetOtaUpdateId(value); return *this;}
48
50
53 inline const Aws::String& GetAwsIotJobId() const{ return m_awsIotJobId; }
54 inline void SetAwsIotJobId(const Aws::String& value) { m_awsIotJobId = value; }
55 inline void SetAwsIotJobId(Aws::String&& value) { m_awsIotJobId = std::move(value); }
56 inline void SetAwsIotJobId(const char* value) { m_awsIotJobId.assign(value); }
57 inline CreateOTAUpdateResult& WithAwsIotJobId(const Aws::String& value) { SetAwsIotJobId(value); return *this;}
58 inline CreateOTAUpdateResult& WithAwsIotJobId(Aws::String&& value) { SetAwsIotJobId(std::move(value)); return *this;}
59 inline CreateOTAUpdateResult& WithAwsIotJobId(const char* value) { SetAwsIotJobId(value); return *this;}
61
63
66 inline const Aws::String& GetOtaUpdateArn() const{ return m_otaUpdateArn; }
67 inline void SetOtaUpdateArn(const Aws::String& value) { m_otaUpdateArn = value; }
68 inline void SetOtaUpdateArn(Aws::String&& value) { m_otaUpdateArn = std::move(value); }
69 inline void SetOtaUpdateArn(const char* value) { m_otaUpdateArn.assign(value); }
70 inline CreateOTAUpdateResult& WithOtaUpdateArn(const Aws::String& value) { SetOtaUpdateArn(value); return *this;}
71 inline CreateOTAUpdateResult& WithOtaUpdateArn(Aws::String&& value) { SetOtaUpdateArn(std::move(value)); return *this;}
72 inline CreateOTAUpdateResult& WithOtaUpdateArn(const char* value) { SetOtaUpdateArn(value); return *this;}
74
76
79 inline const Aws::String& GetAwsIotJobArn() const{ return m_awsIotJobArn; }
80 inline void SetAwsIotJobArn(const Aws::String& value) { m_awsIotJobArn = value; }
81 inline void SetAwsIotJobArn(Aws::String&& value) { m_awsIotJobArn = std::move(value); }
82 inline void SetAwsIotJobArn(const char* value) { m_awsIotJobArn.assign(value); }
83 inline CreateOTAUpdateResult& WithAwsIotJobArn(const Aws::String& value) { SetAwsIotJobArn(value); return *this;}
84 inline CreateOTAUpdateResult& WithAwsIotJobArn(Aws::String&& value) { SetAwsIotJobArn(std::move(value)); return *this;}
85 inline CreateOTAUpdateResult& WithAwsIotJobArn(const char* value) { SetAwsIotJobArn(value); return *this;}
87
89
92 inline const OTAUpdateStatus& GetOtaUpdateStatus() const{ return m_otaUpdateStatus; }
93 inline void SetOtaUpdateStatus(const OTAUpdateStatus& value) { m_otaUpdateStatus = value; }
94 inline void SetOtaUpdateStatus(OTAUpdateStatus&& value) { m_otaUpdateStatus = std::move(value); }
95 inline CreateOTAUpdateResult& WithOtaUpdateStatus(const OTAUpdateStatus& value) { SetOtaUpdateStatus(value); return *this;}
96 inline CreateOTAUpdateResult& WithOtaUpdateStatus(OTAUpdateStatus&& value) { SetOtaUpdateStatus(std::move(value)); return *this;}
98
100
101 inline const Aws::String& GetRequestId() const{ return m_requestId; }
102 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
103 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
104 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
105 inline CreateOTAUpdateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
106 inline CreateOTAUpdateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
107 inline CreateOTAUpdateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
109 private:
110
111 Aws::String m_otaUpdateId;
112
113 Aws::String m_awsIotJobId;
114
115 Aws::String m_otaUpdateArn;
116
117 Aws::String m_awsIotJobArn;
118
119 OTAUpdateStatus m_otaUpdateStatus;
120
121 Aws::String m_requestId;
122 };
123
124} // namespace Model
125} // namespace IoT
126} // namespace Aws
void SetOtaUpdateArn(const Aws::String &value)
CreateOTAUpdateResult & WithRequestId(const Aws::String &value)
void SetOtaUpdateStatus(const OTAUpdateStatus &value)
CreateOTAUpdateResult & WithAwsIotJobArn(Aws::String &&value)
CreateOTAUpdateResult & WithAwsIotJobId(const char *value)
AWS_IOT_API CreateOTAUpdateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateOTAUpdateResult & WithOtaUpdateArn(const char *value)
CreateOTAUpdateResult & WithOtaUpdateId(const char *value)
const Aws::String & GetAwsIotJobArn() const
CreateOTAUpdateResult & WithRequestId(Aws::String &&value)
AWS_IOT_API CreateOTAUpdateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateOTAUpdateResult & WithOtaUpdateId(Aws::String &&value)
CreateOTAUpdateResult & WithAwsIotJobId(Aws::String &&value)
const OTAUpdateStatus & GetOtaUpdateStatus() const
CreateOTAUpdateResult & WithAwsIotJobArn(const char *value)
CreateOTAUpdateResult & WithOtaUpdateStatus(const OTAUpdateStatus &value)
CreateOTAUpdateResult & WithOtaUpdateArn(const Aws::String &value)
CreateOTAUpdateResult & WithOtaUpdateId(const Aws::String &value)
void SetAwsIotJobArn(const Aws::String &value)
CreateOTAUpdateResult & WithOtaUpdateStatus(OTAUpdateStatus &&value)
CreateOTAUpdateResult & WithRequestId(const char *value)
void SetRequestId(const Aws::String &value)
void SetOtaUpdateStatus(OTAUpdateStatus &&value)
CreateOTAUpdateResult & WithAwsIotJobId(const Aws::String &value)
void SetOtaUpdateId(const Aws::String &value)
CreateOTAUpdateResult & WithAwsIotJobArn(const Aws::String &value)
CreateOTAUpdateResult & WithOtaUpdateArn(Aws::String &&value)
void SetAwsIotJobId(const Aws::String &value)
const Aws::String & GetOtaUpdateArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue