AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicationStartingPosition.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/ReplicationStartingPositionType.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:
38 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const ReplicationStartingPositionType& GetType() const{ return m_type; }
46 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
47 inline void SetType(const ReplicationStartingPositionType& value) { m_typeHasBeenSet = true; m_type = value; }
48 inline void SetType(ReplicationStartingPositionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
49 inline ReplicationStartingPosition& WithType(const ReplicationStartingPositionType& value) { SetType(value); return *this;}
50 inline ReplicationStartingPosition& WithType(ReplicationStartingPositionType&& value) { SetType(std::move(value)); return *this;}
52 private:
53
55 bool m_typeHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace Kafka
60} // namespace Aws
ReplicationStartingPosition & WithType(const ReplicationStartingPositionType &value)
AWS_KAFKA_API ReplicationStartingPosition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicationStartingPosition & WithType(ReplicationStartingPositionType &&value)
void SetType(ReplicationStartingPositionType &&value)
void SetType(const ReplicationStartingPositionType &value)
const ReplicationStartingPositionType & GetType() const
AWS_KAFKA_API ReplicationStartingPosition(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue