AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LimitExceededException.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/ExceptionResourceType.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 QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API LimitExceededException();
38 AWS_QUICKSIGHT_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 LimitExceededException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
49 inline LimitExceededException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
50 inline LimitExceededException& WithMessage(const char* value) { SetMessage(value); return *this;}
52
54
57 inline const ExceptionResourceType& GetResourceType() const{ return m_resourceType; }
58 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
59 inline void SetResourceType(const ExceptionResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
60 inline void SetResourceType(ExceptionResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
62 inline LimitExceededException& WithResourceType(ExceptionResourceType&& value) { SetResourceType(std::move(value)); return *this;}
64
66
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
71 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
72 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
73 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
74 inline LimitExceededException& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
75 inline LimitExceededException& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
76 inline LimitExceededException& WithRequestId(const char* value) { SetRequestId(value); return *this;}
78 private:
79
80 Aws::String m_message;
81 bool m_messageHasBeenSet = false;
82
83 ExceptionResourceType m_resourceType;
84 bool m_resourceTypeHasBeenSet = false;
85
86 Aws::String m_requestId;
87 bool m_requestIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace QuickSight
92} // namespace Aws
const ExceptionResourceType & GetResourceType() const
AWS_QUICKSIGHT_API LimitExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
LimitExceededException & WithMessage(Aws::String &&value)
LimitExceededException & WithRequestId(Aws::String &&value)
LimitExceededException & WithMessage(const Aws::String &value)
LimitExceededException & WithMessage(const char *value)
LimitExceededException & WithResourceType(ExceptionResourceType &&value)
void SetResourceType(const ExceptionResourceType &value)
void SetResourceType(ExceptionResourceType &&value)
LimitExceededException & WithRequestId(const char *value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API LimitExceededException(Aws::Utils::Json::JsonView jsonValue)
LimitExceededException & WithResourceType(const ExceptionResourceType &value)
LimitExceededException & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue