AWS SDK for C++  1.9.106
AWS SDK for C++
Iam.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  Iam();
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 Iam& 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::Iam::Iam
Iam(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::Iam::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: Iam.h:53
Aws::Kafka::Model::Iam::SetEnabled
void SetEnabled(bool value)
Definition: Iam.h:60
Aws::Kafka::Model::Iam::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Kafka::Model::Iam
Definition: Iam.h:33
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::Iam::WithEnabled
Iam & WithEnabled(bool value)
Definition: Iam.h:67
Aws::Kafka::Model::Iam::operator=
Iam & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::Iam::GetEnabled
bool GetEnabled() const
Definition: Iam.h:46
Kafka_EXPORTS.h
Aws::Kafka::Model::Iam::Iam
Iam()