AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
GetOtaTaskConfigurationResult.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/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
11#include <aws/iot-managed-integrations/model/PushConfig.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 IoTManagedIntegrations {
25namespace Model {
27 public:
28 AWS_IOTMANAGEDINTEGRATIONS_API GetOtaTaskConfigurationResult() = default;
30 AWS_IOTMANAGEDINTEGRATIONS_API GetOtaTaskConfigurationResult& operator=(
32
34
37 inline const Aws::String& GetTaskConfigurationId() const { return m_taskConfigurationId; }
38 template <typename TaskConfigurationIdT = Aws::String>
39 void SetTaskConfigurationId(TaskConfigurationIdT&& value) {
40 m_taskConfigurationIdHasBeenSet = true;
41 m_taskConfigurationId = std::forward<TaskConfigurationIdT>(value);
42 }
43 template <typename TaskConfigurationIdT = Aws::String>
45 SetTaskConfigurationId(std::forward<TaskConfigurationIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 template <typename NameT = Aws::String>
56 void SetName(NameT&& value) {
57 m_nameHasBeenSet = true;
58 m_name = std::forward<NameT>(value);
59 }
60 template <typename NameT = Aws::String>
62 SetName(std::forward<NameT>(value));
63 return *this;
64 }
66
68
71 inline const PushConfig& GetPushConfig() const { return m_pushConfig; }
72 template <typename PushConfigT = PushConfig>
73 void SetPushConfig(PushConfigT&& value) {
74 m_pushConfigHasBeenSet = true;
75 m_pushConfig = std::forward<PushConfigT>(value);
76 }
77 template <typename PushConfigT = PushConfig>
79 SetPushConfig(std::forward<PushConfigT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetDescription() const { return m_description; }
89 template <typename DescriptionT = Aws::String>
90 void SetDescription(DescriptionT&& value) {
91 m_descriptionHasBeenSet = true;
92 m_description = std::forward<DescriptionT>(value);
93 }
94 template <typename DescriptionT = Aws::String>
96 SetDescription(std::forward<DescriptionT>(value));
97 return *this;
98 }
100
102
106 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
107 template <typename CreatedAtT = Aws::Utils::DateTime>
108 void SetCreatedAt(CreatedAtT&& value) {
109 m_createdAtHasBeenSet = true;
110 m_createdAt = std::forward<CreatedAtT>(value);
111 }
112 template <typename CreatedAtT = Aws::Utils::DateTime>
114 SetCreatedAt(std::forward<CreatedAtT>(value));
115 return *this;
116 }
118
120
121 inline const Aws::String& GetRequestId() const { return m_requestId; }
122 template <typename RequestIdT = Aws::String>
123 void SetRequestId(RequestIdT&& value) {
124 m_requestIdHasBeenSet = true;
125 m_requestId = std::forward<RequestIdT>(value);
126 }
127 template <typename RequestIdT = Aws::String>
129 SetRequestId(std::forward<RequestIdT>(value));
130 return *this;
131 }
133 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
134
135 private:
136 Aws::String m_taskConfigurationId;
137
138 Aws::String m_name;
139
140 PushConfig m_pushConfig;
141
142 Aws::String m_description;
143
144 Aws::Utils::DateTime m_createdAt{};
145
146 Aws::String m_requestId;
147 Aws::Http::HttpResponseCode m_HttpResponseCode;
148 bool m_taskConfigurationIdHasBeenSet = false;
149 bool m_nameHasBeenSet = false;
150 bool m_pushConfigHasBeenSet = false;
151 bool m_descriptionHasBeenSet = false;
152 bool m_createdAtHasBeenSet = false;
153 bool m_requestIdHasBeenSet = false;
154};
155
156} // namespace Model
157} // namespace IoTManagedIntegrations
158} // namespace Aws
GetOtaTaskConfigurationResult & WithTaskConfigurationId(TaskConfigurationIdT &&value)
GetOtaTaskConfigurationResult & WithPushConfig(PushConfigT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API GetOtaTaskConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTMANAGEDINTEGRATIONS_API GetOtaTaskConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetOtaTaskConfigurationResult & WithDescription(DescriptionT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API GetOtaTaskConfigurationResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue