AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
ServiceQuotaExceededException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/elb-proxy/ELBProxy_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace ELBProxy {
20namespace Model {
21
29 public:
30 AWS_ELBPROXY_API ServiceQuotaExceededException() = default;
31 AWS_ELBPROXY_API ServiceQuotaExceededException(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_ELBPROXY_API ServiceQuotaExceededException& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_ELBPROXY_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
39 inline const Aws::String& GetMessage() const { return m_message; }
40 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
41 template <typename MessageT = Aws::String>
42 void SetMessage(MessageT&& value) {
43 m_messageHasBeenSet = true;
44 m_message = std::forward<MessageT>(value);
45 }
46 template <typename MessageT = Aws::String>
48 SetMessage(std::forward<MessageT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetQuotaCode() const { return m_quotaCode; }
58 inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; }
59 template <typename QuotaCodeT = Aws::String>
60 void SetQuotaCode(QuotaCodeT&& value) {
61 m_quotaCodeHasBeenSet = true;
62 m_quotaCode = std::forward<QuotaCodeT>(value);
63 }
64 template <typename QuotaCodeT = Aws::String>
66 SetQuotaCode(std::forward<QuotaCodeT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetResourceId() const { return m_resourceId; }
76 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
77 template <typename ResourceIdT = Aws::String>
78 void SetResourceId(ResourceIdT&& value) {
79 m_resourceIdHasBeenSet = true;
80 m_resourceId = std::forward<ResourceIdT>(value);
81 }
82 template <typename ResourceIdT = Aws::String>
84 SetResourceId(std::forward<ResourceIdT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetResourceType() const { return m_resourceType; }
94 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
95 template <typename ResourceTypeT = Aws::String>
96 void SetResourceType(ResourceTypeT&& value) {
97 m_resourceTypeHasBeenSet = true;
98 m_resourceType = std::forward<ResourceTypeT>(value);
99 }
100 template <typename ResourceTypeT = Aws::String>
102 SetResourceType(std::forward<ResourceTypeT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetServiceCode() const { return m_serviceCode; }
112 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
113 template <typename ServiceCodeT = Aws::String>
114 void SetServiceCode(ServiceCodeT&& value) {
115 m_serviceCodeHasBeenSet = true;
116 m_serviceCode = std::forward<ServiceCodeT>(value);
117 }
118 template <typename ServiceCodeT = Aws::String>
120 SetServiceCode(std::forward<ServiceCodeT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_message;
126
127 Aws::String m_quotaCode;
128
129 Aws::String m_resourceId;
130
131 Aws::String m_resourceType;
132
133 Aws::String m_serviceCode;
134 bool m_messageHasBeenSet = false;
135 bool m_quotaCodeHasBeenSet = false;
136 bool m_resourceIdHasBeenSet = false;
137 bool m_resourceTypeHasBeenSet = false;
138 bool m_serviceCodeHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace ELBProxy
143} // namespace Aws
AWS_ELBPROXY_API ServiceQuotaExceededException & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_ELBPROXY_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
AWS_ELBPROXY_API ServiceQuotaExceededException()=default
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
AWS_ELBPROXY_API ServiceQuotaExceededException(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ServiceQuotaExceededException & WithMessage(MessageT &&value)
ServiceQuotaExceededException & WithResourceType(ResourceTypeT &&value)
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String