AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
WorkerConfigurationRevisionDescription.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
34 {
35 public:
36 AWS_KAFKACONNECT_API WorkerConfigurationRevisionDescription() = default;
39 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
47 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
48 template<typename CreationTimeT = Aws::Utils::DateTime>
49 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
50 template<typename CreationTimeT = Aws::Utils::DateTime>
51 WorkerConfigurationRevisionDescription& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
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) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
62 template<typename DescriptionT = Aws::String>
63 WorkerConfigurationRevisionDescription& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
65
67
70 inline const Aws::String& GetPropertiesFileContent() const { return m_propertiesFileContent; }
71 inline bool PropertiesFileContentHasBeenSet() const { return m_propertiesFileContentHasBeenSet; }
72 template<typename PropertiesFileContentT = Aws::String>
73 void SetPropertiesFileContent(PropertiesFileContentT&& value) { m_propertiesFileContentHasBeenSet = true; m_propertiesFileContent = std::forward<PropertiesFileContentT>(value); }
74 template<typename PropertiesFileContentT = Aws::String>
75 WorkerConfigurationRevisionDescription& WithPropertiesFileContent(PropertiesFileContentT&& value) { SetPropertiesFileContent(std::forward<PropertiesFileContentT>(value)); return *this;}
77
79
82 inline long long GetRevision() const { return m_revision; }
83 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
84 inline void SetRevision(long long value) { m_revisionHasBeenSet = true; m_revision = value; }
85 inline WorkerConfigurationRevisionDescription& WithRevision(long long value) { SetRevision(value); return *this;}
87 private:
88
89 Aws::Utils::DateTime m_creationTime{};
90 bool m_creationTimeHasBeenSet = false;
91
92 Aws::String m_description;
93 bool m_descriptionHasBeenSet = false;
94
95 Aws::String m_propertiesFileContent;
96 bool m_propertiesFileContentHasBeenSet = false;
97
98 long long m_revision{0};
99 bool m_revisionHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace KafkaConnect
104} // 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 & WithRevision(long long value)
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