AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
StartParticipantReplicationResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace ivsrealtime {
22namespace Model {
24 public:
25 AWS_IVSREALTIME_API StartParticipantReplicationResult() = default;
28
30
33 inline const Aws::String& GetAccessControlAllowOrigin() const { return m_accessControlAllowOrigin; }
34 template <typename AccessControlAllowOriginT = Aws::String>
35 void SetAccessControlAllowOrigin(AccessControlAllowOriginT&& value) {
36 m_accessControlAllowOriginHasBeenSet = true;
37 m_accessControlAllowOrigin = std::forward<AccessControlAllowOriginT>(value);
38 }
39 template <typename AccessControlAllowOriginT = Aws::String>
41 SetAccessControlAllowOrigin(std::forward<AccessControlAllowOriginT>(value));
42 return *this;
43 }
45
47
50 inline const Aws::String& GetAccessControlExposeHeaders() const { return m_accessControlExposeHeaders; }
51 template <typename AccessControlExposeHeadersT = Aws::String>
52 void SetAccessControlExposeHeaders(AccessControlExposeHeadersT&& value) {
53 m_accessControlExposeHeadersHasBeenSet = true;
54 m_accessControlExposeHeaders = std::forward<AccessControlExposeHeadersT>(value);
55 }
56 template <typename AccessControlExposeHeadersT = Aws::String>
58 SetAccessControlExposeHeaders(std::forward<AccessControlExposeHeadersT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetCacheControl() const { return m_cacheControl; }
68 template <typename CacheControlT = Aws::String>
69 void SetCacheControl(CacheControlT&& value) {
70 m_cacheControlHasBeenSet = true;
71 m_cacheControl = std::forward<CacheControlT>(value);
72 }
73 template <typename CacheControlT = Aws::String>
75 SetCacheControl(std::forward<CacheControlT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetContentSecurityPolicy() const { return m_contentSecurityPolicy; }
85 template <typename ContentSecurityPolicyT = Aws::String>
86 void SetContentSecurityPolicy(ContentSecurityPolicyT&& value) {
87 m_contentSecurityPolicyHasBeenSet = true;
88 m_contentSecurityPolicy = std::forward<ContentSecurityPolicyT>(value);
89 }
90 template <typename ContentSecurityPolicyT = Aws::String>
92 SetContentSecurityPolicy(std::forward<ContentSecurityPolicyT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetStrictTransportSecurity() const { return m_strictTransportSecurity; }
102 template <typename StrictTransportSecurityT = Aws::String>
103 void SetStrictTransportSecurity(StrictTransportSecurityT&& value) {
104 m_strictTransportSecurityHasBeenSet = true;
105 m_strictTransportSecurity = std::forward<StrictTransportSecurityT>(value);
106 }
107 template <typename StrictTransportSecurityT = Aws::String>
109 SetStrictTransportSecurity(std::forward<StrictTransportSecurityT>(value));
110 return *this;
111 }
113
115
118 inline const Aws::String& GetXContentTypeOptions() const { return m_xContentTypeOptions; }
119 template <typename XContentTypeOptionsT = Aws::String>
120 void SetXContentTypeOptions(XContentTypeOptionsT&& value) {
121 m_xContentTypeOptionsHasBeenSet = true;
122 m_xContentTypeOptions = std::forward<XContentTypeOptionsT>(value);
123 }
124 template <typename XContentTypeOptionsT = Aws::String>
126 SetXContentTypeOptions(std::forward<XContentTypeOptionsT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetXFrameOptions() const { return m_xFrameOptions; }
136 template <typename XFrameOptionsT = Aws::String>
137 void SetXFrameOptions(XFrameOptionsT&& value) {
138 m_xFrameOptionsHasBeenSet = true;
139 m_xFrameOptions = std::forward<XFrameOptionsT>(value);
140 }
141 template <typename XFrameOptionsT = Aws::String>
143 SetXFrameOptions(std::forward<XFrameOptionsT>(value));
144 return *this;
145 }
147
149
150 inline const Aws::String& GetRequestId() const { return m_requestId; }
151 template <typename RequestIdT = Aws::String>
152 void SetRequestId(RequestIdT&& value) {
153 m_requestIdHasBeenSet = true;
154 m_requestId = std::forward<RequestIdT>(value);
155 }
156 template <typename RequestIdT = Aws::String>
158 SetRequestId(std::forward<RequestIdT>(value));
159 return *this;
160 }
162 private:
163 Aws::String m_accessControlAllowOrigin;
164
165 Aws::String m_accessControlExposeHeaders;
166
167 Aws::String m_cacheControl;
168
169 Aws::String m_contentSecurityPolicy;
170
171 Aws::String m_strictTransportSecurity;
172
173 Aws::String m_xContentTypeOptions;
174
175 Aws::String m_xFrameOptions;
176
177 Aws::String m_requestId;
178 bool m_accessControlAllowOriginHasBeenSet = false;
179 bool m_accessControlExposeHeadersHasBeenSet = false;
180 bool m_cacheControlHasBeenSet = false;
181 bool m_contentSecurityPolicyHasBeenSet = false;
182 bool m_strictTransportSecurityHasBeenSet = false;
183 bool m_xContentTypeOptionsHasBeenSet = false;
184 bool m_xFrameOptionsHasBeenSet = false;
185 bool m_requestIdHasBeenSet = false;
186};
187
188} // namespace Model
189} // namespace ivsrealtime
190} // namespace Aws
StartParticipantReplicationResult & WithStrictTransportSecurity(StrictTransportSecurityT &&value)
AWS_IVSREALTIME_API StartParticipantReplicationResult()=default
StartParticipantReplicationResult & WithAccessControlAllowOrigin(AccessControlAllowOriginT &&value)
StartParticipantReplicationResult & WithXFrameOptions(XFrameOptionsT &&value)
StartParticipantReplicationResult & WithContentSecurityPolicy(ContentSecurityPolicyT &&value)
AWS_IVSREALTIME_API StartParticipantReplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartParticipantReplicationResult & WithCacheControl(CacheControlT &&value)
AWS_IVSREALTIME_API StartParticipantReplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartParticipantReplicationResult & WithRequestId(RequestIdT &&value)
StartParticipantReplicationResult & WithAccessControlExposeHeaders(AccessControlExposeHeadersT &&value)
StartParticipantReplicationResult & WithXContentTypeOptions(XContentTypeOptionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue