AWS SDK for C++

AWS SDK for C++ Version 1.11.770

Loading...
Searching...
No Matches
DescribeEdgeConfigurationResult.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/EdgeAgentStatus.h>
12#include <aws/kinesisvideo/model/EdgeConfig.h>
13#include <aws/kinesisvideo/model/SyncStatus.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace KinesisVideo {
27namespace Model {
29 public:
30 AWS_KINESISVIDEO_API DescribeEdgeConfigurationResult() = 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
106 inline SyncStatus GetSyncStatus() const { return m_syncStatus; }
107 inline void SetSyncStatus(SyncStatus value) {
108 m_syncStatusHasBeenSet = true;
109 m_syncStatus = value;
110 }
112 SetSyncStatus(value);
113 return *this;
114 }
116
118
121 inline const Aws::String& GetFailedStatusDetails() const { return m_failedStatusDetails; }
122 template <typename FailedStatusDetailsT = Aws::String>
123 void SetFailedStatusDetails(FailedStatusDetailsT&& value) {
124 m_failedStatusDetailsHasBeenSet = true;
125 m_failedStatusDetails = std::forward<FailedStatusDetailsT>(value);
126 }
127 template <typename FailedStatusDetailsT = Aws::String>
129 SetFailedStatusDetails(std::forward<FailedStatusDetailsT>(value));
130 return *this;
131 }
133
135
140 inline const EdgeConfig& GetEdgeConfig() const { return m_edgeConfig; }
141 template <typename EdgeConfigT = EdgeConfig>
142 void SetEdgeConfig(EdgeConfigT&& value) {
143 m_edgeConfigHasBeenSet = true;
144 m_edgeConfig = std::forward<EdgeConfigT>(value);
145 }
146 template <typename EdgeConfigT = EdgeConfig>
148 SetEdgeConfig(std::forward<EdgeConfigT>(value));
149 return *this;
150 }
152
154
159 inline const EdgeAgentStatus& GetEdgeAgentStatus() const { return m_edgeAgentStatus; }
160 template <typename EdgeAgentStatusT = EdgeAgentStatus>
161 void SetEdgeAgentStatus(EdgeAgentStatusT&& value) {
162 m_edgeAgentStatusHasBeenSet = true;
163 m_edgeAgentStatus = std::forward<EdgeAgentStatusT>(value);
164 }
165 template <typename EdgeAgentStatusT = EdgeAgentStatus>
167 SetEdgeAgentStatus(std::forward<EdgeAgentStatusT>(value));
168 return *this;
169 }
171
173
174 inline const Aws::String& GetRequestId() const { return m_requestId; }
175 template <typename RequestIdT = Aws::String>
176 void SetRequestId(RequestIdT&& value) {
177 m_requestIdHasBeenSet = true;
178 m_requestId = std::forward<RequestIdT>(value);
179 }
180 template <typename RequestIdT = Aws::String>
182 SetRequestId(std::forward<RequestIdT>(value));
183 return *this;
184 }
186 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
187
188 private:
189 Aws::String m_streamName;
190
191 Aws::String m_streamARN;
192
193 Aws::Utils::DateTime m_creationTime{};
194
195 Aws::Utils::DateTime m_lastUpdatedTime{};
196
197 SyncStatus m_syncStatus{SyncStatus::NOT_SET};
198
199 Aws::String m_failedStatusDetails;
200
201 EdgeConfig m_edgeConfig;
202
203 EdgeAgentStatus m_edgeAgentStatus;
204
205 Aws::String m_requestId;
206 Aws::Http::HttpResponseCode m_HttpResponseCode;
207 bool m_streamNameHasBeenSet = false;
208 bool m_streamARNHasBeenSet = false;
209 bool m_creationTimeHasBeenSet = false;
210 bool m_lastUpdatedTimeHasBeenSet = false;
211 bool m_syncStatusHasBeenSet = false;
212 bool m_failedStatusDetailsHasBeenSet = false;
213 bool m_edgeConfigHasBeenSet = false;
214 bool m_edgeAgentStatusHasBeenSet = false;
215 bool m_requestIdHasBeenSet = false;
216};
217
218} // namespace Model
219} // namespace KinesisVideo
220} // namespace Aws
DescribeEdgeConfigurationResult & WithEdgeAgentStatus(EdgeAgentStatusT &&value)
DescribeEdgeConfigurationResult & WithSyncStatus(SyncStatus value)
DescribeEdgeConfigurationResult & WithCreationTime(CreationTimeT &&value)
DescribeEdgeConfigurationResult & WithRequestId(RequestIdT &&value)
DescribeEdgeConfigurationResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_KINESISVIDEO_API DescribeEdgeConfigurationResult()=default
DescribeEdgeConfigurationResult & WithFailedStatusDetails(FailedStatusDetailsT &&value)
DescribeEdgeConfigurationResult & WithStreamARN(StreamARNT &&value)
AWS_KINESISVIDEO_API DescribeEdgeConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KINESISVIDEO_API DescribeEdgeConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEdgeConfigurationResult & WithStreamName(StreamNameT &&value)
DescribeEdgeConfigurationResult & WithEdgeConfig(EdgeConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue