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/detective/Detective_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 Detective
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_DETECTIVE_API ServiceQuotaExceededException();
44 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
49 inline const Aws::String& GetMessage() const{ return m_message; }
50 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
51 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
52 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
53 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
54 inline ServiceQuotaExceededException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
55 inline ServiceQuotaExceededException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
56 inline ServiceQuotaExceededException& WithMessage(const char* value) { SetMessage(value); return *this;}
58
60
63 inline const Aws::Vector<Aws::String>& GetResources() const{ return m_resources; }
64 inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; }
65 inline void SetResources(const Aws::Vector<Aws::String>& value) { m_resourcesHasBeenSet = true; m_resources = value; }
66 inline void SetResources(Aws::Vector<Aws::String>&& value) { m_resourcesHasBeenSet = true; m_resources = std::move(value); }
68 inline ServiceQuotaExceededException& WithResources(Aws::Vector<Aws::String>&& value) { SetResources(std::move(value)); return *this;}
69 inline ServiceQuotaExceededException& AddResources(const Aws::String& value) { m_resourcesHasBeenSet = true; m_resources.push_back(value); return *this; }
70 inline ServiceQuotaExceededException& AddResources(Aws::String&& value) { m_resourcesHasBeenSet = true; m_resources.push_back(std::move(value)); return *this; }
71 inline ServiceQuotaExceededException& AddResources(const char* value) { m_resourcesHasBeenSet = true; m_resources.push_back(value); return *this; }
73 private:
74
75 Aws::String m_message;
76 bool m_messageHasBeenSet = false;
77
78 Aws::Vector<Aws::String> m_resources;
79 bool m_resourcesHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Detective
84} // namespace Aws
ServiceQuotaExceededException & WithResources(Aws::Vector< Aws::String > &&value)
void SetResources(const Aws::Vector< Aws::String > &value)
AWS_DETECTIVE_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceQuotaExceededException & WithMessage(const char *value)
ServiceQuotaExceededException & AddResources(Aws::String &&value)
ServiceQuotaExceededException & AddResources(const char *value)
AWS_DETECTIVE_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
ServiceQuotaExceededException & WithMessage(const Aws::String &value)
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceQuotaExceededException & AddResources(const Aws::String &value)
ServiceQuotaExceededException & WithResources(const Aws::Vector< Aws::String > &value)
ServiceQuotaExceededException & WithMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue