AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InternalServerErrorException.h
1
6#pragma once
7#include <aws/kafka/Kafka_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 Kafka
22{
23namespace Model
24{
25
35 {
36 public:
40 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetInvalidParameter() const{ return m_invalidParameter; }
50 inline bool InvalidParameterHasBeenSet() const { return m_invalidParameterHasBeenSet; }
51 inline void SetInvalidParameter(const Aws::String& value) { m_invalidParameterHasBeenSet = true; m_invalidParameter = value; }
52 inline void SetInvalidParameter(Aws::String&& value) { m_invalidParameterHasBeenSet = true; m_invalidParameter = std::move(value); }
53 inline void SetInvalidParameter(const char* value) { m_invalidParameterHasBeenSet = true; m_invalidParameter.assign(value); }
55 inline InternalServerErrorException& WithInvalidParameter(Aws::String&& value) { SetInvalidParameter(std::move(value)); return *this;}
56 inline InternalServerErrorException& WithInvalidParameter(const char* value) { SetInvalidParameter(value); return *this;}
58
60
65 inline const Aws::String& GetMessage() const{ return m_message; }
66 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
67 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
68 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
69 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
70 inline InternalServerErrorException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
71 inline InternalServerErrorException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
72 inline InternalServerErrorException& WithMessage(const char* value) { SetMessage(value); return *this;}
74 private:
75
76 Aws::String m_invalidParameter;
77 bool m_invalidParameterHasBeenSet = false;
78
79 Aws::String m_message;
80 bool m_messageHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Kafka
85} // namespace Aws
InternalServerErrorException & WithInvalidParameter(Aws::String &&value)
InternalServerErrorException & WithInvalidParameter(const char *value)
InternalServerErrorException & WithMessage(const Aws::String &value)
AWS_KAFKA_API InternalServerErrorException(Aws::Utils::Json::JsonView jsonValue)
InternalServerErrorException & WithMessage(const char *value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
InternalServerErrorException & WithMessage(Aws::String &&value)
InternalServerErrorException & WithInvalidParameter(const Aws::String &value)
AWS_KAFKA_API InternalServerErrorException & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue