AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConflictException.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:
37 AWS_KAFKA_API ConflictException();
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); }
54 inline ConflictException& WithInvalidParameter(const Aws::String& value) { SetInvalidParameter(value); return *this;}
55 inline ConflictException& WithInvalidParameter(Aws::String&& value) { SetInvalidParameter(std::move(value)); return *this;}
56 inline ConflictException& 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 ConflictException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
71 inline ConflictException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
72 inline ConflictException& 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
AWS_KAFKA_API ConflictException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInvalidParameter(Aws::String &&value)
void SetInvalidParameter(const Aws::String &value)
ConflictException & WithInvalidParameter(const Aws::String &value)
ConflictException & WithMessage(const Aws::String &value)
ConflictException & WithMessage(const char *value)
ConflictException & WithInvalidParameter(Aws::String &&value)
void SetMessage(Aws::String &&value)
AWS_KAFKA_API ConflictException(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInvalidParameter(const char *value)
ConflictException & WithMessage(Aws::String &&value)
void SetMessage(const Aws::String &value)
const Aws::String & GetInvalidParameter() const
ConflictException & WithInvalidParameter(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue