AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
46 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
47 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
48 inline ServiceQuotaExceededException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
49 inline ServiceQuotaExceededException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
50 inline ServiceQuotaExceededException& WithMessage(const char* value) { SetMessage(value); return *this;}
52
54
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
60 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
62 inline ServiceQuotaExceededException& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline ServiceQuotaExceededException& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline ServiceQuotaExceededException& WithName(const char* value) { SetName(value); return *this;}
66
68
71 inline const Aws::String& GetValue() const{ return m_value; }
72 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
73 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
74 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
75 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
76 inline ServiceQuotaExceededException& WithValue(const Aws::String& value) { SetValue(value); return *this;}
77 inline ServiceQuotaExceededException& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
78 inline ServiceQuotaExceededException& WithValue(const char* value) { SetValue(value); return *this;}
80 private:
81
82 Aws::String m_message;
83 bool m_messageHasBeenSet = false;
84
85 Aws::String m_name;
86 bool m_nameHasBeenSet = false;
87
88 Aws::String m_value;
89 bool m_valueHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace ResourceExplorer2
94} // namespace Aws
ServiceQuotaExceededException & WithValue(Aws::String &&value)
ServiceQuotaExceededException & WithMessage(Aws::String &&value)
ServiceQuotaExceededException & WithName(const Aws::String &value)
ServiceQuotaExceededException & WithMessage(const Aws::String &value)
AWS_RESOURCEEXPLORER2_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
ServiceQuotaExceededException & WithName(Aws::String &&value)
AWS_RESOURCEEXPLORER2_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceQuotaExceededException & WithValue(const Aws::String &value)
ServiceQuotaExceededException & WithMessage(const char *value)
ServiceQuotaExceededException & WithName(const char *value)
ServiceQuotaExceededException & WithValue(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue