AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
StartEdgeConfigurationUpdateResult.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/kinesisvideo/KinesisVideo_EXPORTS.h>
11#include <aws/kinesisvideo/model/EdgeConfig.h>
12#include <aws/kinesisvideo/model/SyncStatus.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace KinesisVideo {
26namespace Model {
28 public:
29 AWS_KINESISVIDEO_API StartEdgeConfigurationUpdateResult() = default;
33
35
38 inline const Aws::String& GetStreamName() const { return m_streamName; }
39 template <typename StreamNameT = Aws::String>
40 void SetStreamName(StreamNameT&& value) {
41 m_streamNameHasBeenSet = true;
42 m_streamName = std::forward<StreamNameT>(value);
43 }
44 template <typename StreamNameT = Aws::String>
46 SetStreamName(std::forward<StreamNameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetStreamARN() const { return m_streamARN; }
56 template <typename StreamARNT = Aws::String>
57 void SetStreamARN(StreamARNT&& value) {
58 m_streamARNHasBeenSet = true;
59 m_streamARN = std::forward<StreamARNT>(value);
60 }
61 template <typename StreamARNT = Aws::String>
63 SetStreamARN(std::forward<StreamARNT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
73 template <typename CreationTimeT = Aws::Utils::DateTime>
74 void SetCreationTime(CreationTimeT&& value) {
75 m_creationTimeHasBeenSet = true;
76 m_creationTime = std::forward<CreationTimeT>(value);
77 }
78 template <typename CreationTimeT = Aws::Utils::DateTime>
80 SetCreationTime(std::forward<CreationTimeT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
90 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
91 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
92 m_lastUpdatedTimeHasBeenSet = true;
93 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
94 }
95 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
97 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
98 return *this;
99 }
101
103
109 inline SyncStatus GetSyncStatus() const { return m_syncStatus; }
110 inline void SetSyncStatus(SyncStatus value) {
111 m_syncStatusHasBeenSet = true;
112 m_syncStatus = value;
113 }
115 SetSyncStatus(value);
116 return *this;
117 }
119
121
124 inline const Aws::String& GetFailedStatusDetails() const { return m_failedStatusDetails; }
125 template <typename FailedStatusDetailsT = Aws::String>
126 void SetFailedStatusDetails(FailedStatusDetailsT&& value) {
127 m_failedStatusDetailsHasBeenSet = true;
128 m_failedStatusDetails = std::forward<FailedStatusDetailsT>(value);
129 }
130 template <typename FailedStatusDetailsT = Aws::String>
132 SetFailedStatusDetails(std::forward<FailedStatusDetailsT>(value));
133 return *this;
134 }
136
138
143 inline const EdgeConfig& GetEdgeConfig() const { return m_edgeConfig; }
144 template <typename EdgeConfigT = EdgeConfig>
145 void SetEdgeConfig(EdgeConfigT&& value) {
146 m_edgeConfigHasBeenSet = true;
147 m_edgeConfig = std::forward<EdgeConfigT>(value);
148 }
149 template <typename EdgeConfigT = EdgeConfig>
151 SetEdgeConfig(std::forward<EdgeConfigT>(value));
152 return *this;
153 }
155
157
158 inline const Aws::String& GetRequestId() const { return m_requestId; }
159 template <typename RequestIdT = Aws::String>
160 void SetRequestId(RequestIdT&& value) {
161 m_requestIdHasBeenSet = true;
162 m_requestId = std::forward<RequestIdT>(value);
163 }
164 template <typename RequestIdT = Aws::String>
166 SetRequestId(std::forward<RequestIdT>(value));
167 return *this;
168 }
170 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
171
172 private:
173 Aws::String m_streamName;
174
175 Aws::String m_streamARN;
176
177 Aws::Utils::DateTime m_creationTime{};
178
179 Aws::Utils::DateTime m_lastUpdatedTime{};
180
181 SyncStatus m_syncStatus{SyncStatus::NOT_SET};
182
183 Aws::String m_failedStatusDetails;
184
185 EdgeConfig m_edgeConfig;
186
187 Aws::String m_requestId;
188 Aws::Http::HttpResponseCode m_HttpResponseCode;
189 bool m_streamNameHasBeenSet = false;
190 bool m_streamARNHasBeenSet = false;
191 bool m_creationTimeHasBeenSet = false;
192 bool m_lastUpdatedTimeHasBeenSet = false;
193 bool m_syncStatusHasBeenSet = false;
194 bool m_failedStatusDetailsHasBeenSet = false;
195 bool m_edgeConfigHasBeenSet = false;
196 bool m_requestIdHasBeenSet = false;
197};
198
199} // namespace Model
200} // namespace KinesisVideo
201} // namespace Aws
StartEdgeConfigurationUpdateResult & WithEdgeConfig(EdgeConfigT &&value)
StartEdgeConfigurationUpdateResult & WithRequestId(RequestIdT &&value)
StartEdgeConfigurationUpdateResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_KINESISVIDEO_API StartEdgeConfigurationUpdateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartEdgeConfigurationUpdateResult & WithSyncStatus(SyncStatus value)
StartEdgeConfigurationUpdateResult & WithStreamName(StreamNameT &&value)
StartEdgeConfigurationUpdateResult & WithCreationTime(CreationTimeT &&value)
AWS_KINESISVIDEO_API StartEdgeConfigurationUpdateResult()=default
StartEdgeConfigurationUpdateResult & WithFailedStatusDetails(FailedStatusDetailsT &&value)
AWS_KINESISVIDEO_API StartEdgeConfigurationUpdateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartEdgeConfigurationUpdateResult & WithStreamARN(StreamARNT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue