AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UnprocessedScramSecret.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 UnprocessedScramSecret();
40 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
50 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
51 inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
52 inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
53 inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
54 inline UnprocessedScramSecret& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
55 inline UnprocessedScramSecret& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
56 inline UnprocessedScramSecret& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
58
60
65 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
66 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
67 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
68 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
69 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
70 inline UnprocessedScramSecret& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
71 inline UnprocessedScramSecret& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
72 inline UnprocessedScramSecret& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
74
76
81 inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
82 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
83 inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
84 inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
85 inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
86 inline UnprocessedScramSecret& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
87 inline UnprocessedScramSecret& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
88 inline UnprocessedScramSecret& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
90 private:
91
92 Aws::String m_errorCode;
93 bool m_errorCodeHasBeenSet = false;
94
95 Aws::String m_errorMessage;
96 bool m_errorMessageHasBeenSet = false;
97
98 Aws::String m_secretArn;
99 bool m_secretArnHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Kafka
104} // namespace Aws
UnprocessedScramSecret & WithErrorCode(Aws::String &&value)
UnprocessedScramSecret & WithErrorCode(const char *value)
UnprocessedScramSecret & WithErrorMessage(const Aws::String &value)
AWS_KAFKA_API UnprocessedScramSecret(Aws::Utils::Json::JsonView jsonValue)
UnprocessedScramSecret & WithSecretArn(Aws::String &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorMessage(const Aws::String &value)
UnprocessedScramSecret & WithErrorCode(const Aws::String &value)
AWS_KAFKA_API UnprocessedScramSecret & operator=(Aws::Utils::Json::JsonView jsonValue)
UnprocessedScramSecret & WithSecretArn(const Aws::String &value)
UnprocessedScramSecret & WithErrorMessage(const char *value)
UnprocessedScramSecret & WithSecretArn(const char *value)
UnprocessedScramSecret & WithErrorMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue