AWS SDK for C++

AWS SDK for C++ Version 1.11.909

Loading...
Searching...
No Matches
UpdateIngestConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
10#include <aws/ivs-realtime/model/IngestConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ivsrealtime {
24namespace Model {
26 public:
27 AWS_IVSREALTIME_API UpdateIngestConfigurationResult() = default;
30
32
37 inline const Aws::String& GetAccessControlAllowOrigin() const { return m_accessControlAllowOrigin; }
38 template <typename AccessControlAllowOriginT = Aws::String>
39 void SetAccessControlAllowOrigin(AccessControlAllowOriginT&& value) {
40 m_accessControlAllowOriginHasBeenSet = true;
41 m_accessControlAllowOrigin = std::forward<AccessControlAllowOriginT>(value);
42 }
43 template <typename AccessControlAllowOriginT = Aws::String>
45 SetAccessControlAllowOrigin(std::forward<AccessControlAllowOriginT>(value));
46 return *this;
47 }
49
51
56 inline const Aws::String& GetAccessControlExposeHeaders() const { return m_accessControlExposeHeaders; }
57 template <typename AccessControlExposeHeadersT = Aws::String>
58 void SetAccessControlExposeHeaders(AccessControlExposeHeadersT&& value) {
59 m_accessControlExposeHeadersHasBeenSet = true;
60 m_accessControlExposeHeaders = std::forward<AccessControlExposeHeadersT>(value);
61 }
62 template <typename AccessControlExposeHeadersT = Aws::String>
64 SetAccessControlExposeHeaders(std::forward<AccessControlExposeHeadersT>(value));
65 return *this;
66 }
68
70
75 inline const Aws::String& GetCacheControl() const { return m_cacheControl; }
76 template <typename CacheControlT = Aws::String>
77 void SetCacheControl(CacheControlT&& value) {
78 m_cacheControlHasBeenSet = true;
79 m_cacheControl = std::forward<CacheControlT>(value);
80 }
81 template <typename CacheControlT = Aws::String>
83 SetCacheControl(std::forward<CacheControlT>(value));
84 return *this;
85 }
87
89
94 inline const Aws::String& GetContentSecurityPolicy() const { return m_contentSecurityPolicy; }
95 template <typename ContentSecurityPolicyT = Aws::String>
96 void SetContentSecurityPolicy(ContentSecurityPolicyT&& value) {
97 m_contentSecurityPolicyHasBeenSet = true;
98 m_contentSecurityPolicy = std::forward<ContentSecurityPolicyT>(value);
99 }
100 template <typename ContentSecurityPolicyT = Aws::String>
102 SetContentSecurityPolicy(std::forward<ContentSecurityPolicyT>(value));
103 return *this;
104 }
106
108
113 inline const Aws::String& GetStrictTransportSecurity() const { return m_strictTransportSecurity; }
114 template <typename StrictTransportSecurityT = Aws::String>
115 void SetStrictTransportSecurity(StrictTransportSecurityT&& value) {
116 m_strictTransportSecurityHasBeenSet = true;
117 m_strictTransportSecurity = std::forward<StrictTransportSecurityT>(value);
118 }
119 template <typename StrictTransportSecurityT = Aws::String>
121 SetStrictTransportSecurity(std::forward<StrictTransportSecurityT>(value));
122 return *this;
123 }
125
127
132 inline const Aws::String& GetXContentTypeOptions() const { return m_xContentTypeOptions; }
133 template <typename XContentTypeOptionsT = Aws::String>
134 void SetXContentTypeOptions(XContentTypeOptionsT&& value) {
135 m_xContentTypeOptionsHasBeenSet = true;
136 m_xContentTypeOptions = std::forward<XContentTypeOptionsT>(value);
137 }
138 template <typename XContentTypeOptionsT = Aws::String>
140 SetXContentTypeOptions(std::forward<XContentTypeOptionsT>(value));
141 return *this;
142 }
144
146
151 inline const Aws::String& GetXFrameOptions() const { return m_xFrameOptions; }
152 template <typename XFrameOptionsT = Aws::String>
153 void SetXFrameOptions(XFrameOptionsT&& value) {
154 m_xFrameOptionsHasBeenSet = true;
155 m_xFrameOptions = std::forward<XFrameOptionsT>(value);
156 }
157 template <typename XFrameOptionsT = Aws::String>
159 SetXFrameOptions(std::forward<XFrameOptionsT>(value));
160 return *this;
161 }
163
165
168 inline const IngestConfiguration& GetIngestConfiguration() const { return m_ingestConfiguration; }
169 template <typename IngestConfigurationT = IngestConfiguration>
170 void SetIngestConfiguration(IngestConfigurationT&& value) {
171 m_ingestConfigurationHasBeenSet = true;
172 m_ingestConfiguration = std::forward<IngestConfigurationT>(value);
173 }
174 template <typename IngestConfigurationT = IngestConfiguration>
176 SetIngestConfiguration(std::forward<IngestConfigurationT>(value));
177 return *this;
178 }
180
182
183 inline const Aws::String& GetRequestId() const { return m_requestId; }
184 template <typename RequestIdT = Aws::String>
185 void SetRequestId(RequestIdT&& value) {
186 m_requestIdHasBeenSet = true;
187 m_requestId = std::forward<RequestIdT>(value);
188 }
189 template <typename RequestIdT = Aws::String>
191 SetRequestId(std::forward<RequestIdT>(value));
192 return *this;
193 }
195 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
196
197 private:
198 Aws::String m_accessControlAllowOrigin;
199
200 Aws::String m_accessControlExposeHeaders;
201
202 Aws::String m_cacheControl;
203
204 Aws::String m_contentSecurityPolicy;
205
206 Aws::String m_strictTransportSecurity;
207
208 Aws::String m_xContentTypeOptions;
209
210 Aws::String m_xFrameOptions;
211
212 IngestConfiguration m_ingestConfiguration;
213
214 Aws::String m_requestId;
215 Aws::Http::HttpResponseCode m_HttpResponseCode;
216 bool m_accessControlAllowOriginHasBeenSet = false;
217 bool m_accessControlExposeHeadersHasBeenSet = false;
218 bool m_cacheControlHasBeenSet = false;
219 bool m_contentSecurityPolicyHasBeenSet = false;
220 bool m_strictTransportSecurityHasBeenSet = false;
221 bool m_xContentTypeOptionsHasBeenSet = false;
222 bool m_xFrameOptionsHasBeenSet = false;
223 bool m_ingestConfigurationHasBeenSet = false;
224 bool m_requestIdHasBeenSet = false;
225};
226
227} // namespace Model
228} // namespace ivsrealtime
229} // namespace Aws
AWS_IVSREALTIME_API UpdateIngestConfigurationResult()=default
AWS_IVSREALTIME_API UpdateIngestConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateIngestConfigurationResult & WithXContentTypeOptions(XContentTypeOptionsT &&value)
UpdateIngestConfigurationResult & WithIngestConfiguration(IngestConfigurationT &&value)
UpdateIngestConfigurationResult & WithAccessControlExposeHeaders(AccessControlExposeHeadersT &&value)
UpdateIngestConfigurationResult & WithCacheControl(CacheControlT &&value)
AWS_IVSREALTIME_API UpdateIngestConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateIngestConfigurationResult & WithXFrameOptions(XFrameOptionsT &&value)
UpdateIngestConfigurationResult & WithContentSecurityPolicy(ContentSecurityPolicyT &&value)
UpdateIngestConfigurationResult & WithRequestId(RequestIdT &&value)
void SetAccessControlExposeHeaders(AccessControlExposeHeadersT &&value)
UpdateIngestConfigurationResult & WithStrictTransportSecurity(StrictTransportSecurityT &&value)
UpdateIngestConfigurationResult & WithAccessControlAllowOrigin(AccessControlAllowOriginT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue