AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
LimitsExceededException.h
1
6#pragma once
7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Shield
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SHIELD_API LimitsExceededException() = default;
38 AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::String& GetMessage() const { return m_message; }
44 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
45 template<typename MessageT = Aws::String>
46 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
47 template<typename MessageT = Aws::String>
48 LimitsExceededException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
50
52
55 inline const Aws::String& GetType() const { return m_type; }
56 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
57 template<typename TypeT = Aws::String>
58 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
59 template<typename TypeT = Aws::String>
60 LimitsExceededException& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
62
64
67 inline long long GetLimit() const { return m_limit; }
68 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
69 inline void SetLimit(long long value) { m_limitHasBeenSet = true; m_limit = value; }
70 inline LimitsExceededException& WithLimit(long long value) { SetLimit(value); return *this;}
72 private:
73
74 Aws::String m_message;
75 bool m_messageHasBeenSet = false;
76
77 Aws::String m_type;
78 bool m_typeHasBeenSet = false;
79
80 long long m_limit{0};
81 bool m_limitHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Shield
86} // namespace Aws
LimitsExceededException & WithLimit(long long value)
AWS_SHIELD_API LimitsExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
LimitsExceededException & WithType(TypeT &&value)
AWS_SHIELD_API LimitsExceededException(Aws::Utils::Json::JsonView jsonValue)
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
LimitsExceededException & WithMessage(MessageT &&value)
AWS_SHIELD_API LimitsExceededException()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue