AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CustomPluginRevisionSummary.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#include <aws/kafkaconnect/model/CustomPluginContentType.h>
11#include <aws/kafkaconnect/model/CustomPluginFileDescription.h>
12#include <aws/kafkaconnect/model/CustomPluginLocationDescription.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace KafkaConnect {
24namespace Model {
25
32 public:
33 AWS_KAFKACONNECT_API CustomPluginRevisionSummary() = default;
36 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline CustomPluginContentType GetContentType() const { return m_contentType; }
43 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
45 m_contentTypeHasBeenSet = true;
46 m_contentType = value;
47 }
49 SetContentType(value);
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
59 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
60 template <typename CreationTimeT = Aws::Utils::DateTime>
61 void SetCreationTime(CreationTimeT&& value) {
62 m_creationTimeHasBeenSet = true;
63 m_creationTime = std::forward<CreationTimeT>(value);
64 }
65 template <typename CreationTimeT = Aws::Utils::DateTime>
67 SetCreationTime(std::forward<CreationTimeT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
94 inline const CustomPluginFileDescription& GetFileDescription() const { return m_fileDescription; }
95 inline bool FileDescriptionHasBeenSet() const { return m_fileDescriptionHasBeenSet; }
96 template <typename FileDescriptionT = CustomPluginFileDescription>
97 void SetFileDescription(FileDescriptionT&& value) {
98 m_fileDescriptionHasBeenSet = true;
99 m_fileDescription = std::forward<FileDescriptionT>(value);
100 }
101 template <typename FileDescriptionT = CustomPluginFileDescription>
103 SetFileDescription(std::forward<FileDescriptionT>(value));
104 return *this;
105 }
107
109
112 inline const CustomPluginLocationDescription& GetLocation() const { return m_location; }
113 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
114 template <typename LocationT = CustomPluginLocationDescription>
115 void SetLocation(LocationT&& value) {
116 m_locationHasBeenSet = true;
117 m_location = std::forward<LocationT>(value);
118 }
119 template <typename LocationT = CustomPluginLocationDescription>
121 SetLocation(std::forward<LocationT>(value));
122 return *this;
123 }
125
127
130 inline long long GetRevision() const { return m_revision; }
131 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
132 inline void SetRevision(long long value) {
133 m_revisionHasBeenSet = true;
134 m_revision = value;
135 }
136 inline CustomPluginRevisionSummary& WithRevision(long long value) {
137 SetRevision(value);
138 return *this;
139 }
141 private:
143
144 Aws::Utils::DateTime m_creationTime{};
145
146 Aws::String m_description;
147
148 CustomPluginFileDescription m_fileDescription;
149
150 CustomPluginLocationDescription m_location;
151
152 long long m_revision{0};
153 bool m_contentTypeHasBeenSet = false;
154 bool m_creationTimeHasBeenSet = false;
155 bool m_descriptionHasBeenSet = false;
156 bool m_fileDescriptionHasBeenSet = false;
157 bool m_locationHasBeenSet = false;
158 bool m_revisionHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace KafkaConnect
163} // namespace Aws
const CustomPluginFileDescription & GetFileDescription() const
CustomPluginRevisionSummary & WithContentType(CustomPluginContentType value)
CustomPluginRevisionSummary & WithDescription(DescriptionT &&value)
CustomPluginRevisionSummary & WithCreationTime(CreationTimeT &&value)
const CustomPluginLocationDescription & GetLocation() const
CustomPluginRevisionSummary & WithLocation(LocationT &&value)
AWS_KAFKACONNECT_API CustomPluginRevisionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomPluginRevisionSummary & WithRevision(long long value)
AWS_KAFKACONNECT_API CustomPluginRevisionSummary()=default
AWS_KAFKACONNECT_API CustomPluginRevisionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
CustomPluginRevisionSummary & WithFileDescription(FileDescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue