AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
WorkerConfigurationRevisionSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace KafkaConnect {
21namespace Model {
22
29 public:
30 AWS_KAFKACONNECT_API WorkerConfigurationRevisionSummary() = default;
33 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
40 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
41 template <typename CreationTimeT = Aws::Utils::DateTime>
42 void SetCreationTime(CreationTimeT&& value) {
43 m_creationTimeHasBeenSet = true;
44 m_creationTime = std::forward<CreationTimeT>(value);
45 }
46 template <typename CreationTimeT = Aws::Utils::DateTime>
48 SetCreationTime(std::forward<CreationTimeT>(value));
49 return *this;
50 }
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) {
61 m_descriptionHasBeenSet = true;
62 m_description = std::forward<DescriptionT>(value);
63 }
64 template <typename DescriptionT = Aws::String>
66 SetDescription(std::forward<DescriptionT>(value));
67 return *this;
68 }
70
72
75 inline long long GetRevision() const { return m_revision; }
76 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
77 inline void SetRevision(long long value) {
78 m_revisionHasBeenSet = true;
79 m_revision = value;
80 }
82 SetRevision(value);
83 return *this;
84 }
86 private:
87 Aws::Utils::DateTime m_creationTime{};
88
89 Aws::String m_description;
90
91 long long m_revision{0};
92 bool m_creationTimeHasBeenSet = false;
93 bool m_descriptionHasBeenSet = false;
94 bool m_revisionHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace KafkaConnect
99} // 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