AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DescribeEdgeConfigurationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
10#include <aws/kinesisvideo/model/EdgeAgentStatus.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 DescribeEdgeConfigurationResult() = default;
32
34
37 inline const Aws::String& GetStreamName() const { return m_streamName; }
38 template <typename StreamNameT = Aws::String>
39 void SetStreamName(StreamNameT&& value) {
40 m_streamNameHasBeenSet = true;
41 m_streamName = std::forward<StreamNameT>(value);
42 }
43 template <typename StreamNameT = Aws::String>
45 SetStreamName(std::forward<StreamNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetStreamARN() const { return m_streamARN; }
55 template <typename StreamARNT = Aws::String>
56 void SetStreamARN(StreamARNT&& value) {
57 m_streamARNHasBeenSet = true;
58 m_streamARN = std::forward<StreamARNT>(value);
59 }
60 template <typename StreamARNT = Aws::String>
62 SetStreamARN(std::forward<StreamARNT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
72 template <typename CreationTimeT = Aws::Utils::DateTime>
73 void SetCreationTime(CreationTimeT&& value) {
74 m_creationTimeHasBeenSet = true;
75 m_creationTime = std::forward<CreationTimeT>(value);
76 }
77 template <typename CreationTimeT = Aws::Utils::DateTime>
79 SetCreationTime(std::forward<CreationTimeT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
89 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
90 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
91 m_lastUpdatedTimeHasBeenSet = true;
92 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
93 }
94 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
96 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
97 return *this;
98 }
100
102
105 inline SyncStatus GetSyncStatus() const { return m_syncStatus; }
106 inline void SetSyncStatus(SyncStatus value) {
107 m_syncStatusHasBeenSet = true;
108 m_syncStatus = value;
109 }
111 SetSyncStatus(value);
112 return *this;
113 }
115
117
120 inline const Aws::String& GetFailedStatusDetails() const { return m_failedStatusDetails; }
121 template <typename FailedStatusDetailsT = Aws::String>
122 void SetFailedStatusDetails(FailedStatusDetailsT&& value) {
123 m_failedStatusDetailsHasBeenSet = true;
124 m_failedStatusDetails = std::forward<FailedStatusDetailsT>(value);
125 }
126 template <typename FailedStatusDetailsT = Aws::String>
128 SetFailedStatusDetails(std::forward<FailedStatusDetailsT>(value));
129 return *this;
130 }
132
134
139 inline const EdgeConfig& GetEdgeConfig() const { return m_edgeConfig; }
140 template <typename EdgeConfigT = EdgeConfig>
141 void SetEdgeConfig(EdgeConfigT&& value) {
142 m_edgeConfigHasBeenSet = true;
143 m_edgeConfig = std::forward<EdgeConfigT>(value);
144 }
145 template <typename EdgeConfigT = EdgeConfig>
147 SetEdgeConfig(std::forward<EdgeConfigT>(value));
148 return *this;
149 }
151
153
158 inline const EdgeAgentStatus& GetEdgeAgentStatus() const { return m_edgeAgentStatus; }
159 template <typename EdgeAgentStatusT = EdgeAgentStatus>
160 void SetEdgeAgentStatus(EdgeAgentStatusT&& value) {
161 m_edgeAgentStatusHasBeenSet = true;
162 m_edgeAgentStatus = std::forward<EdgeAgentStatusT>(value);
163 }
164 template <typename EdgeAgentStatusT = EdgeAgentStatus>
166 SetEdgeAgentStatus(std::forward<EdgeAgentStatusT>(value));
167 return *this;
168 }
170
172
173 inline const Aws::String& GetRequestId() const { return m_requestId; }
174 template <typename RequestIdT = Aws::String>
175 void SetRequestId(RequestIdT&& value) {
176 m_requestIdHasBeenSet = true;
177 m_requestId = std::forward<RequestIdT>(value);
178 }
179 template <typename RequestIdT = Aws::String>
181 SetRequestId(std::forward<RequestIdT>(value));
182 return *this;
183 }
185 private:
186 Aws::String m_streamName;
187
188 Aws::String m_streamARN;
189
190 Aws::Utils::DateTime m_creationTime{};
191
192 Aws::Utils::DateTime m_lastUpdatedTime{};
193
194 SyncStatus m_syncStatus{SyncStatus::NOT_SET};
195
196 Aws::String m_failedStatusDetails;
197
198 EdgeConfig m_edgeConfig;
199
200 EdgeAgentStatus m_edgeAgentStatus;
201
202 Aws::String m_requestId;
203 bool m_streamNameHasBeenSet = false;
204 bool m_streamARNHasBeenSet = false;
205 bool m_creationTimeHasBeenSet = false;
206 bool m_lastUpdatedTimeHasBeenSet = false;
207 bool m_syncStatusHasBeenSet = false;
208 bool m_failedStatusDetailsHasBeenSet = false;
209 bool m_edgeConfigHasBeenSet = false;
210 bool m_edgeAgentStatusHasBeenSet = false;
211 bool m_requestIdHasBeenSet = false;
212};
213
214} // namespace Model
215} // namespace KinesisVideo
216} // 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