AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
50 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
51 inline CustomPluginSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
52 inline CustomPluginSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetCustomPluginArn() const{ return m_customPluginArn; }
60 inline bool CustomPluginArnHasBeenSet() const { return m_customPluginArnHasBeenSet; }
61 inline void SetCustomPluginArn(const Aws::String& value) { m_customPluginArnHasBeenSet = true; m_customPluginArn = value; }
62 inline void SetCustomPluginArn(Aws::String&& value) { m_customPluginArnHasBeenSet = true; m_customPluginArn = std::move(value); }
63 inline void SetCustomPluginArn(const char* value) { m_customPluginArnHasBeenSet = true; m_customPluginArn.assign(value); }
64 inline CustomPluginSummary& WithCustomPluginArn(const Aws::String& value) { SetCustomPluginArn(value); return *this;}
65 inline CustomPluginSummary& WithCustomPluginArn(Aws::String&& value) { SetCustomPluginArn(std::move(value)); return *this;}
66 inline CustomPluginSummary& WithCustomPluginArn(const char* value) { SetCustomPluginArn(value); return *this;}
68
70
73 inline const CustomPluginState& GetCustomPluginState() const{ return m_customPluginState; }
74 inline bool CustomPluginStateHasBeenSet() const { return m_customPluginStateHasBeenSet; }
75 inline void SetCustomPluginState(const CustomPluginState& value) { m_customPluginStateHasBeenSet = true; m_customPluginState = value; }
76 inline void SetCustomPluginState(CustomPluginState&& value) { m_customPluginStateHasBeenSet = true; m_customPluginState = std::move(value); }
78 inline CustomPluginSummary& WithCustomPluginState(CustomPluginState&& value) { SetCustomPluginState(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetDescription() const{ return m_description; }
86 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
87 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
88 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
89 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
90 inline CustomPluginSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
91 inline CustomPluginSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
92 inline CustomPluginSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
94
96
99 inline const CustomPluginRevisionSummary& GetLatestRevision() const{ return m_latestRevision; }
100 inline bool LatestRevisionHasBeenSet() const { return m_latestRevisionHasBeenSet; }
101 inline void SetLatestRevision(const CustomPluginRevisionSummary& value) { m_latestRevisionHasBeenSet = true; m_latestRevision = value; }
102 inline void SetLatestRevision(CustomPluginRevisionSummary&& value) { m_latestRevisionHasBeenSet = true; m_latestRevision = std::move(value); }
104 inline CustomPluginSummary& WithLatestRevision(CustomPluginRevisionSummary&& value) { SetLatestRevision(std::move(value)); return *this;}
106
108
111 inline const Aws::String& GetName() const{ return m_name; }
112 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
113 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
114 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
115 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
116 inline CustomPluginSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
117 inline CustomPluginSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
118 inline CustomPluginSummary& WithName(const char* value) { SetName(value); return *this;}
120 private:
121
122 Aws::Utils::DateTime m_creationTime;
123 bool m_creationTimeHasBeenSet = false;
124
125 Aws::String m_customPluginArn;
126 bool m_customPluginArnHasBeenSet = false;
127
128 CustomPluginState m_customPluginState;
129 bool m_customPluginStateHasBeenSet = false;
130
131 Aws::String m_description;
132 bool m_descriptionHasBeenSet = false;
133
134 CustomPluginRevisionSummary m_latestRevision;
135 bool m_latestRevisionHasBeenSet = false;
136
137 Aws::String m_name;
138 bool m_nameHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace KafkaConnect
143} // namespace Aws
const CustomPluginState & GetCustomPluginState() const
CustomPluginSummary & WithDescription(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
CustomPluginSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetLatestRevision(CustomPluginRevisionSummary &&value)
CustomPluginSummary & WithDescription(Aws::String &&value)
CustomPluginSummary & WithCustomPluginArn(Aws::String &&value)
CustomPluginSummary & WithCustomPluginArn(const Aws::String &value)
CustomPluginSummary & WithLatestRevision(CustomPluginRevisionSummary &&value)
CustomPluginSummary & WithDescription(const Aws::String &value)
CustomPluginSummary & WithName(Aws::String &&value)
void SetCustomPluginState(const CustomPluginState &value)
const CustomPluginRevisionSummary & GetLatestRevision() const
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetCustomPluginState(CustomPluginState &&value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKACONNECT_API CustomPluginSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLatestRevision(const CustomPluginRevisionSummary &value)
CustomPluginSummary & WithCustomPluginState(CustomPluginState &&value)
CustomPluginSummary & WithLatestRevision(const CustomPluginRevisionSummary &value)
CustomPluginSummary & WithCustomPluginState(const CustomPluginState &value)
AWS_KAFKACONNECT_API CustomPluginSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCustomPluginArn(const Aws::String &value)
CustomPluginSummary & WithName(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
CustomPluginSummary & WithCreationTime(const Aws::Utils::DateTime &value)
CustomPluginSummary & WithCustomPluginArn(const char *value)
CustomPluginSummary & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue