AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
CreateSoftwareUpdateJobResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/greengrass/Greengrass_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace Greengrass {
22namespace Model {
24 public:
25 AWS_GREENGRASS_API CreateSoftwareUpdateJobResult() = default;
28
30
33 inline const Aws::String& GetIotJobArn() const { return m_iotJobArn; }
34 template <typename IotJobArnT = Aws::String>
35 void SetIotJobArn(IotJobArnT&& value) {
36 m_iotJobArnHasBeenSet = true;
37 m_iotJobArn = std::forward<IotJobArnT>(value);
38 }
39 template <typename IotJobArnT = Aws::String>
41 SetIotJobArn(std::forward<IotJobArnT>(value));
42 return *this;
43 }
45
47
50 inline const Aws::String& GetIotJobId() const { return m_iotJobId; }
51 template <typename IotJobIdT = Aws::String>
52 void SetIotJobId(IotJobIdT&& value) {
53 m_iotJobIdHasBeenSet = true;
54 m_iotJobId = std::forward<IotJobIdT>(value);
55 }
56 template <typename IotJobIdT = Aws::String>
58 SetIotJobId(std::forward<IotJobIdT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetPlatformSoftwareVersion() const { return m_platformSoftwareVersion; }
68 template <typename PlatformSoftwareVersionT = Aws::String>
69 void SetPlatformSoftwareVersion(PlatformSoftwareVersionT&& value) {
70 m_platformSoftwareVersionHasBeenSet = true;
71 m_platformSoftwareVersion = std::forward<PlatformSoftwareVersionT>(value);
72 }
73 template <typename PlatformSoftwareVersionT = Aws::String>
75 SetPlatformSoftwareVersion(std::forward<PlatformSoftwareVersionT>(value));
76 return *this;
77 }
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template <typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) {
85 m_requestIdHasBeenSet = true;
86 m_requestId = std::forward<RequestIdT>(value);
87 }
88 template <typename RequestIdT = Aws::String>
90 SetRequestId(std::forward<RequestIdT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_iotJobArn;
96
97 Aws::String m_iotJobId;
98
99 Aws::String m_platformSoftwareVersion;
100
101 Aws::String m_requestId;
102 bool m_iotJobArnHasBeenSet = false;
103 bool m_iotJobIdHasBeenSet = false;
104 bool m_platformSoftwareVersionHasBeenSet = false;
105 bool m_requestIdHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace Greengrass
110} // 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