AWS SDK for C++  1.9.106
AWS SDK for C++
Scram.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace Kafka
20 {
21 namespace Model
22 {
23 
33  {
34  public:
35  Scram();
39 
40 
46  inline bool GetEnabled() const{ return m_enabled; }
47 
53  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
54 
60  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
61 
67  inline Scram& WithEnabled(bool value) { SetEnabled(value); return *this;}
68 
69  private:
70 
71  bool m_enabled;
72  bool m_enabledHasBeenSet;
73  };
74 
75 } // namespace Model
76 } // namespace Kafka
77 } // namespace Aws
Aws::Kafka::Model::Scram::operator=
Scram & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::Scram::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: Scram.h:53
Aws::Kafka::Model::Scram::Scram
Scram()
Aws::Kafka::Model::Scram::WithEnabled
Scram & WithEnabled(bool value)
Definition: Scram.h:67
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::Scram::SetEnabled
void SetEnabled(bool value)
Definition: Scram.h:60
Aws::Kafka::Model::Scram::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Kafka::Model::Scram::GetEnabled
bool GetEnabled() const
Definition: Scram.h:46
Aws
Definition: AccessManagementClient.h:15
Kafka_EXPORTS.h
Aws::Kafka::Model::Scram::Scram
Scram(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::Scram
Definition: Scram.h:33