AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueryLimitExceededException.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_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 neptunedata
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_NEPTUNEDATA_API QueryLimitExceededException();
39 AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDetailedMessage() const{ return m_detailedMessage; }
47 inline bool DetailedMessageHasBeenSet() const { return m_detailedMessageHasBeenSet; }
48 inline void SetDetailedMessage(const Aws::String& value) { m_detailedMessageHasBeenSet = true; m_detailedMessage = value; }
49 inline void SetDetailedMessage(Aws::String&& value) { m_detailedMessageHasBeenSet = true; m_detailedMessage = std::move(value); }
50 inline void SetDetailedMessage(const char* value) { m_detailedMessageHasBeenSet = true; m_detailedMessage.assign(value); }
52 inline QueryLimitExceededException& WithDetailedMessage(Aws::String&& value) { SetDetailedMessage(std::move(value)); return *this;}
53 inline QueryLimitExceededException& WithDetailedMessage(const char* value) { SetDetailedMessage(value); return *this;}
55
57
60 inline const Aws::String& GetRequestId() const{ return m_requestId; }
61 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
62 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
65 inline QueryLimitExceededException& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline QueryLimitExceededException& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline QueryLimitExceededException& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69
71
74 inline const Aws::String& GetCode() const{ return m_code; }
75 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
76 inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; }
77 inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
78 inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); }
79 inline QueryLimitExceededException& WithCode(const Aws::String& value) { SetCode(value); return *this;}
80 inline QueryLimitExceededException& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;}
81 inline QueryLimitExceededException& WithCode(const char* value) { SetCode(value); return *this;}
83 private:
84
85 Aws::String m_detailedMessage;
86 bool m_detailedMessageHasBeenSet = false;
87
88 Aws::String m_requestId;
89 bool m_requestIdHasBeenSet = false;
90
91 Aws::String m_code;
92 bool m_codeHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace neptunedata
97} // namespace Aws
QueryLimitExceededException & WithCode(Aws::String &&value)
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
QueryLimitExceededException & WithRequestId(const Aws::String &value)
QueryLimitExceededException & WithRequestId(Aws::String &&value)
QueryLimitExceededException & WithRequestId(const char *value)
QueryLimitExceededException & WithDetailedMessage(const Aws::String &value)
QueryLimitExceededException & WithDetailedMessage(Aws::String &&value)
AWS_NEPTUNEDATA_API QueryLimitExceededException(Aws::Utils::Json::JsonView jsonValue)
QueryLimitExceededException & WithDetailedMessage(const char *value)
QueryLimitExceededException & WithCode(const Aws::String &value)
AWS_NEPTUNEDATA_API QueryLimitExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
QueryLimitExceededException & WithCode(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue