AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const CustomPluginContentType& GetContentType() const{ return m_contentType; }
49 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
50 inline void SetContentType(const CustomPluginContentType& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
51 inline void SetContentType(CustomPluginContentType&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
53 inline CustomPluginRevisionSummary& WithContentType(CustomPluginContentType&& value) { SetContentType(std::move(value)); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
61 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
62 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
63 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
65 inline CustomPluginRevisionSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline CustomPluginRevisionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline CustomPluginRevisionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline CustomPluginRevisionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
86 inline const CustomPluginFileDescription& GetFileDescription() const{ return m_fileDescription; }
87 inline bool FileDescriptionHasBeenSet() const { return m_fileDescriptionHasBeenSet; }
88 inline void SetFileDescription(const CustomPluginFileDescription& value) { m_fileDescriptionHasBeenSet = true; m_fileDescription = value; }
89 inline void SetFileDescription(CustomPluginFileDescription&& value) { m_fileDescriptionHasBeenSet = true; m_fileDescription = std::move(value); }
93
95
98 inline const CustomPluginLocationDescription& GetLocation() const{ return m_location; }
99 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
100 inline void SetLocation(const CustomPluginLocationDescription& value) { m_locationHasBeenSet = true; m_location = value; }
101 inline void SetLocation(CustomPluginLocationDescription&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
103 inline CustomPluginRevisionSummary& WithLocation(CustomPluginLocationDescription&& value) { SetLocation(std::move(value)); return *this;}
105
107
110 inline long long GetRevision() const{ return m_revision; }
111 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
112 inline void SetRevision(long long value) { m_revisionHasBeenSet = true; m_revision = value; }
113 inline CustomPluginRevisionSummary& WithRevision(long long value) { SetRevision(value); return *this;}
115 private:
116
117 CustomPluginContentType m_contentType;
118 bool m_contentTypeHasBeenSet = false;
119
120 Aws::Utils::DateTime m_creationTime;
121 bool m_creationTimeHasBeenSet = false;
122
123 Aws::String m_description;
124 bool m_descriptionHasBeenSet = false;
125
126 CustomPluginFileDescription m_fileDescription;
127 bool m_fileDescriptionHasBeenSet = false;
128
130 bool m_locationHasBeenSet = false;
131
132 long long m_revision;
133 bool m_revisionHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace KafkaConnect
138} // namespace Aws
void SetFileDescription(const CustomPluginFileDescription &value)
const CustomPluginFileDescription & GetFileDescription() const
CustomPluginRevisionSummary & WithDescription(const Aws::String &value)
void SetContentType(const CustomPluginContentType &value)
CustomPluginRevisionSummary & WithDescription(Aws::String &&value)
CustomPluginRevisionSummary & WithCreationTime(const Aws::Utils::DateTime &value)
CustomPluginRevisionSummary & WithLocation(CustomPluginLocationDescription &&value)
const CustomPluginLocationDescription & GetLocation() const
CustomPluginRevisionSummary & WithFileDescription(const CustomPluginFileDescription &value)
CustomPluginRevisionSummary & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_KAFKACONNECT_API CustomPluginRevisionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFileDescription(CustomPluginFileDescription &&value)
CustomPluginRevisionSummary & WithDescription(const char *value)
CustomPluginRevisionSummary & WithFileDescription(CustomPluginFileDescription &&value)
void SetLocation(CustomPluginLocationDescription &&value)
void SetLocation(const CustomPluginLocationDescription &value)
CustomPluginRevisionSummary & WithRevision(long long value)
CustomPluginRevisionSummary & WithContentType(CustomPluginContentType &&value)
AWS_KAFKACONNECT_API CustomPluginRevisionSummary(Aws::Utils::Json::JsonView jsonValue)
CustomPluginRevisionSummary & WithContentType(const CustomPluginContentType &value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
CustomPluginRevisionSummary & WithLocation(const CustomPluginLocationDescription &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue