AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ErrorCodeT = Aws::String>
52 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::forward<ErrorCodeT>(value); }
53 template<typename ErrorCodeT = Aws::String>
54 UnprocessedScramSecret& WithErrorCode(ErrorCodeT&& value) { SetErrorCode(std::forward<ErrorCodeT>(value)); return *this;}
56
58
63 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
64 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
65 template<typename ErrorMessageT = Aws::String>
66 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
67 template<typename ErrorMessageT = Aws::String>
68 UnprocessedScramSecret& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
70
72
77 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
78 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
79 template<typename SecretArnT = Aws::String>
80 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::forward<SecretArnT>(value); }
81 template<typename SecretArnT = Aws::String>
82 UnprocessedScramSecret& WithSecretArn(SecretArnT&& value) { SetSecretArn(std::forward<SecretArnT>(value)); return *this;}
84 private:
85
86 Aws::String m_errorCode;
87 bool m_errorCodeHasBeenSet = false;
88
89 Aws::String m_errorMessage;
90 bool m_errorMessageHasBeenSet = false;
91
92 Aws::String m_secretArn;
93 bool m_secretArnHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Kafka
98} // namespace Aws
UnprocessedScramSecret & WithErrorCode(ErrorCodeT &&value)
AWS_KAFKA_API UnprocessedScramSecret()=default
UnprocessedScramSecret & WithSecretArn(SecretArnT &&value)
AWS_KAFKA_API UnprocessedScramSecret(Aws::Utils::Json::JsonView jsonValue)
UnprocessedScramSecret & WithErrorMessage(ErrorMessageT &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKA_API UnprocessedScramSecret & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue