AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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