AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ServiceQuotaExceededException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
9#include <aws/managedblockchain-query/model/ResourceType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ManagedBlockchainQuery {
21namespace Model {
22
30 public:
31 AWS_MANAGEDBLOCKCHAINQUERY_API ServiceQuotaExceededException() = default;
32 AWS_MANAGEDBLOCKCHAINQUERY_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MANAGEDBLOCKCHAINQUERY_API ServiceQuotaExceededException& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetMessage() const { return m_message; }
41 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
42 template <typename MessageT = Aws::String>
43 void SetMessage(MessageT&& value) {
44 m_messageHasBeenSet = true;
45 m_message = std::forward<MessageT>(value);
46 }
47 template <typename MessageT = Aws::String>
49 SetMessage(std::forward<MessageT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetResourceId() const { return m_resourceId; }
59 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
60 template <typename ResourceIdT = Aws::String>
61 void SetResourceId(ResourceIdT&& value) {
62 m_resourceIdHasBeenSet = true;
63 m_resourceId = std::forward<ResourceIdT>(value);
64 }
65 template <typename ResourceIdT = Aws::String>
67 SetResourceId(std::forward<ResourceIdT>(value));
68 return *this;
69 }
71
73
76 inline ResourceType GetResourceType() const { return m_resourceType; }
77 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
78 inline void SetResourceType(ResourceType value) {
79 m_resourceTypeHasBeenSet = true;
80 m_resourceType = value;
81 }
83 SetResourceType(value);
84 return *this;
85 }
87
89
92 inline const Aws::String& GetServiceCode() const { return m_serviceCode; }
93 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
94 template <typename ServiceCodeT = Aws::String>
95 void SetServiceCode(ServiceCodeT&& value) {
96 m_serviceCodeHasBeenSet = true;
97 m_serviceCode = std::forward<ServiceCodeT>(value);
98 }
99 template <typename ServiceCodeT = Aws::String>
101 SetServiceCode(std::forward<ServiceCodeT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetQuotaCode() const { return m_quotaCode; }
111 inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; }
112 template <typename QuotaCodeT = Aws::String>
113 void SetQuotaCode(QuotaCodeT&& value) {
114 m_quotaCodeHasBeenSet = true;
115 m_quotaCode = std::forward<QuotaCodeT>(value);
116 }
117 template <typename QuotaCodeT = Aws::String>
119 SetQuotaCode(std::forward<QuotaCodeT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_message;
125
126 Aws::String m_resourceId;
127
128 ResourceType m_resourceType{ResourceType::NOT_SET};
129
130 Aws::String m_serviceCode;
131
132 Aws::String m_quotaCode;
133 bool m_messageHasBeenSet = false;
134 bool m_resourceIdHasBeenSet = false;
135 bool m_resourceTypeHasBeenSet = false;
136 bool m_serviceCodeHasBeenSet = false;
137 bool m_quotaCodeHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace ManagedBlockchainQuery
142} // namespace Aws
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MANAGEDBLOCKCHAINQUERY_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAINQUERY_API ServiceQuotaExceededException()=default
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
ServiceQuotaExceededException & WithResourceType(ResourceType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue