AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
WorkerConfigurationRevisionDescription.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
30 public:
31 AWS_KAFKACONNECT_API WorkerConfigurationRevisionDescription() = default;
34 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
41 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
42 template <typename CreationTimeT = Aws::Utils::DateTime>
43 void SetCreationTime(CreationTimeT&& value) {
44 m_creationTimeHasBeenSet = true;
45 m_creationTime = std::forward<CreationTimeT>(value);
46 }
47 template <typename CreationTimeT = Aws::Utils::DateTime>
49 SetCreationTime(std::forward<CreationTimeT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template <typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) {
62 m_descriptionHasBeenSet = true;
63 m_description = std::forward<DescriptionT>(value);
64 }
65 template <typename DescriptionT = Aws::String>
67 SetDescription(std::forward<DescriptionT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetPropertiesFileContent() const { return m_propertiesFileContent; }
77 inline bool PropertiesFileContentHasBeenSet() const { return m_propertiesFileContentHasBeenSet; }
78 template <typename PropertiesFileContentT = Aws::String>
79 void SetPropertiesFileContent(PropertiesFileContentT&& value) {
80 m_propertiesFileContentHasBeenSet = true;
81 m_propertiesFileContent = std::forward<PropertiesFileContentT>(value);
82 }
83 template <typename PropertiesFileContentT = Aws::String>
85 SetPropertiesFileContent(std::forward<PropertiesFileContentT>(value));
86 return *this;
87 }
89
91
94 inline long long GetRevision() const { return m_revision; }
95 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
96 inline void SetRevision(long long value) {
97 m_revisionHasBeenSet = true;
98 m_revision = value;
99 }
101 SetRevision(value);
102 return *this;
103 }
105 private:
106 Aws::Utils::DateTime m_creationTime{};
107
108 Aws::String m_description;
109
110 Aws::String m_propertiesFileContent;
111
112 long long m_revision{0};
113 bool m_creationTimeHasBeenSet = false;
114 bool m_descriptionHasBeenSet = false;
115 bool m_propertiesFileContentHasBeenSet = false;
116 bool m_revisionHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace KafkaConnect
121} // namespace Aws
WorkerConfigurationRevisionDescription & WithPropertiesFileContent(PropertiesFileContentT &&value)
WorkerConfigurationRevisionDescription & WithDescription(DescriptionT &&value)
AWS_KAFKACONNECT_API WorkerConfigurationRevisionDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
WorkerConfigurationRevisionDescription & WithCreationTime(CreationTimeT &&value)
AWS_KAFKACONNECT_API WorkerConfigurationRevisionDescription(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue