AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
ServiceQuotaExceededException.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace B2BI {
20namespace Model {
21
30 public:
31 AWS_B2BI_API ServiceQuotaExceededException() = default;
35
37
38 inline const Aws::String& GetMessage() const { return m_message; }
39 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
40 template <typename MessageT = Aws::String>
41 void SetMessage(MessageT&& value) {
42 m_messageHasBeenSet = true;
43 m_message = std::forward<MessageT>(value);
44 }
45 template <typename MessageT = Aws::String>
47 SetMessage(std::forward<MessageT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetResourceId() const { return m_resourceId; }
58 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
59 template <typename ResourceIdT = Aws::String>
60 void SetResourceId(ResourceIdT&& value) {
61 m_resourceIdHasBeenSet = true;
62 m_resourceId = std::forward<ResourceIdT>(value);
63 }
64 template <typename ResourceIdT = Aws::String>
66 SetResourceId(std::forward<ResourceIdT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetResourceType() const { return m_resourceType; }
77 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
78 template <typename ResourceTypeT = Aws::String>
79 void SetResourceType(ResourceTypeT&& value) {
80 m_resourceTypeHasBeenSet = true;
81 m_resourceType = std::forward<ResourceTypeT>(value);
82 }
83 template <typename ResourceTypeT = Aws::String>
85 SetResourceType(std::forward<ResourceTypeT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetServiceCode() const { return m_serviceCode; }
95 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
96 template <typename ServiceCodeT = Aws::String>
97 void SetServiceCode(ServiceCodeT&& value) {
98 m_serviceCodeHasBeenSet = true;
99 m_serviceCode = std::forward<ServiceCodeT>(value);
100 }
101 template <typename ServiceCodeT = Aws::String>
103 SetServiceCode(std::forward<ServiceCodeT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetQuotaCode() const { return m_quotaCode; }
113 inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; }
114 template <typename QuotaCodeT = Aws::String>
115 void SetQuotaCode(QuotaCodeT&& value) {
116 m_quotaCodeHasBeenSet = true;
117 m_quotaCode = std::forward<QuotaCodeT>(value);
118 }
119 template <typename QuotaCodeT = Aws::String>
121 SetQuotaCode(std::forward<QuotaCodeT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_message;
127
128 Aws::String m_resourceId;
129
130 Aws::String m_resourceType;
131
132 Aws::String m_serviceCode;
133
134 Aws::String m_quotaCode;
135 bool m_messageHasBeenSet = false;
136 bool m_resourceIdHasBeenSet = false;
137 bool m_resourceTypeHasBeenSet = false;
138 bool m_serviceCodeHasBeenSet = false;
139 bool m_quotaCodeHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace B2BI
144} // namespace Aws
ServiceQuotaExceededException & WithMessage(MessageT &&value)
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
AWS_B2BI_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_B2BI_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
AWS_B2BI_API ServiceQuotaExceededException()=default
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
ServiceQuotaExceededException & WithResourceType(ResourceTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue