AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkerConfigurationDescription.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
32 {
33 public:
34 AWS_KAFKACONNECT_API WorkerConfigurationDescription();
37 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline long long GetRevision() const{ return m_revision; }
45 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
46 inline void SetRevision(long long value) { m_revisionHasBeenSet = true; m_revision = value; }
47 inline WorkerConfigurationDescription& WithRevision(long long value) { SetRevision(value); return *this;}
49
51
54 inline const Aws::String& GetWorkerConfigurationArn() const{ return m_workerConfigurationArn; }
55 inline bool WorkerConfigurationArnHasBeenSet() const { return m_workerConfigurationArnHasBeenSet; }
56 inline void SetWorkerConfigurationArn(const Aws::String& value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn = value; }
57 inline void SetWorkerConfigurationArn(Aws::String&& value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn = std::move(value); }
58 inline void SetWorkerConfigurationArn(const char* value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn.assign(value); }
63 private:
64
65 long long m_revision;
66 bool m_revisionHasBeenSet = false;
67
68 Aws::String m_workerConfigurationArn;
69 bool m_workerConfigurationArnHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace KafkaConnect
74} // namespace Aws
WorkerConfigurationDescription & WithWorkerConfigurationArn(const char *value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
WorkerConfigurationDescription & WithWorkerConfigurationArn(const Aws::String &value)
AWS_KAFKACONNECT_API WorkerConfigurationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkerConfigurationDescription & WithRevision(long long value)
AWS_KAFKACONNECT_API WorkerConfigurationDescription(Aws::Utils::Json::JsonView jsonValue)
WorkerConfigurationDescription & WithWorkerConfigurationArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue