AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
WorkerConfigurationSummary.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kafkaconnect/model/WorkerConfigurationRevisionSummary.h>
11#include <aws/kafkaconnect/model/WorkerConfigurationState.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace KafkaConnect
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_KAFKACONNECT_API WorkerConfigurationSummary() = default;
40 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
48 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
49 template<typename CreationTimeT = Aws::Utils::DateTime>
50 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
51 template<typename CreationTimeT = Aws::Utils::DateTime>
52 WorkerConfigurationSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
54
56
59 inline const Aws::String& GetDescription() const { return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 template<typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
63 template<typename DescriptionT = Aws::String>
64 WorkerConfigurationSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
66
68
71 inline const WorkerConfigurationRevisionSummary& GetLatestRevision() const { return m_latestRevision; }
72 inline bool LatestRevisionHasBeenSet() const { return m_latestRevisionHasBeenSet; }
73 template<typename LatestRevisionT = WorkerConfigurationRevisionSummary>
74 void SetLatestRevision(LatestRevisionT&& value) { m_latestRevisionHasBeenSet = true; m_latestRevision = std::forward<LatestRevisionT>(value); }
75 template<typename LatestRevisionT = WorkerConfigurationRevisionSummary>
76 WorkerConfigurationSummary& WithLatestRevision(LatestRevisionT&& value) { SetLatestRevision(std::forward<LatestRevisionT>(value)); return *this;}
78
80
83 inline const Aws::String& GetName() const { return m_name; }
84 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
85 template<typename NameT = Aws::String>
86 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
87 template<typename NameT = Aws::String>
88 WorkerConfigurationSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
90
92
95 inline const Aws::String& GetWorkerConfigurationArn() const { return m_workerConfigurationArn; }
96 inline bool WorkerConfigurationArnHasBeenSet() const { return m_workerConfigurationArnHasBeenSet; }
97 template<typename WorkerConfigurationArnT = Aws::String>
98 void SetWorkerConfigurationArn(WorkerConfigurationArnT&& value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn = std::forward<WorkerConfigurationArnT>(value); }
99 template<typename WorkerConfigurationArnT = Aws::String>
100 WorkerConfigurationSummary& WithWorkerConfigurationArn(WorkerConfigurationArnT&& value) { SetWorkerConfigurationArn(std::forward<WorkerConfigurationArnT>(value)); return *this;}
102
104
107 inline WorkerConfigurationState GetWorkerConfigurationState() const { return m_workerConfigurationState; }
108 inline bool WorkerConfigurationStateHasBeenSet() const { return m_workerConfigurationStateHasBeenSet; }
109 inline void SetWorkerConfigurationState(WorkerConfigurationState value) { m_workerConfigurationStateHasBeenSet = true; m_workerConfigurationState = value; }
112 private:
113
114 Aws::Utils::DateTime m_creationTime{};
115 bool m_creationTimeHasBeenSet = false;
116
117 Aws::String m_description;
118 bool m_descriptionHasBeenSet = false;
119
120 WorkerConfigurationRevisionSummary m_latestRevision;
121 bool m_latestRevisionHasBeenSet = false;
122
123 Aws::String m_name;
124 bool m_nameHasBeenSet = false;
125
126 Aws::String m_workerConfigurationArn;
127 bool m_workerConfigurationArnHasBeenSet = false;
128
130 bool m_workerConfigurationStateHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace KafkaConnect
135} // namespace Aws
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
WorkerConfigurationSummary & WithCreationTime(CreationTimeT &&value)
WorkerConfigurationSummary & WithLatestRevision(LatestRevisionT &&value)
WorkerConfigurationSummary & WithWorkerConfigurationState(WorkerConfigurationState value)
const WorkerConfigurationRevisionSummary & GetLatestRevision() const
AWS_KAFKACONNECT_API WorkerConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
WorkerConfigurationSummary & WithName(NameT &&value)
WorkerConfigurationSummary & WithDescription(DescriptionT &&value)
void SetWorkerConfigurationArn(WorkerConfigurationArnT &&value)
AWS_KAFKACONNECT_API WorkerConfigurationSummary()=default
AWS_KAFKACONNECT_API WorkerConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkerConfigurationSummary & WithWorkerConfigurationArn(WorkerConfigurationArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue