AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
ServiceQuotaExceededException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ivs/IVS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IVS {
20namespace Model {
21
29 public:
30 AWS_IVS_API ServiceQuotaExceededException() = default;
34
36
39 inline const Aws::String& GetAccessControlAllowOrigin() const { return m_accessControlAllowOrigin; }
40 inline bool AccessControlAllowOriginHasBeenSet() const { return m_accessControlAllowOriginHasBeenSet; }
41 template <typename AccessControlAllowOriginT = Aws::String>
42 void SetAccessControlAllowOrigin(AccessControlAllowOriginT&& value) {
43 m_accessControlAllowOriginHasBeenSet = true;
44 m_accessControlAllowOrigin = std::forward<AccessControlAllowOriginT>(value);
45 }
46 template <typename AccessControlAllowOriginT = Aws::String>
47 ServiceQuotaExceededException& WithAccessControlAllowOrigin(AccessControlAllowOriginT&& value) {
48 SetAccessControlAllowOrigin(std::forward<AccessControlAllowOriginT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetAccessControlExposeHeaders() const { return m_accessControlExposeHeaders; }
58 inline bool AccessControlExposeHeadersHasBeenSet() const { return m_accessControlExposeHeadersHasBeenSet; }
59 template <typename AccessControlExposeHeadersT = Aws::String>
60 void SetAccessControlExposeHeaders(AccessControlExposeHeadersT&& value) {
61 m_accessControlExposeHeadersHasBeenSet = true;
62 m_accessControlExposeHeaders = std::forward<AccessControlExposeHeadersT>(value);
63 }
64 template <typename AccessControlExposeHeadersT = Aws::String>
65 ServiceQuotaExceededException& WithAccessControlExposeHeaders(AccessControlExposeHeadersT&& value) {
66 SetAccessControlExposeHeaders(std::forward<AccessControlExposeHeadersT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetCacheControl() const { return m_cacheControl; }
76 inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; }
77 template <typename CacheControlT = Aws::String>
78 void SetCacheControl(CacheControlT&& value) {
79 m_cacheControlHasBeenSet = true;
80 m_cacheControl = std::forward<CacheControlT>(value);
81 }
82 template <typename CacheControlT = Aws::String>
84 SetCacheControl(std::forward<CacheControlT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetContentSecurityPolicy() const { return m_contentSecurityPolicy; }
94 inline bool ContentSecurityPolicyHasBeenSet() const { return m_contentSecurityPolicyHasBeenSet; }
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
111 inline const Aws::String& GetStrictTransportSecurity() const { return m_strictTransportSecurity; }
112 inline bool StrictTransportSecurityHasBeenSet() const { return m_strictTransportSecurityHasBeenSet; }
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
129 inline const Aws::String& GetXContentTypeOptions() const { return m_xContentTypeOptions; }
130 inline bool XContentTypeOptionsHasBeenSet() const { return m_xContentTypeOptionsHasBeenSet; }
131 template <typename XContentTypeOptionsT = Aws::String>
132 void SetXContentTypeOptions(XContentTypeOptionsT&& value) {
133 m_xContentTypeOptionsHasBeenSet = true;
134 m_xContentTypeOptions = std::forward<XContentTypeOptionsT>(value);
135 }
136 template <typename XContentTypeOptionsT = Aws::String>
138 SetXContentTypeOptions(std::forward<XContentTypeOptionsT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::String& GetXFrameOptions() const { return m_xFrameOptions; }
148 inline bool XFrameOptionsHasBeenSet() const { return m_xFrameOptionsHasBeenSet; }
149 template <typename XFrameOptionsT = Aws::String>
150 void SetXFrameOptions(XFrameOptionsT&& value) {
151 m_xFrameOptionsHasBeenSet = true;
152 m_xFrameOptions = std::forward<XFrameOptionsT>(value);
153 }
154 template <typename XFrameOptionsT = Aws::String>
156 SetXFrameOptions(std::forward<XFrameOptionsT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::String& GetXAmznErrorType() const { return m_xAmznErrorType; }
166 inline bool XAmznErrorTypeHasBeenSet() const { return m_xAmznErrorTypeHasBeenSet; }
167 template <typename XAmznErrorTypeT = Aws::String>
168 void SetXAmznErrorType(XAmznErrorTypeT&& value) {
169 m_xAmznErrorTypeHasBeenSet = true;
170 m_xAmznErrorType = std::forward<XAmznErrorTypeT>(value);
171 }
172 template <typename XAmznErrorTypeT = Aws::String>
174 SetXAmznErrorType(std::forward<XAmznErrorTypeT>(value));
175 return *this;
176 }
178
180
183 inline const Aws::String& GetExceptionMessage() const { return m_exceptionMessage; }
184 inline bool ExceptionMessageHasBeenSet() const { return m_exceptionMessageHasBeenSet; }
185 template <typename ExceptionMessageT = Aws::String>
186 void SetExceptionMessage(ExceptionMessageT&& value) {
187 m_exceptionMessageHasBeenSet = true;
188 m_exceptionMessage = std::forward<ExceptionMessageT>(value);
189 }
190 template <typename ExceptionMessageT = Aws::String>
192 SetExceptionMessage(std::forward<ExceptionMessageT>(value));
193 return *this;
194 }
196 private:
197 Aws::String m_accessControlAllowOrigin;
198
199 Aws::String m_accessControlExposeHeaders;
200
201 Aws::String m_cacheControl;
202
203 Aws::String m_contentSecurityPolicy;
204
205 Aws::String m_strictTransportSecurity;
206
207 Aws::String m_xContentTypeOptions;
208
209 Aws::String m_xFrameOptions;
210
211 Aws::String m_xAmznErrorType;
212
213 Aws::String m_exceptionMessage;
214 bool m_accessControlAllowOriginHasBeenSet = false;
215 bool m_accessControlExposeHeadersHasBeenSet = false;
216 bool m_cacheControlHasBeenSet = false;
217 bool m_contentSecurityPolicyHasBeenSet = false;
218 bool m_strictTransportSecurityHasBeenSet = false;
219 bool m_xContentTypeOptionsHasBeenSet = false;
220 bool m_xFrameOptionsHasBeenSet = false;
221 bool m_xAmznErrorTypeHasBeenSet = false;
222 bool m_exceptionMessageHasBeenSet = false;
223};
224
225} // namespace Model
226} // namespace IVS
227} // namespace Aws
void SetContentSecurityPolicy(ContentSecurityPolicyT &&value)
ServiceQuotaExceededException & WithAccessControlAllowOrigin(AccessControlAllowOriginT &&value)
AWS_IVS_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceQuotaExceededException & WithAccessControlExposeHeaders(AccessControlExposeHeadersT &&value)
void SetAccessControlAllowOrigin(AccessControlAllowOriginT &&value)
AWS_IVS_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
ServiceQuotaExceededException & WithExceptionMessage(ExceptionMessageT &&value)
void SetAccessControlExposeHeaders(AccessControlExposeHeadersT &&value)
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceQuotaExceededException & WithCacheControl(CacheControlT &&value)
ServiceQuotaExceededException & WithContentSecurityPolicy(ContentSecurityPolicyT &&value)
ServiceQuotaExceededException & WithStrictTransportSecurity(StrictTransportSecurityT &&value)
ServiceQuotaExceededException & WithXAmznErrorType(XAmznErrorTypeT &&value)
void SetStrictTransportSecurity(StrictTransportSecurityT &&value)
ServiceQuotaExceededException & WithXContentTypeOptions(XContentTypeOptionsT &&value)
ServiceQuotaExceededException & WithXFrameOptions(XFrameOptionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue