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/ivschat/Ivschat_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivschat/model/ResourceType.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 ivschat
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IVSCHAT_API ServiceQuotaExceededException() = default;
38 AWS_IVSCHAT_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& GetResourceId() const { return m_resourceId; }
56 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
57 template<typename ResourceIdT = Aws::String>
58 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
59 template<typename ResourceIdT = Aws::String>
60 ServiceQuotaExceededException& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
62
64
67 inline ResourceType GetResourceType() const { return m_resourceType; }
68 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
69 inline void SetResourceType(ResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
72
74
77 inline int GetLimit() const { return m_limit; }
78 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
79 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
80 inline ServiceQuotaExceededException& WithLimit(int value) { SetLimit(value); return *this;}
82 private:
83
84 Aws::String m_message;
85 bool m_messageHasBeenSet = false;
86
87 Aws::String m_resourceId;
88 bool m_resourceIdHasBeenSet = false;
89
90 ResourceType m_resourceType{ResourceType::NOT_SET};
91 bool m_resourceTypeHasBeenSet = false;
92
93 int m_limit{0};
94 bool m_limitHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace ivschat
99} // namespace Aws
ServiceQuotaExceededException & WithMessage(MessageT &&value)
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
AWS_IVSCHAT_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IVSCHAT_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceQuotaExceededException & WithResourceType(ResourceType value)
AWS_IVSCHAT_API ServiceQuotaExceededException()=default
AWS_IVSCHAT_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue