AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InternalServerException.h
1
6#pragma once
7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ivsrealtime
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IVSREALTIME_API InternalServerException() = default;
37 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetAccessControlAllowOrigin() const { return m_accessControlAllowOrigin; }
45 inline bool AccessControlAllowOriginHasBeenSet() const { return m_accessControlAllowOriginHasBeenSet; }
46 template<typename AccessControlAllowOriginT = Aws::String>
47 void SetAccessControlAllowOrigin(AccessControlAllowOriginT&& value) { m_accessControlAllowOriginHasBeenSet = true; m_accessControlAllowOrigin = std::forward<AccessControlAllowOriginT>(value); }
48 template<typename AccessControlAllowOriginT = Aws::String>
49 InternalServerException& WithAccessControlAllowOrigin(AccessControlAllowOriginT&& value) { SetAccessControlAllowOrigin(std::forward<AccessControlAllowOriginT>(value)); return *this;}
51
53
56 inline const Aws::String& GetAccessControlExposeHeaders() const { return m_accessControlExposeHeaders; }
57 inline bool AccessControlExposeHeadersHasBeenSet() const { return m_accessControlExposeHeadersHasBeenSet; }
58 template<typename AccessControlExposeHeadersT = Aws::String>
59 void SetAccessControlExposeHeaders(AccessControlExposeHeadersT&& value) { m_accessControlExposeHeadersHasBeenSet = true; m_accessControlExposeHeaders = std::forward<AccessControlExposeHeadersT>(value); }
60 template<typename AccessControlExposeHeadersT = Aws::String>
61 InternalServerException& WithAccessControlExposeHeaders(AccessControlExposeHeadersT&& value) { SetAccessControlExposeHeaders(std::forward<AccessControlExposeHeadersT>(value)); return *this;}
63
65
68 inline const Aws::String& GetCacheControl() const { return m_cacheControl; }
69 inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; }
70 template<typename CacheControlT = Aws::String>
71 void SetCacheControl(CacheControlT&& value) { m_cacheControlHasBeenSet = true; m_cacheControl = std::forward<CacheControlT>(value); }
72 template<typename CacheControlT = Aws::String>
73 InternalServerException& WithCacheControl(CacheControlT&& value) { SetCacheControl(std::forward<CacheControlT>(value)); return *this;}
75
77
80 inline const Aws::String& GetContentSecurityPolicy() const { return m_contentSecurityPolicy; }
81 inline bool ContentSecurityPolicyHasBeenSet() const { return m_contentSecurityPolicyHasBeenSet; }
82 template<typename ContentSecurityPolicyT = Aws::String>
83 void SetContentSecurityPolicy(ContentSecurityPolicyT&& value) { m_contentSecurityPolicyHasBeenSet = true; m_contentSecurityPolicy = std::forward<ContentSecurityPolicyT>(value); }
84 template<typename ContentSecurityPolicyT = Aws::String>
85 InternalServerException& WithContentSecurityPolicy(ContentSecurityPolicyT&& value) { SetContentSecurityPolicy(std::forward<ContentSecurityPolicyT>(value)); return *this;}
87
89
92 inline const Aws::String& GetStrictTransportSecurity() const { return m_strictTransportSecurity; }
93 inline bool StrictTransportSecurityHasBeenSet() const { return m_strictTransportSecurityHasBeenSet; }
94 template<typename StrictTransportSecurityT = Aws::String>
95 void SetStrictTransportSecurity(StrictTransportSecurityT&& value) { m_strictTransportSecurityHasBeenSet = true; m_strictTransportSecurity = std::forward<StrictTransportSecurityT>(value); }
96 template<typename StrictTransportSecurityT = Aws::String>
97 InternalServerException& WithStrictTransportSecurity(StrictTransportSecurityT&& value) { SetStrictTransportSecurity(std::forward<StrictTransportSecurityT>(value)); return *this;}
99
101
104 inline const Aws::String& GetXContentTypeOptions() const { return m_xContentTypeOptions; }
105 inline bool XContentTypeOptionsHasBeenSet() const { return m_xContentTypeOptionsHasBeenSet; }
106 template<typename XContentTypeOptionsT = Aws::String>
107 void SetXContentTypeOptions(XContentTypeOptionsT&& value) { m_xContentTypeOptionsHasBeenSet = true; m_xContentTypeOptions = std::forward<XContentTypeOptionsT>(value); }
108 template<typename XContentTypeOptionsT = Aws::String>
109 InternalServerException& WithXContentTypeOptions(XContentTypeOptionsT&& value) { SetXContentTypeOptions(std::forward<XContentTypeOptionsT>(value)); return *this;}
111
113
116 inline const Aws::String& GetXFrameOptions() const { return m_xFrameOptions; }
117 inline bool XFrameOptionsHasBeenSet() const { return m_xFrameOptionsHasBeenSet; }
118 template<typename XFrameOptionsT = Aws::String>
119 void SetXFrameOptions(XFrameOptionsT&& value) { m_xFrameOptionsHasBeenSet = true; m_xFrameOptions = std::forward<XFrameOptionsT>(value); }
120 template<typename XFrameOptionsT = Aws::String>
121 InternalServerException& WithXFrameOptions(XFrameOptionsT&& value) { SetXFrameOptions(std::forward<XFrameOptionsT>(value)); return *this;}
123
125
128 inline const Aws::String& GetXAmznErrorType() const { return m_xAmznErrorType; }
129 inline bool XAmznErrorTypeHasBeenSet() const { return m_xAmznErrorTypeHasBeenSet; }
130 template<typename XAmznErrorTypeT = Aws::String>
131 void SetXAmznErrorType(XAmznErrorTypeT&& value) { m_xAmznErrorTypeHasBeenSet = true; m_xAmznErrorType = std::forward<XAmznErrorTypeT>(value); }
132 template<typename XAmznErrorTypeT = Aws::String>
133 InternalServerException& WithXAmznErrorType(XAmznErrorTypeT&& value) { SetXAmznErrorType(std::forward<XAmznErrorTypeT>(value)); return *this;}
135
137
140 inline const Aws::String& GetExceptionMessage() const { return m_exceptionMessage; }
141 inline bool ExceptionMessageHasBeenSet() const { return m_exceptionMessageHasBeenSet; }
142 template<typename ExceptionMessageT = Aws::String>
143 void SetExceptionMessage(ExceptionMessageT&& value) { m_exceptionMessageHasBeenSet = true; m_exceptionMessage = std::forward<ExceptionMessageT>(value); }
144 template<typename ExceptionMessageT = Aws::String>
145 InternalServerException& WithExceptionMessage(ExceptionMessageT&& value) { SetExceptionMessage(std::forward<ExceptionMessageT>(value)); return *this;}
147 private:
148
149 Aws::String m_accessControlAllowOrigin;
150 bool m_accessControlAllowOriginHasBeenSet = false;
151
152 Aws::String m_accessControlExposeHeaders;
153 bool m_accessControlExposeHeadersHasBeenSet = false;
154
155 Aws::String m_cacheControl;
156 bool m_cacheControlHasBeenSet = false;
157
158 Aws::String m_contentSecurityPolicy;
159 bool m_contentSecurityPolicyHasBeenSet = false;
160
161 Aws::String m_strictTransportSecurity;
162 bool m_strictTransportSecurityHasBeenSet = false;
163
164 Aws::String m_xContentTypeOptions;
165 bool m_xContentTypeOptionsHasBeenSet = false;
166
167 Aws::String m_xFrameOptions;
168 bool m_xFrameOptionsHasBeenSet = false;
169
170 Aws::String m_xAmznErrorType;
171 bool m_xAmznErrorTypeHasBeenSet = false;
172
173 Aws::String m_exceptionMessage;
174 bool m_exceptionMessageHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace ivsrealtime
179} // namespace Aws
InternalServerException & WithAccessControlExposeHeaders(AccessControlExposeHeadersT &&value)
InternalServerException & WithContentSecurityPolicy(ContentSecurityPolicyT &&value)
InternalServerException & WithXContentTypeOptions(XContentTypeOptionsT &&value)
void SetStrictTransportSecurity(StrictTransportSecurityT &&value)
void SetContentSecurityPolicy(ContentSecurityPolicyT &&value)
AWS_IVSREALTIME_API InternalServerException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
InternalServerException & WithCacheControl(CacheControlT &&value)
AWS_IVSREALTIME_API InternalServerException()=default
void SetXContentTypeOptions(XContentTypeOptionsT &&value)
InternalServerException & WithXAmznErrorType(XAmznErrorTypeT &&value)
void SetAccessControlAllowOrigin(AccessControlAllowOriginT &&value)
InternalServerException & WithAccessControlAllowOrigin(AccessControlAllowOriginT &&value)
InternalServerException & WithXFrameOptions(XFrameOptionsT &&value)
InternalServerException & WithExceptionMessage(ExceptionMessageT &&value)
InternalServerException & WithStrictTransportSecurity(StrictTransportSecurityT &&value)
AWS_IVSREALTIME_API InternalServerException(Aws::Utils::Json::JsonView jsonValue)
void SetAccessControlExposeHeaders(AccessControlExposeHeadersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue