AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ServiceLimitExceededException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dataexchange/DataExchange_EXPORTS.h>
9#include <aws/dataexchange/model/LimitName.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataExchange {
21namespace Model {
22
30 public:
31 AWS_DATAEXCHANGE_API ServiceLimitExceededException() = default;
34 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline LimitName GetLimitName() const { return m_limitName; }
41 inline bool LimitNameHasBeenSet() const { return m_limitNameHasBeenSet; }
42 inline void SetLimitName(LimitName value) {
43 m_limitNameHasBeenSet = true;
44 m_limitName = value;
45 }
47 SetLimitName(value);
48 return *this;
49 }
51
53
56 inline double GetLimitValue() const { return m_limitValue; }
57 inline bool LimitValueHasBeenSet() const { return m_limitValueHasBeenSet; }
58 inline void SetLimitValue(double value) {
59 m_limitValueHasBeenSet = true;
60 m_limitValue = value;
61 }
63 SetLimitValue(value);
64 return *this;
65 }
67
69
72 inline const Aws::String& GetMessage() const { return m_message; }
73 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
74 template <typename MessageT = Aws::String>
75 void SetMessage(MessageT&& value) {
76 m_messageHasBeenSet = true;
77 m_message = std::forward<MessageT>(value);
78 }
79 template <typename MessageT = Aws::String>
81 SetMessage(std::forward<MessageT>(value));
82 return *this;
83 }
85 private:
86 LimitName m_limitName{LimitName::NOT_SET};
87
88 double m_limitValue{0.0};
89
90 Aws::String m_message;
91 bool m_limitNameHasBeenSet = false;
92 bool m_limitValueHasBeenSet = false;
93 bool m_messageHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace DataExchange
98} // namespace Aws
AWS_DATAEXCHANGE_API ServiceLimitExceededException()=default
AWS_DATAEXCHANGE_API ServiceLimitExceededException(Aws::Utils::Json::JsonView jsonValue)
ServiceLimitExceededException & WithLimitName(LimitName value)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAEXCHANGE_API ServiceLimitExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceLimitExceededException & WithLimitValue(double value)
ServiceLimitExceededException & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue