AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InvalidArgumentException.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
33 {
34 public:
35 AWS_NEPTUNEDATA_API InvalidArgumentException();
38 AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDetailedMessage() const{ return m_detailedMessage; }
46 inline bool DetailedMessageHasBeenSet() const { return m_detailedMessageHasBeenSet; }
47 inline void SetDetailedMessage(const Aws::String& value) { m_detailedMessageHasBeenSet = true; m_detailedMessage = value; }
48 inline void SetDetailedMessage(Aws::String&& value) { m_detailedMessageHasBeenSet = true; m_detailedMessage = std::move(value); }
49 inline void SetDetailedMessage(const char* value) { m_detailedMessageHasBeenSet = true; m_detailedMessage.assign(value); }
50 inline InvalidArgumentException& WithDetailedMessage(const Aws::String& value) { SetDetailedMessage(value); return *this;}
51 inline InvalidArgumentException& WithDetailedMessage(Aws::String&& value) { SetDetailedMessage(std::move(value)); return *this;}
52 inline InvalidArgumentException& WithDetailedMessage(const char* value) { SetDetailedMessage(value); return *this;}
54
56
59 inline const Aws::String& GetRequestId() const{ return m_requestId; }
60 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
61 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
62 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
63 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
64 inline InvalidArgumentException& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
65 inline InvalidArgumentException& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
66 inline InvalidArgumentException& WithRequestId(const char* value) { SetRequestId(value); return *this;}
68
70
73 inline const Aws::String& GetCode() const{ return m_code; }
74 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
75 inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; }
76 inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
77 inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); }
78 inline InvalidArgumentException& WithCode(const Aws::String& value) { SetCode(value); return *this;}
79 inline InvalidArgumentException& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;}
80 inline InvalidArgumentException& WithCode(const char* value) { SetCode(value); return *this;}
82 private:
83
84 Aws::String m_detailedMessage;
85 bool m_detailedMessageHasBeenSet = false;
86
87 Aws::String m_requestId;
88 bool m_requestIdHasBeenSet = false;
89
90 Aws::String m_code;
91 bool m_codeHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace neptunedata
96} // namespace Aws
InvalidArgumentException & WithRequestId(const Aws::String &value)
InvalidArgumentException & WithCode(const char *value)
InvalidArgumentException & WithRequestId(const char *value)
InvalidArgumentException & WithDetailedMessage(const char *value)
InvalidArgumentException & WithCode(Aws::String &&value)
InvalidArgumentException & WithDetailedMessage(Aws::String &&value)
InvalidArgumentException & WithCode(const Aws::String &value)
AWS_NEPTUNEDATA_API InvalidArgumentException(Aws::Utils::Json::JsonView jsonValue)
InvalidArgumentException & WithRequestId(Aws::String &&value)
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
InvalidArgumentException & WithDetailedMessage(const Aws::String &value)
AWS_NEPTUNEDATA_API InvalidArgumentException & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue