AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicationInfoSummary.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Kafka
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_KAFKA_API ReplicationInfoSummary();
38 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetSourceKafkaClusterAlias() const{ return m_sourceKafkaClusterAlias; }
46 inline bool SourceKafkaClusterAliasHasBeenSet() const { return m_sourceKafkaClusterAliasHasBeenSet; }
47 inline void SetSourceKafkaClusterAlias(const Aws::String& value) { m_sourceKafkaClusterAliasHasBeenSet = true; m_sourceKafkaClusterAlias = value; }
48 inline void SetSourceKafkaClusterAlias(Aws::String&& value) { m_sourceKafkaClusterAliasHasBeenSet = true; m_sourceKafkaClusterAlias = std::move(value); }
49 inline void SetSourceKafkaClusterAlias(const char* value) { m_sourceKafkaClusterAliasHasBeenSet = true; m_sourceKafkaClusterAlias.assign(value); }
52 inline ReplicationInfoSummary& WithSourceKafkaClusterAlias(const char* value) { SetSourceKafkaClusterAlias(value); return *this;}
54
56
59 inline const Aws::String& GetTargetKafkaClusterAlias() const{ return m_targetKafkaClusterAlias; }
60 inline bool TargetKafkaClusterAliasHasBeenSet() const { return m_targetKafkaClusterAliasHasBeenSet; }
61 inline void SetTargetKafkaClusterAlias(const Aws::String& value) { m_targetKafkaClusterAliasHasBeenSet = true; m_targetKafkaClusterAlias = value; }
62 inline void SetTargetKafkaClusterAlias(Aws::String&& value) { m_targetKafkaClusterAliasHasBeenSet = true; m_targetKafkaClusterAlias = std::move(value); }
63 inline void SetTargetKafkaClusterAlias(const char* value) { m_targetKafkaClusterAliasHasBeenSet = true; m_targetKafkaClusterAlias.assign(value); }
66 inline ReplicationInfoSummary& WithTargetKafkaClusterAlias(const char* value) { SetTargetKafkaClusterAlias(value); return *this;}
68 private:
69
70 Aws::String m_sourceKafkaClusterAlias;
71 bool m_sourceKafkaClusterAliasHasBeenSet = false;
72
73 Aws::String m_targetKafkaClusterAlias;
74 bool m_targetKafkaClusterAliasHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Kafka
79} // namespace Aws
ReplicationInfoSummary & WithSourceKafkaClusterAlias(const Aws::String &value)
ReplicationInfoSummary & WithSourceKafkaClusterAlias(Aws::String &&value)
ReplicationInfoSummary & WithTargetKafkaClusterAlias(const Aws::String &value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKA_API ReplicationInfoSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSourceKafkaClusterAlias() const
void SetSourceKafkaClusterAlias(const Aws::String &value)
ReplicationInfoSummary & WithSourceKafkaClusterAlias(const char *value)
AWS_KAFKA_API ReplicationInfoSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ReplicationInfoSummary & WithTargetKafkaClusterAlias(const char *value)
const Aws::String & GetTargetKafkaClusterAlias() const
ReplicationInfoSummary & WithTargetKafkaClusterAlias(Aws::String &&value)
void SetTargetKafkaClusterAlias(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue