AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkerConfigurationRevisionSummary.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace KafkaConnect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_KAFKACONNECT_API WorkerConfigurationRevisionSummary();
38 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
46 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
47 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
48 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
52
54
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 inline WorkerConfigurationRevisionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline WorkerConfigurationRevisionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
71 inline long long GetRevision() const{ return m_revision; }
72 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
73 inline void SetRevision(long long value) { m_revisionHasBeenSet = true; m_revision = value; }
74 inline WorkerConfigurationRevisionSummary& WithRevision(long long value) { SetRevision(value); return *this;}
76 private:
77
78 Aws::Utils::DateTime m_creationTime;
79 bool m_creationTimeHasBeenSet = false;
80
81 Aws::String m_description;
82 bool m_descriptionHasBeenSet = false;
83
84 long long m_revision;
85 bool m_revisionHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace KafkaConnect
90} // namespace Aws
WorkerConfigurationRevisionSummary & WithDescription(const Aws::String &value)
WorkerConfigurationRevisionSummary & WithRevision(long long value)
WorkerConfigurationRevisionSummary & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_KAFKACONNECT_API WorkerConfigurationRevisionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
WorkerConfigurationRevisionSummary & WithDescription(const char *value)
WorkerConfigurationRevisionSummary & WithCreationTime(Aws::Utils::DateTime &&value)
WorkerConfigurationRevisionSummary & WithDescription(Aws::String &&value)
AWS_KAFKACONNECT_API WorkerConfigurationRevisionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue