AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CreationTimeT = Aws::Utils::DateTime>
48 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
49 template<typename CreationTimeT = Aws::Utils::DateTime>
50 WorkerConfigurationRevisionSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
52
54
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template<typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
61 template<typename DescriptionT = Aws::String>
62 WorkerConfigurationRevisionSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
64
66
69 inline long long GetRevision() const { return m_revision; }
70 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
71 inline void SetRevision(long long value) { m_revisionHasBeenSet = true; m_revision = value; }
72 inline WorkerConfigurationRevisionSummary& WithRevision(long long value) { SetRevision(value); return *this;}
74 private:
75
76 Aws::Utils::DateTime m_creationTime{};
77 bool m_creationTimeHasBeenSet = false;
78
79 Aws::String m_description;
80 bool m_descriptionHasBeenSet = false;
81
82 long long m_revision{0};
83 bool m_revisionHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace KafkaConnect
88} // namespace Aws
WorkerConfigurationRevisionSummary & WithRevision(long long value)
AWS_KAFKACONNECT_API WorkerConfigurationRevisionSummary(Aws::Utils::Json::JsonView jsonValue)
WorkerConfigurationRevisionSummary & WithDescription(DescriptionT &&value)
WorkerConfigurationRevisionSummary & WithCreationTime(CreationTimeT &&value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKACONNECT_API WorkerConfigurationRevisionSummary()=default
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