AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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
34 inline const Aws::String& GetAccessControlAllowOrigin() const { return m_accessControlAllowOrigin; }
35 template <typename AccessControlAllowOriginT = Aws::String>
36 void SetAccessControlAllowOrigin(AccessControlAllowOriginT&& value) {
37 m_accessControlAllowOriginHasBeenSet = true;
38 m_accessControlAllowOrigin = std::forward<AccessControlAllowOriginT>(value);
39 }
40 template <typename AccessControlAllowOriginT = Aws::String>
42 SetAccessControlAllowOrigin(std::forward<AccessControlAllowOriginT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetAccessControlExposeHeaders() const { return m_accessControlExposeHeaders; }
52 template <typename AccessControlExposeHeadersT = Aws::String>
53 void SetAccessControlExposeHeaders(AccessControlExposeHeadersT&& value) {
54 m_accessControlExposeHeadersHasBeenSet = true;
55 m_accessControlExposeHeaders = std::forward<AccessControlExposeHeadersT>(value);
56 }
57 template <typename AccessControlExposeHeadersT = Aws::String>
59 SetAccessControlExposeHeaders(std::forward<AccessControlExposeHeadersT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetCacheControl() const { return m_cacheControl; }
69 template <typename CacheControlT = Aws::String>
70 void SetCacheControl(CacheControlT&& value) {
71 m_cacheControlHasBeenSet = true;
72 m_cacheControl = std::forward<CacheControlT>(value);
73 }
74 template <typename CacheControlT = Aws::String>
76 SetCacheControl(std::forward<CacheControlT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetContentSecurityPolicy() const { return m_contentSecurityPolicy; }
86 template <typename ContentSecurityPolicyT = Aws::String>
87 void SetContentSecurityPolicy(ContentSecurityPolicyT&& value) {
88 m_contentSecurityPolicyHasBeenSet = true;
89 m_contentSecurityPolicy = std::forward<ContentSecurityPolicyT>(value);
90 }
91 template <typename ContentSecurityPolicyT = Aws::String>
93 SetContentSecurityPolicy(std::forward<ContentSecurityPolicyT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetStrictTransportSecurity() const { return m_strictTransportSecurity; }
103 template <typename StrictTransportSecurityT = Aws::String>
104 void SetStrictTransportSecurity(StrictTransportSecurityT&& value) {
105 m_strictTransportSecurityHasBeenSet = true;
106 m_strictTransportSecurity = std::forward<StrictTransportSecurityT>(value);
107 }
108 template <typename StrictTransportSecurityT = Aws::String>
110 SetStrictTransportSecurity(std::forward<StrictTransportSecurityT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::String& GetXContentTypeOptions() const { return m_xContentTypeOptions; }
120 template <typename XContentTypeOptionsT = Aws::String>
121 void SetXContentTypeOptions(XContentTypeOptionsT&& value) {
122 m_xContentTypeOptionsHasBeenSet = true;
123 m_xContentTypeOptions = std::forward<XContentTypeOptionsT>(value);
124 }
125 template <typename XContentTypeOptionsT = Aws::String>
127 SetXContentTypeOptions(std::forward<XContentTypeOptionsT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::String& GetXFrameOptions() const { return m_xFrameOptions; }
137 template <typename XFrameOptionsT = Aws::String>
138 void SetXFrameOptions(XFrameOptionsT&& value) {
139 m_xFrameOptionsHasBeenSet = true;
140 m_xFrameOptions = std::forward<XFrameOptionsT>(value);
141 }
142 template <typename XFrameOptionsT = Aws::String>
144 SetXFrameOptions(std::forward<XFrameOptionsT>(value));
145 return *this;
146 }
148
150
151 inline const Aws::String& GetRequestId() const { return m_requestId; }
152 template <typename RequestIdT = Aws::String>
153 void SetRequestId(RequestIdT&& value) {
154 m_requestIdHasBeenSet = true;
155 m_requestId = std::forward<RequestIdT>(value);
156 }
157 template <typename RequestIdT = Aws::String>
159 SetRequestId(std::forward<RequestIdT>(value));
160 return *this;
161 }
163 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
164
165 private:
166 Aws::String m_accessControlAllowOrigin;
167
168 Aws::String m_accessControlExposeHeaders;
169
170 Aws::String m_cacheControl;
171
172 Aws::String m_contentSecurityPolicy;
173
174 Aws::String m_strictTransportSecurity;
175
176 Aws::String m_xContentTypeOptions;
177
178 Aws::String m_xFrameOptions;
179
180 Aws::String m_requestId;
181 Aws::Http::HttpResponseCode m_HttpResponseCode;
182 bool m_accessControlAllowOriginHasBeenSet = false;
183 bool m_accessControlExposeHeadersHasBeenSet = false;
184 bool m_cacheControlHasBeenSet = false;
185 bool m_contentSecurityPolicyHasBeenSet = false;
186 bool m_strictTransportSecurityHasBeenSet = false;
187 bool m_xContentTypeOptionsHasBeenSet = false;
188 bool m_xFrameOptionsHasBeenSet = false;
189 bool m_requestIdHasBeenSet = false;
190};
191
192} // namespace Model
193} // namespace ivsrealtime
194} // 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