AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CustomPluginRevisionSummary.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/kafkaconnect/model/CustomPluginContentType.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/kafkaconnect/model/CustomPluginFileDescription.h>
12#include <aws/kafkaconnect/model/CustomPluginLocationDescription.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace KafkaConnect
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_KAFKACONNECT_API CustomPluginRevisionSummary() = default;
41 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline CustomPluginContentType GetContentType() const { return m_contentType; }
49 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
50 inline void SetContentType(CustomPluginContentType value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
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) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
62 template<typename CreationTimeT = Aws::Utils::DateTime>
63 CustomPluginRevisionSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 template<typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
74 template<typename DescriptionT = Aws::String>
75 CustomPluginRevisionSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
77
79
82 inline const CustomPluginFileDescription& GetFileDescription() const { return m_fileDescription; }
83 inline bool FileDescriptionHasBeenSet() const { return m_fileDescriptionHasBeenSet; }
84 template<typename FileDescriptionT = CustomPluginFileDescription>
85 void SetFileDescription(FileDescriptionT&& value) { m_fileDescriptionHasBeenSet = true; m_fileDescription = std::forward<FileDescriptionT>(value); }
86 template<typename FileDescriptionT = CustomPluginFileDescription>
87 CustomPluginRevisionSummary& WithFileDescription(FileDescriptionT&& value) { SetFileDescription(std::forward<FileDescriptionT>(value)); return *this;}
89
91
94 inline const CustomPluginLocationDescription& GetLocation() const { return m_location; }
95 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
96 template<typename LocationT = CustomPluginLocationDescription>
97 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
98 template<typename LocationT = CustomPluginLocationDescription>
99 CustomPluginRevisionSummary& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
101
103
106 inline long long GetRevision() const { return m_revision; }
107 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
108 inline void SetRevision(long long value) { m_revisionHasBeenSet = true; m_revision = value; }
109 inline CustomPluginRevisionSummary& WithRevision(long long value) { SetRevision(value); return *this;}
111 private:
112
114 bool m_contentTypeHasBeenSet = false;
115
116 Aws::Utils::DateTime m_creationTime{};
117 bool m_creationTimeHasBeenSet = false;
118
119 Aws::String m_description;
120 bool m_descriptionHasBeenSet = false;
121
122 CustomPluginFileDescription m_fileDescription;
123 bool m_fileDescriptionHasBeenSet = false;
124
125 CustomPluginLocationDescription m_location;
126 bool m_locationHasBeenSet = false;
127
128 long long m_revision{0};
129 bool m_revisionHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace KafkaConnect
134} // 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