AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CustomPluginSummary.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 <aws/kafkaconnect/model/CustomPluginState.h>
11#include <aws/kafkaconnect/model/CustomPluginRevisionSummary.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace KafkaConnect
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_KAFKACONNECT_API CustomPluginSummary() = default;
38 AWS_KAFKACONNECT_API CustomPluginSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
48 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
49 template<typename CreationTimeT = Aws::Utils::DateTime>
50 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
51 template<typename CreationTimeT = Aws::Utils::DateTime>
52 CustomPluginSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
54
56
59 inline const Aws::String& GetCustomPluginArn() const { return m_customPluginArn; }
60 inline bool CustomPluginArnHasBeenSet() const { return m_customPluginArnHasBeenSet; }
61 template<typename CustomPluginArnT = Aws::String>
62 void SetCustomPluginArn(CustomPluginArnT&& value) { m_customPluginArnHasBeenSet = true; m_customPluginArn = std::forward<CustomPluginArnT>(value); }
63 template<typename CustomPluginArnT = Aws::String>
64 CustomPluginSummary& WithCustomPluginArn(CustomPluginArnT&& value) { SetCustomPluginArn(std::forward<CustomPluginArnT>(value)); return *this;}
66
68
71 inline CustomPluginState GetCustomPluginState() const { return m_customPluginState; }
72 inline bool CustomPluginStateHasBeenSet() const { return m_customPluginStateHasBeenSet; }
73 inline void SetCustomPluginState(CustomPluginState value) { m_customPluginStateHasBeenSet = true; m_customPluginState = value; }
76
78
81 inline const Aws::String& GetDescription() const { return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 template<typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
85 template<typename DescriptionT = Aws::String>
86 CustomPluginSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
88
90
93 inline const CustomPluginRevisionSummary& GetLatestRevision() const { return m_latestRevision; }
94 inline bool LatestRevisionHasBeenSet() const { return m_latestRevisionHasBeenSet; }
95 template<typename LatestRevisionT = CustomPluginRevisionSummary>
96 void SetLatestRevision(LatestRevisionT&& value) { m_latestRevisionHasBeenSet = true; m_latestRevision = std::forward<LatestRevisionT>(value); }
97 template<typename LatestRevisionT = CustomPluginRevisionSummary>
98 CustomPluginSummary& WithLatestRevision(LatestRevisionT&& value) { SetLatestRevision(std::forward<LatestRevisionT>(value)); return *this;}
100
102
105 inline const Aws::String& GetName() const { return m_name; }
106 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
107 template<typename NameT = Aws::String>
108 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
109 template<typename NameT = Aws::String>
110 CustomPluginSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
112 private:
113
114 Aws::Utils::DateTime m_creationTime{};
115 bool m_creationTimeHasBeenSet = false;
116
117 Aws::String m_customPluginArn;
118 bool m_customPluginArnHasBeenSet = false;
119
121 bool m_customPluginStateHasBeenSet = false;
122
123 Aws::String m_description;
124 bool m_descriptionHasBeenSet = false;
125
126 CustomPluginRevisionSummary m_latestRevision;
127 bool m_latestRevisionHasBeenSet = false;
128
129 Aws::String m_name;
130 bool m_nameHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace KafkaConnect
135} // namespace Aws
const Aws::Utils::DateTime & GetCreationTime() const
void SetCustomPluginArn(CustomPluginArnT &&value)
const CustomPluginRevisionSummary & GetLatestRevision() const
CustomPluginSummary & WithCustomPluginArn(CustomPluginArnT &&value)
AWS_KAFKACONNECT_API CustomPluginSummary()=default
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKACONNECT_API CustomPluginSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomPluginSummary & WithCreationTime(CreationTimeT &&value)
CustomPluginSummary & WithLatestRevision(LatestRevisionT &&value)
AWS_KAFKACONNECT_API CustomPluginSummary(Aws::Utils::Json::JsonView jsonValue)
CustomPluginSummary & WithDescription(DescriptionT &&value)
CustomPluginSummary & WithCustomPluginState(CustomPluginState value)
CustomPluginSummary & WithName(NameT &&value)
void SetCustomPluginState(CustomPluginState value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue