AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
WorkerConfigurationDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace KafkaConnect {
20namespace Model {
21
28 public:
29 AWS_KAFKACONNECT_API WorkerConfigurationDescription() = default;
32 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline long long GetRevision() const { return m_revision; }
39 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
40 inline void SetRevision(long long value) {
41 m_revisionHasBeenSet = true;
42 m_revision = value;
43 }
45 SetRevision(value);
46 return *this;
47 }
49
51
54 inline const Aws::String& GetWorkerConfigurationArn() const { return m_workerConfigurationArn; }
55 inline bool WorkerConfigurationArnHasBeenSet() const { return m_workerConfigurationArnHasBeenSet; }
56 template <typename WorkerConfigurationArnT = Aws::String>
57 void SetWorkerConfigurationArn(WorkerConfigurationArnT&& value) {
58 m_workerConfigurationArnHasBeenSet = true;
59 m_workerConfigurationArn = std::forward<WorkerConfigurationArnT>(value);
60 }
61 template <typename WorkerConfigurationArnT = Aws::String>
63 SetWorkerConfigurationArn(std::forward<WorkerConfigurationArnT>(value));
64 return *this;
65 }
67 private:
68 long long m_revision{0};
69
70 Aws::String m_workerConfigurationArn;
71 bool m_revisionHasBeenSet = false;
72 bool m_workerConfigurationArnHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace KafkaConnect
77} // namespace Aws
AWS_KAFKACONNECT_API WorkerConfigurationDescription()=default
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
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(WorkerConfigurationArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue