AWS SDK for C++  1.9.106
AWS SDK for C++
UnprocessedScramSecret.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Kafka
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
48  inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
49 
55  inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
56 
62  inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
63 
69  inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
70 
76  inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
77 
83  inline UnprocessedScramSecret& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
84 
90  inline UnprocessedScramSecret& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
91 
97  inline UnprocessedScramSecret& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
98 
99 
105  inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
106 
112  inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
113 
119  inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
120 
126  inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
127 
133  inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
134 
140  inline UnprocessedScramSecret& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
141 
147  inline UnprocessedScramSecret& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
148 
154  inline UnprocessedScramSecret& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
155 
156 
162  inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
163 
169  inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
170 
176  inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
177 
183  inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
184 
190  inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
191 
197  inline UnprocessedScramSecret& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
198 
204  inline UnprocessedScramSecret& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
205 
211  inline UnprocessedScramSecret& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
212 
213  private:
214 
215  Aws::String m_errorCode;
216  bool m_errorCodeHasBeenSet;
217 
218  Aws::String m_errorMessage;
219  bool m_errorMessageHasBeenSet;
220 
221  Aws::String m_secretArn;
222  bool m_secretArnHasBeenSet;
223  };
224 
225 } // namespace Model
226 } // namespace Kafka
227 } // namespace Aws
Aws::Kafka::Model::UnprocessedScramSecret::UnprocessedScramSecret
UnprocessedScramSecret()
Aws::Kafka::Model::UnprocessedScramSecret::WithErrorMessage
UnprocessedScramSecret & WithErrorMessage(const Aws::String &value)
Definition: UnprocessedScramSecret.h:140
Aws::Kafka::Model::UnprocessedScramSecret::WithErrorCode
UnprocessedScramSecret & WithErrorCode(const Aws::String &value)
Definition: UnprocessedScramSecret.h:83
Aws::Kafka::Model::UnprocessedScramSecret::WithErrorCode
UnprocessedScramSecret & WithErrorCode(const char *value)
Definition: UnprocessedScramSecret.h:97
Aws::Kafka::Model::UnprocessedScramSecret::UnprocessedScramSecret
UnprocessedScramSecret(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::UnprocessedScramSecret::SetErrorCode
void SetErrorCode(const char *value)
Definition: UnprocessedScramSecret.h:76
Aws::Kafka::Model::UnprocessedScramSecret::WithSecretArn
UnprocessedScramSecret & WithSecretArn(const char *value)
Definition: UnprocessedScramSecret.h:211
Aws::Kafka::Model::UnprocessedScramSecret::SetErrorMessage
void SetErrorMessage(Aws::String &&value)
Definition: UnprocessedScramSecret.h:126
Aws::Kafka::Model::UnprocessedScramSecret::SetErrorCode
void SetErrorCode(const Aws::String &value)
Definition: UnprocessedScramSecret.h:62
Aws::Kafka::Model::UnprocessedScramSecret::SecretArnHasBeenSet
bool SecretArnHasBeenSet() const
Definition: UnprocessedScramSecret.h:169
Aws::Kafka::Model::UnprocessedScramSecret::ErrorMessageHasBeenSet
bool ErrorMessageHasBeenSet() const
Definition: UnprocessedScramSecret.h:112
Aws::Kafka::Model::UnprocessedScramSecret::SetErrorMessage
void SetErrorMessage(const Aws::String &value)
Definition: UnprocessedScramSecret.h:119
Aws::Kafka::Model::UnprocessedScramSecret::SetSecretArn
void SetSecretArn(const char *value)
Definition: UnprocessedScramSecret.h:190
Aws::Kafka::Model::UnprocessedScramSecret::SetErrorMessage
void SetErrorMessage(const char *value)
Definition: UnprocessedScramSecret.h:133
Aws::Kafka::Model::UnprocessedScramSecret
Definition: UnprocessedScramSecret.h:35
Aws::Kafka::Model::UnprocessedScramSecret::WithErrorMessage
UnprocessedScramSecret & WithErrorMessage(const char *value)
Definition: UnprocessedScramSecret.h:154
Aws::Kafka::Model::UnprocessedScramSecret::GetErrorCode
const Aws::String & GetErrorCode() const
Definition: UnprocessedScramSecret.h:48
Aws::Kafka::Model::UnprocessedScramSecret::WithErrorCode
UnprocessedScramSecret & WithErrorCode(Aws::String &&value)
Definition: UnprocessedScramSecret.h:90
Aws::Kafka::Model::UnprocessedScramSecret::SetSecretArn
void SetSecretArn(Aws::String &&value)
Definition: UnprocessedScramSecret.h:183
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::UnprocessedScramSecret::WithSecretArn
UnprocessedScramSecret & WithSecretArn(const Aws::String &value)
Definition: UnprocessedScramSecret.h:197
Aws::Kafka::Model::UnprocessedScramSecret::WithSecretArn
UnprocessedScramSecret & WithSecretArn(Aws::String &&value)
Definition: UnprocessedScramSecret.h:204
Aws::Kafka::Model::UnprocessedScramSecret::SetErrorCode
void SetErrorCode(Aws::String &&value)
Definition: UnprocessedScramSecret.h:69
Aws::Kafka::Model::UnprocessedScramSecret::GetSecretArn
const Aws::String & GetSecretArn() const
Definition: UnprocessedScramSecret.h:162
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::UnprocessedScramSecret::operator=
UnprocessedScramSecret & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::UnprocessedScramSecret::WithErrorMessage
UnprocessedScramSecret & WithErrorMessage(Aws::String &&value)
Definition: UnprocessedScramSecret.h:147
Aws::Kafka::Model::UnprocessedScramSecret::GetErrorMessage
const Aws::String & GetErrorMessage() const
Definition: UnprocessedScramSecret.h:105
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::UnprocessedScramSecret::SetSecretArn
void SetSecretArn(const Aws::String &value)
Definition: UnprocessedScramSecret.h:176
Aws::Kafka::Model::UnprocessedScramSecret::ErrorCodeHasBeenSet
bool ErrorCodeHasBeenSet() const
Definition: UnprocessedScramSecret.h:55
Aws::Kafka::Model::UnprocessedScramSecret::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const