AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ServiceLimitExceededException.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/dataexchange/model/LimitName.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataExchange
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATAEXCHANGE_API ServiceLimitExceededException() = default;
39 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline LimitName GetLimitName() const { return m_limitName; }
47 inline bool LimitNameHasBeenSet() const { return m_limitNameHasBeenSet; }
48 inline void SetLimitName(LimitName value) { m_limitNameHasBeenSet = true; m_limitName = value; }
49 inline ServiceLimitExceededException& WithLimitName(LimitName value) { SetLimitName(value); return *this;}
51
53
56 inline double GetLimitValue() const { return m_limitValue; }
57 inline bool LimitValueHasBeenSet() const { return m_limitValueHasBeenSet; }
58 inline void SetLimitValue(double value) { m_limitValueHasBeenSet = true; m_limitValue = value; }
59 inline ServiceLimitExceededException& WithLimitValue(double value) { SetLimitValue(value); return *this;}
61
63
66 inline const Aws::String& GetMessage() const { return m_message; }
67 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
68 template<typename MessageT = Aws::String>
69 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
70 template<typename MessageT = Aws::String>
71 ServiceLimitExceededException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
73 private:
74
75 LimitName m_limitName{LimitName::NOT_SET};
76 bool m_limitNameHasBeenSet = false;
77
78 double m_limitValue{0.0};
79 bool m_limitValueHasBeenSet = false;
80
81 Aws::String m_message;
82 bool m_messageHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace DataExchange
87} // 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