AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartEdgeConfigurationUpdateResult.h
1
6#pragma once
7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/kinesisvideo/model/SyncStatus.h>
11#include <aws/kinesisvideo/model/EdgeConfig.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace KinesisVideo
27{
28namespace Model
29{
31 {
32 public:
33 AWS_KINESISVIDEO_API StartEdgeConfigurationUpdateResult() = default;
36
37
39
42 inline const Aws::String& GetStreamName() const { return m_streamName; }
43 template<typename StreamNameT = Aws::String>
44 void SetStreamName(StreamNameT&& value) { m_streamNameHasBeenSet = true; m_streamName = std::forward<StreamNameT>(value); }
45 template<typename StreamNameT = Aws::String>
46 StartEdgeConfigurationUpdateResult& WithStreamName(StreamNameT&& value) { SetStreamName(std::forward<StreamNameT>(value)); return *this;}
48
50
53 inline const Aws::String& GetStreamARN() const { return m_streamARN; }
54 template<typename StreamARNT = Aws::String>
55 void SetStreamARN(StreamARNT&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::forward<StreamARNT>(value); }
56 template<typename StreamARNT = Aws::String>
57 StartEdgeConfigurationUpdateResult& WithStreamARN(StreamARNT&& value) { SetStreamARN(std::forward<StreamARNT>(value)); return *this;}
59
61
64 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
65 template<typename CreationTimeT = Aws::Utils::DateTime>
66 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
67 template<typename CreationTimeT = Aws::Utils::DateTime>
68 StartEdgeConfigurationUpdateResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
76 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
77 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
78 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
79 StartEdgeConfigurationUpdateResult& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
81
83
89 inline SyncStatus GetSyncStatus() const { return m_syncStatus; }
90 inline void SetSyncStatus(SyncStatus value) { m_syncStatusHasBeenSet = true; m_syncStatus = value; }
93
95
98 inline const Aws::String& GetFailedStatusDetails() const { return m_failedStatusDetails; }
99 template<typename FailedStatusDetailsT = Aws::String>
100 void SetFailedStatusDetails(FailedStatusDetailsT&& value) { m_failedStatusDetailsHasBeenSet = true; m_failedStatusDetails = std::forward<FailedStatusDetailsT>(value); }
101 template<typename FailedStatusDetailsT = Aws::String>
102 StartEdgeConfigurationUpdateResult& WithFailedStatusDetails(FailedStatusDetailsT&& value) { SetFailedStatusDetails(std::forward<FailedStatusDetailsT>(value)); return *this;}
104
106
111 inline const EdgeConfig& GetEdgeConfig() const { return m_edgeConfig; }
112 template<typename EdgeConfigT = EdgeConfig>
113 void SetEdgeConfig(EdgeConfigT&& value) { m_edgeConfigHasBeenSet = true; m_edgeConfig = std::forward<EdgeConfigT>(value); }
114 template<typename EdgeConfigT = EdgeConfig>
115 StartEdgeConfigurationUpdateResult& WithEdgeConfig(EdgeConfigT&& value) { SetEdgeConfig(std::forward<EdgeConfigT>(value)); return *this;}
117
119
120 inline const Aws::String& GetRequestId() const { return m_requestId; }
121 template<typename RequestIdT = Aws::String>
122 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
123 template<typename RequestIdT = Aws::String>
124 StartEdgeConfigurationUpdateResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
126 private:
127
128 Aws::String m_streamName;
129 bool m_streamNameHasBeenSet = false;
130
131 Aws::String m_streamARN;
132 bool m_streamARNHasBeenSet = false;
133
134 Aws::Utils::DateTime m_creationTime{};
135 bool m_creationTimeHasBeenSet = false;
136
137 Aws::Utils::DateTime m_lastUpdatedTime{};
138 bool m_lastUpdatedTimeHasBeenSet = false;
139
140 SyncStatus m_syncStatus{SyncStatus::NOT_SET};
141 bool m_syncStatusHasBeenSet = false;
142
143 Aws::String m_failedStatusDetails;
144 bool m_failedStatusDetailsHasBeenSet = false;
145
146 EdgeConfig m_edgeConfig;
147 bool m_edgeConfigHasBeenSet = false;
148
149 Aws::String m_requestId;
150 bool m_requestIdHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace KinesisVideo
155} // 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