AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
StopParticipantReplicationResult.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
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace ivsrealtime {
23namespace Model {
25 public:
26 AWS_IVSREALTIME_API StopParticipantReplicationResult() = default;
29
31
36 inline const Aws::String& GetAccessControlAllowOrigin() const { return m_accessControlAllowOrigin; }
37 template <typename AccessControlAllowOriginT = Aws::String>
38 void SetAccessControlAllowOrigin(AccessControlAllowOriginT&& value) {
39 m_accessControlAllowOriginHasBeenSet = true;
40 m_accessControlAllowOrigin = std::forward<AccessControlAllowOriginT>(value);
41 }
42 template <typename AccessControlAllowOriginT = Aws::String>
44 SetAccessControlAllowOrigin(std::forward<AccessControlAllowOriginT>(value));
45 return *this;
46 }
48
50
55 inline const Aws::String& GetAccessControlExposeHeaders() const { return m_accessControlExposeHeaders; }
56 template <typename AccessControlExposeHeadersT = Aws::String>
57 void SetAccessControlExposeHeaders(AccessControlExposeHeadersT&& value) {
58 m_accessControlExposeHeadersHasBeenSet = true;
59 m_accessControlExposeHeaders = std::forward<AccessControlExposeHeadersT>(value);
60 }
61 template <typename AccessControlExposeHeadersT = Aws::String>
63 SetAccessControlExposeHeaders(std::forward<AccessControlExposeHeadersT>(value));
64 return *this;
65 }
67
69
74 inline const Aws::String& GetCacheControl() const { return m_cacheControl; }
75 template <typename CacheControlT = Aws::String>
76 void SetCacheControl(CacheControlT&& value) {
77 m_cacheControlHasBeenSet = true;
78 m_cacheControl = std::forward<CacheControlT>(value);
79 }
80 template <typename CacheControlT = Aws::String>
82 SetCacheControl(std::forward<CacheControlT>(value));
83 return *this;
84 }
86
88
93 inline const Aws::String& GetContentSecurityPolicy() const { return m_contentSecurityPolicy; }
94 template <typename ContentSecurityPolicyT = Aws::String>
95 void SetContentSecurityPolicy(ContentSecurityPolicyT&& value) {
96 m_contentSecurityPolicyHasBeenSet = true;
97 m_contentSecurityPolicy = std::forward<ContentSecurityPolicyT>(value);
98 }
99 template <typename ContentSecurityPolicyT = Aws::String>
101 SetContentSecurityPolicy(std::forward<ContentSecurityPolicyT>(value));
102 return *this;
103 }
105
107
112 inline const Aws::String& GetStrictTransportSecurity() const { return m_strictTransportSecurity; }
113 template <typename StrictTransportSecurityT = Aws::String>
114 void SetStrictTransportSecurity(StrictTransportSecurityT&& value) {
115 m_strictTransportSecurityHasBeenSet = true;
116 m_strictTransportSecurity = std::forward<StrictTransportSecurityT>(value);
117 }
118 template <typename StrictTransportSecurityT = Aws::String>
120 SetStrictTransportSecurity(std::forward<StrictTransportSecurityT>(value));
121 return *this;
122 }
124
126
131 inline const Aws::String& GetXContentTypeOptions() const { return m_xContentTypeOptions; }
132 template <typename XContentTypeOptionsT = Aws::String>
133 void SetXContentTypeOptions(XContentTypeOptionsT&& value) {
134 m_xContentTypeOptionsHasBeenSet = true;
135 m_xContentTypeOptions = std::forward<XContentTypeOptionsT>(value);
136 }
137 template <typename XContentTypeOptionsT = Aws::String>
139 SetXContentTypeOptions(std::forward<XContentTypeOptionsT>(value));
140 return *this;
141 }
143
145
150 inline const Aws::String& GetXFrameOptions() const { return m_xFrameOptions; }
151 template <typename XFrameOptionsT = Aws::String>
152 void SetXFrameOptions(XFrameOptionsT&& value) {
153 m_xFrameOptionsHasBeenSet = true;
154 m_xFrameOptions = std::forward<XFrameOptionsT>(value);
155 }
156 template <typename XFrameOptionsT = Aws::String>
158 SetXFrameOptions(std::forward<XFrameOptionsT>(value));
159 return *this;
160 }
162
164
165 inline const Aws::String& GetRequestId() const { return m_requestId; }
166 template <typename RequestIdT = Aws::String>
167 void SetRequestId(RequestIdT&& value) {
168 m_requestIdHasBeenSet = true;
169 m_requestId = std::forward<RequestIdT>(value);
170 }
171 template <typename RequestIdT = Aws::String>
173 SetRequestId(std::forward<RequestIdT>(value));
174 return *this;
175 }
177 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
178
179 private:
180 Aws::String m_accessControlAllowOrigin;
181
182 Aws::String m_accessControlExposeHeaders;
183
184 Aws::String m_cacheControl;
185
186 Aws::String m_contentSecurityPolicy;
187
188 Aws::String m_strictTransportSecurity;
189
190 Aws::String m_xContentTypeOptions;
191
192 Aws::String m_xFrameOptions;
193
194 Aws::String m_requestId;
195 Aws::Http::HttpResponseCode m_HttpResponseCode;
196 bool m_accessControlAllowOriginHasBeenSet = false;
197 bool m_accessControlExposeHeadersHasBeenSet = false;
198 bool m_cacheControlHasBeenSet = false;
199 bool m_contentSecurityPolicyHasBeenSet = false;
200 bool m_strictTransportSecurityHasBeenSet = false;
201 bool m_xContentTypeOptionsHasBeenSet = false;
202 bool m_xFrameOptionsHasBeenSet = false;
203 bool m_requestIdHasBeenSet = false;
204};
205
206} // namespace Model
207} // namespace ivsrealtime
208} // namespace Aws
StopParticipantReplicationResult & WithContentSecurityPolicy(ContentSecurityPolicyT &&value)
AWS_IVSREALTIME_API StopParticipantReplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StopParticipantReplicationResult & WithXContentTypeOptions(XContentTypeOptionsT &&value)
StopParticipantReplicationResult & WithAccessControlExposeHeaders(AccessControlExposeHeadersT &&value)
StopParticipantReplicationResult & WithXFrameOptions(XFrameOptionsT &&value)
AWS_IVSREALTIME_API StopParticipantReplicationResult()=default
StopParticipantReplicationResult & WithRequestId(RequestIdT &&value)
StopParticipantReplicationResult & WithAccessControlAllowOrigin(AccessControlAllowOriginT &&value)
StopParticipantReplicationResult & WithStrictTransportSecurity(StrictTransportSecurityT &&value)
StopParticipantReplicationResult & WithCacheControl(CacheControlT &&value)
AWS_IVSREALTIME_API StopParticipantReplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue