AWS SDK for C++

AWS SDK for C++ Version 1.11.779

Loading...
Searching...
No Matches
CreateSoftwareUpdateJobResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrass/Greengrass_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Greengrass {
23namespace Model {
25 public:
26 AWS_GREENGRASS_API CreateSoftwareUpdateJobResult() = default;
29
31
34 inline const Aws::String& GetIotJobArn() const { return m_iotJobArn; }
35 template <typename IotJobArnT = Aws::String>
36 void SetIotJobArn(IotJobArnT&& value) {
37 m_iotJobArnHasBeenSet = true;
38 m_iotJobArn = std::forward<IotJobArnT>(value);
39 }
40 template <typename IotJobArnT = Aws::String>
42 SetIotJobArn(std::forward<IotJobArnT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetIotJobId() const { return m_iotJobId; }
52 template <typename IotJobIdT = Aws::String>
53 void SetIotJobId(IotJobIdT&& value) {
54 m_iotJobIdHasBeenSet = true;
55 m_iotJobId = std::forward<IotJobIdT>(value);
56 }
57 template <typename IotJobIdT = Aws::String>
59 SetIotJobId(std::forward<IotJobIdT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetPlatformSoftwareVersion() const { return m_platformSoftwareVersion; }
69 template <typename PlatformSoftwareVersionT = Aws::String>
70 void SetPlatformSoftwareVersion(PlatformSoftwareVersionT&& value) {
71 m_platformSoftwareVersionHasBeenSet = true;
72 m_platformSoftwareVersion = std::forward<PlatformSoftwareVersionT>(value);
73 }
74 template <typename PlatformSoftwareVersionT = Aws::String>
76 SetPlatformSoftwareVersion(std::forward<PlatformSoftwareVersionT>(value));
77 return *this;
78 }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template <typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) {
86 m_requestIdHasBeenSet = true;
87 m_requestId = std::forward<RequestIdT>(value);
88 }
89 template <typename RequestIdT = Aws::String>
91 SetRequestId(std::forward<RequestIdT>(value));
92 return *this;
93 }
95 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
96
97 private:
98 Aws::String m_iotJobArn;
99
100 Aws::String m_iotJobId;
101
102 Aws::String m_platformSoftwareVersion;
103
104 Aws::String m_requestId;
105 Aws::Http::HttpResponseCode m_HttpResponseCode;
106 bool m_iotJobArnHasBeenSet = false;
107 bool m_iotJobIdHasBeenSet = false;
108 bool m_platformSoftwareVersionHasBeenSet = false;
109 bool m_requestIdHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace Greengrass
114} // namespace Aws
CreateSoftwareUpdateJobResult & WithPlatformSoftwareVersion(PlatformSoftwareVersionT &&value)
CreateSoftwareUpdateJobResult & WithRequestId(RequestIdT &&value)
CreateSoftwareUpdateJobResult & WithIotJobId(IotJobIdT &&value)
AWS_GREENGRASS_API CreateSoftwareUpdateJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSoftwareUpdateJobResult & WithIotJobArn(IotJobArnT &&value)
AWS_GREENGRASS_API CreateSoftwareUpdateJobResult()=default
AWS_GREENGRASS_API CreateSoftwareUpdateJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue