AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetWorkerConfigurationArn(const Aws::String& value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn = value; }
58 inline void SetWorkerConfigurationArn(Aws::String&& value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn = std::move(value); }
59 inline void SetWorkerConfigurationArn(const char* value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn.assign(value); }
61 inline WorkerConfiguration& WithWorkerConfigurationArn(Aws::String&& value) { SetWorkerConfigurationArn(std::move(value)); return *this;}
62 inline WorkerConfiguration& WithWorkerConfigurationArn(const char* value) { SetWorkerConfigurationArn(value); return *this;}
64 private:
65
66 long long m_revision;
67 bool m_revisionHasBeenSet = false;
68
69 Aws::String m_workerConfigurationArn;
70 bool m_workerConfigurationArnHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace KafkaConnect
75} // namespace Aws
WorkerConfiguration & WithWorkerConfigurationArn(const char *value)
AWS_KAFKACONNECT_API WorkerConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkerConfiguration & WithWorkerConfigurationArn(Aws::String &&value)
WorkerConfiguration & WithRevision(long long value)
void SetWorkerConfigurationArn(const Aws::String &value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
WorkerConfiguration & WithWorkerConfigurationArn(const Aws::String &value)
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