AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ForbiddenException.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 ForbiddenException() = default;
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 template<typename InvalidParameterT = Aws::String>
52 void SetInvalidParameter(InvalidParameterT&& value) { m_invalidParameterHasBeenSet = true; m_invalidParameter = std::forward<InvalidParameterT>(value); }
53 template<typename InvalidParameterT = Aws::String>
54 ForbiddenException& WithInvalidParameter(InvalidParameterT&& value) { SetInvalidParameter(std::forward<InvalidParameterT>(value)); return *this;}
56
58
63 inline const Aws::String& GetMessage() const { return m_message; }
64 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
65 template<typename MessageT = Aws::String>
66 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
67 template<typename MessageT = Aws::String>
68 ForbiddenException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
70 private:
71
72 Aws::String m_invalidParameter;
73 bool m_invalidParameterHasBeenSet = false;
74
75 Aws::String m_message;
76 bool m_messageHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Kafka
81} // namespace Aws
ForbiddenException & WithMessage(MessageT &&value)
AWS_KAFKA_API ForbiddenException()=default
AWS_KAFKA_API ForbiddenException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
ForbiddenException & WithInvalidParameter(InvalidParameterT &&value)
const Aws::String & GetInvalidParameter() const
void SetInvalidParameter(InvalidParameterT &&value)
const Aws::String & GetMessage() const
AWS_KAFKA_API ForbiddenException(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue