AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const LimitName& GetLimitName() const{ return m_limitName; }
47 inline bool LimitNameHasBeenSet() const { return m_limitNameHasBeenSet; }
48 inline void SetLimitName(const LimitName& value) { m_limitNameHasBeenSet = true; m_limitName = value; }
49 inline void SetLimitName(LimitName&& value) { m_limitNameHasBeenSet = true; m_limitName = std::move(value); }
50 inline ServiceLimitExceededException& WithLimitName(const LimitName& value) { SetLimitName(value); return *this;}
51 inline ServiceLimitExceededException& WithLimitName(LimitName&& value) { SetLimitName(std::move(value)); return *this;}
53
55
58 inline double GetLimitValue() const{ return m_limitValue; }
59 inline bool LimitValueHasBeenSet() const { return m_limitValueHasBeenSet; }
60 inline void SetLimitValue(double value) { m_limitValueHasBeenSet = true; m_limitValue = value; }
61 inline ServiceLimitExceededException& WithLimitValue(double value) { SetLimitValue(value); return *this;}
63
65
68 inline const Aws::String& GetMessage() const{ return m_message; }
69 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
70 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
71 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
72 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
73 inline ServiceLimitExceededException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
74 inline ServiceLimitExceededException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
75 inline ServiceLimitExceededException& WithMessage(const char* value) { SetMessage(value); return *this;}
77 private:
78
79 LimitName m_limitName;
80 bool m_limitNameHasBeenSet = false;
81
82 double m_limitValue;
83 bool m_limitValueHasBeenSet = false;
84
85 Aws::String m_message;
86 bool m_messageHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace DataExchange
91} // namespace Aws
ServiceLimitExceededException & WithMessage(Aws::String &&value)
ServiceLimitExceededException & WithMessage(const Aws::String &value)
ServiceLimitExceededException & WithMessage(const char *value)
AWS_DATAEXCHANGE_API ServiceLimitExceededException(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceLimitExceededException & WithLimitName(LimitName &&value)
AWS_DATAEXCHANGE_API ServiceLimitExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceLimitExceededException & WithLimitValue(double value)
ServiceLimitExceededException & WithLimitName(const LimitName &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue