AWS SDK for C++  1.9.105
AWS SDK for C++
EncryptionInTransit.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 
61  inline const ClientBroker& GetClientBroker() const{ return m_clientBroker; }
62 
81  inline bool ClientBrokerHasBeenSet() const { return m_clientBrokerHasBeenSet; }
82 
101  inline void SetClientBroker(const ClientBroker& value) { m_clientBrokerHasBeenSet = true; m_clientBroker = value; }
102 
121  inline void SetClientBroker(ClientBroker&& value) { m_clientBrokerHasBeenSet = true; m_clientBroker = std::move(value); }
122 
141  inline EncryptionInTransit& WithClientBroker(const ClientBroker& value) { SetClientBroker(value); return *this;}
142 
161  inline EncryptionInTransit& WithClientBroker(ClientBroker&& value) { SetClientBroker(std::move(value)); return *this;}
162 
163 
173  inline bool GetInCluster() const{ return m_inCluster; }
174 
184  inline bool InClusterHasBeenSet() const { return m_inClusterHasBeenSet; }
185 
195  inline void SetInCluster(bool value) { m_inClusterHasBeenSet = true; m_inCluster = value; }
196 
206  inline EncryptionInTransit& WithInCluster(bool value) { SetInCluster(value); return *this;}
207 
208  private:
209 
210  ClientBroker m_clientBroker;
211  bool m_clientBrokerHasBeenSet;
212 
213  bool m_inCluster;
214  bool m_inClusterHasBeenSet;
215  };
216 
217 } // namespace Model
218 } // namespace Kafka
219 } // namespace Aws
ClientBroker.h
Aws::Kafka::Model::EncryptionInTransit::GetInCluster
bool GetInCluster() const
Definition: EncryptionInTransit.h:173
Aws::Kafka::Model::EncryptionInTransit::WithClientBroker
EncryptionInTransit & WithClientBroker(const ClientBroker &value)
Definition: EncryptionInTransit.h:141
Aws::Kafka::Model::EncryptionInTransit::InClusterHasBeenSet
bool InClusterHasBeenSet() const
Definition: EncryptionInTransit.h:184
Aws::Kafka::Model::EncryptionInTransit::operator=
EncryptionInTransit & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::EncryptionInTransit::WithInCluster
EncryptionInTransit & WithInCluster(bool value)
Definition: EncryptionInTransit.h:206
Aws::Kafka::Model::EncryptionInTransit::WithClientBroker
EncryptionInTransit & WithClientBroker(ClientBroker &&value)
Definition: EncryptionInTransit.h:161
Aws::Kafka::Model::EncryptionInTransit::SetClientBroker
void SetClientBroker(const ClientBroker &value)
Definition: EncryptionInTransit.h:101
Aws::Kafka::Model::EncryptionInTransit::GetClientBroker
const ClientBroker & GetClientBroker() const
Definition: EncryptionInTransit.h:61
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::EncryptionInTransit::ClientBrokerHasBeenSet
bool ClientBrokerHasBeenSet() const
Definition: EncryptionInTransit.h:81
Aws::Kafka::Model::EncryptionInTransit
Definition: EncryptionInTransit.h:35
Aws::Kafka::Model::EncryptionInTransit::SetInCluster
void SetInCluster(bool value)
Definition: EncryptionInTransit.h:195
Aws::Kafka::Model::EncryptionInTransit::EncryptionInTransit
EncryptionInTransit(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::ClientBroker
ClientBroker
Definition: ClientBroker.h:17
Aws::Kafka::Model::EncryptionInTransit::EncryptionInTransit
EncryptionInTransit()
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::EncryptionInTransit::SetClientBroker
void SetClientBroker(ClientBroker &&value)
Definition: EncryptionInTransit.h:121
Kafka_EXPORTS.h
Aws::Kafka::Model::EncryptionInTransit::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const