AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
WorkerConfiguration.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_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 KafkaConnect
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_KAFKACONNECT_API WorkerConfiguration() = default;
36 AWS_KAFKACONNECT_API WorkerConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline long long GetRevision() const { return m_revision; }
46 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
47 inline void SetRevision(long long value) { m_revisionHasBeenSet = true; m_revision = value; }
48 inline WorkerConfiguration& WithRevision(long long value) { SetRevision(value); return *this;}
50
52
55 inline const Aws::String& GetWorkerConfigurationArn() const { return m_workerConfigurationArn; }
56 inline bool WorkerConfigurationArnHasBeenSet() const { return m_workerConfigurationArnHasBeenSet; }
57 template<typename WorkerConfigurationArnT = Aws::String>
58 void SetWorkerConfigurationArn(WorkerConfigurationArnT&& value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn = std::forward<WorkerConfigurationArnT>(value); }
59 template<typename WorkerConfigurationArnT = Aws::String>
60 WorkerConfiguration& WithWorkerConfigurationArn(WorkerConfigurationArnT&& value) { SetWorkerConfigurationArn(std::forward<WorkerConfigurationArnT>(value)); return *this;}
62 private:
63
64 long long m_revision{0};
65 bool m_revisionHasBeenSet = false;
66
67 Aws::String m_workerConfigurationArn;
68 bool m_workerConfigurationArnHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace KafkaConnect
73} // namespace Aws
void SetWorkerConfigurationArn(WorkerConfigurationArnT &&value)
AWS_KAFKACONNECT_API WorkerConfiguration()=default
AWS_KAFKACONNECT_API WorkerConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkerConfiguration & WithWorkerConfigurationArn(WorkerConfigurationArnT &&value)
WorkerConfiguration & WithRevision(long long value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetWorkerConfigurationArn() const
AWS_KAFKACONNECT_API WorkerConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue