AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UnprocessedScramSecret.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafka/Kafka_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Kafka {
20namespace Model {
21
31 public:
32 AWS_KAFKA_API UnprocessedScramSecret() = default;
35 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Aws::String& GetErrorCode() const { return m_errorCode; }
44 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
45 template <typename ErrorCodeT = Aws::String>
46 void SetErrorCode(ErrorCodeT&& value) {
47 m_errorCodeHasBeenSet = true;
48 m_errorCode = std::forward<ErrorCodeT>(value);
49 }
50 template <typename ErrorCodeT = Aws::String>
52 SetErrorCode(std::forward<ErrorCodeT>(value));
53 return *this;
54 }
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) {
67 m_errorMessageHasBeenSet = true;
68 m_errorMessage = std::forward<ErrorMessageT>(value);
69 }
70 template <typename ErrorMessageT = Aws::String>
71 UnprocessedScramSecret& WithErrorMessage(ErrorMessageT&& value) {
72 SetErrorMessage(std::forward<ErrorMessageT>(value));
73 return *this;
74 }
76
78
83 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
84 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
85 template <typename SecretArnT = Aws::String>
86 void SetSecretArn(SecretArnT&& value) {
87 m_secretArnHasBeenSet = true;
88 m_secretArn = std::forward<SecretArnT>(value);
89 }
90 template <typename SecretArnT = Aws::String>
92 SetSecretArn(std::forward<SecretArnT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_errorCode;
98
99 Aws::String m_errorMessage;
100
101 Aws::String m_secretArn;
102 bool m_errorCodeHasBeenSet = false;
103 bool m_errorMessageHasBeenSet = false;
104 bool m_secretArnHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace Kafka
109} // 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