AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
50 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
52 inline WorkerConfigurationSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetDescription() const{ return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
62 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
63 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
64 inline WorkerConfigurationSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
65 inline WorkerConfigurationSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
66 inline WorkerConfigurationSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
68
70
73 inline const WorkerConfigurationRevisionSummary& GetLatestRevision() const{ return m_latestRevision; }
74 inline bool LatestRevisionHasBeenSet() const { return m_latestRevisionHasBeenSet; }
75 inline void SetLatestRevision(const WorkerConfigurationRevisionSummary& value) { m_latestRevisionHasBeenSet = true; m_latestRevision = value; }
76 inline void SetLatestRevision(WorkerConfigurationRevisionSummary&& value) { m_latestRevisionHasBeenSet = true; m_latestRevision = std::move(value); }
80
82
85 inline const Aws::String& GetName() const{ return m_name; }
86 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
88 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
89 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
90 inline WorkerConfigurationSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
91 inline WorkerConfigurationSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
92 inline WorkerConfigurationSummary& WithName(const char* value) { SetName(value); return *this;}
94
96
99 inline const Aws::String& GetWorkerConfigurationArn() const{ return m_workerConfigurationArn; }
100 inline bool WorkerConfigurationArnHasBeenSet() const { return m_workerConfigurationArnHasBeenSet; }
101 inline void SetWorkerConfigurationArn(const Aws::String& value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn = value; }
102 inline void SetWorkerConfigurationArn(Aws::String&& value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn = std::move(value); }
103 inline void SetWorkerConfigurationArn(const char* value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn.assign(value); }
106 inline WorkerConfigurationSummary& WithWorkerConfigurationArn(const char* value) { SetWorkerConfigurationArn(value); return *this;}
108
110
113 inline const WorkerConfigurationState& GetWorkerConfigurationState() const{ return m_workerConfigurationState; }
114 inline bool WorkerConfigurationStateHasBeenSet() const { return m_workerConfigurationStateHasBeenSet; }
115 inline void SetWorkerConfigurationState(const WorkerConfigurationState& value) { m_workerConfigurationStateHasBeenSet = true; m_workerConfigurationState = value; }
116 inline void SetWorkerConfigurationState(WorkerConfigurationState&& value) { m_workerConfigurationStateHasBeenSet = true; m_workerConfigurationState = std::move(value); }
120 private:
121
122 Aws::Utils::DateTime m_creationTime;
123 bool m_creationTimeHasBeenSet = false;
124
125 Aws::String m_description;
126 bool m_descriptionHasBeenSet = false;
127
128 WorkerConfigurationRevisionSummary m_latestRevision;
129 bool m_latestRevisionHasBeenSet = false;
130
131 Aws::String m_name;
132 bool m_nameHasBeenSet = false;
133
134 Aws::String m_workerConfigurationArn;
135 bool m_workerConfigurationArnHasBeenSet = false;
136
137 WorkerConfigurationState m_workerConfigurationState;
138 bool m_workerConfigurationStateHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace KafkaConnect
143} // namespace Aws
WorkerConfigurationSummary & WithWorkerConfigurationArn(Aws::String &&value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
WorkerConfigurationSummary & WithName(const char *value)
void SetWorkerConfigurationState(WorkerConfigurationState &&value)
WorkerConfigurationSummary & WithDescription(const Aws::String &value)
WorkerConfigurationSummary & WithCreationTime(Aws::Utils::DateTime &&value)
WorkerConfigurationSummary & WithWorkerConfigurationState(const WorkerConfigurationState &value)
const WorkerConfigurationState & GetWorkerConfigurationState() const
WorkerConfigurationSummary & WithDescription(const char *value)
const WorkerConfigurationRevisionSummary & GetLatestRevision() const
AWS_KAFKACONNECT_API WorkerConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
WorkerConfigurationSummary & WithName(Aws::String &&value)
WorkerConfigurationSummary & WithDescription(Aws::String &&value)
WorkerConfigurationSummary & WithWorkerConfigurationState(WorkerConfigurationState &&value)
void SetLatestRevision(const WorkerConfigurationRevisionSummary &value)
WorkerConfigurationSummary & WithWorkerConfigurationArn(const Aws::String &value)
WorkerConfigurationSummary & WithCreationTime(const Aws::Utils::DateTime &value)
WorkerConfigurationSummary & WithWorkerConfigurationArn(const char *value)
WorkerConfigurationSummary & WithName(const Aws::String &value)
WorkerConfigurationSummary & WithLatestRevision(const WorkerConfigurationRevisionSummary &value)
AWS_KAFKACONNECT_API WorkerConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLatestRevision(WorkerConfigurationRevisionSummary &&value)
WorkerConfigurationSummary & WithLatestRevision(WorkerConfigurationRevisionSummary &&value)
void SetWorkerConfigurationState(const WorkerConfigurationState &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue