AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ServiceQuotaExceededException.h
1
6#pragma once
7#include <aws/resource-explorer-2/ResourceExplorer2_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 ResourceExplorer2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_RESOURCEEXPLORER2_API ServiceQuotaExceededException() = default;
36 AWS_RESOURCEEXPLORER2_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue);
38 AWS_RESOURCEEXPLORER2_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 ServiceQuotaExceededException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 template<typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
59 template<typename NameT = Aws::String>
60 ServiceQuotaExceededException& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
62
64
67 inline const Aws::String& GetValue() const { return m_value; }
68 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
69 template<typename ValueT = Aws::String>
70 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
71 template<typename ValueT = Aws::String>
72 ServiceQuotaExceededException& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
74 private:
75
76 Aws::String m_message;
77 bool m_messageHasBeenSet = false;
78
79 Aws::String m_name;
80 bool m_nameHasBeenSet = false;
81
82 Aws::String m_value;
83 bool m_valueHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace ResourceExplorer2
88} // namespace Aws
AWS_RESOURCEEXPLORER2_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
AWS_RESOURCEEXPLORER2_API ServiceQuotaExceededException()=default
AWS_RESOURCEEXPLORER2_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceQuotaExceededException & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue