AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateCustomPluginRequest.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/kafkaconnect/KafkaConnectRequest.h>
9#include <aws/kafkaconnect/model/CustomPluginContentType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/kafkaconnect/model/CustomPluginLocation.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace KafkaConnect
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_KAFKACONNECT_API CreateCustomPluginRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateCustomPlugin"; }
34
35 AWS_KAFKACONNECT_API Aws::String SerializePayload() const override;
36
37
39
42 inline const CustomPluginContentType& GetContentType() const{ return m_contentType; }
43 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
44 inline void SetContentType(const CustomPluginContentType& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
45 inline void SetContentType(CustomPluginContentType&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
47 inline CreateCustomPluginRequest& WithContentType(CustomPluginContentType&& value) { SetContentType(std::move(value)); return *this;}
49
51
54 inline const Aws::String& GetDescription() const{ return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
57 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
58 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
59 inline CreateCustomPluginRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
60 inline CreateCustomPluginRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
61 inline CreateCustomPluginRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
63
65
68 inline const CustomPluginLocation& GetLocation() const{ return m_location; }
69 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
70 inline void SetLocation(const CustomPluginLocation& value) { m_locationHasBeenSet = true; m_location = value; }
71 inline void SetLocation(CustomPluginLocation&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
72 inline CreateCustomPluginRequest& WithLocation(const CustomPluginLocation& value) { SetLocation(value); return *this;}
73 inline CreateCustomPluginRequest& WithLocation(CustomPluginLocation&& value) { SetLocation(std::move(value)); return *this;}
75
77
80 inline const Aws::String& GetName() const{ return m_name; }
81 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
82 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
83 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
84 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
85 inline CreateCustomPluginRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
86 inline CreateCustomPluginRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
87 inline CreateCustomPluginRequest& WithName(const char* value) { SetName(value); return *this;}
89
91
94 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
95 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
96 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
97 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
99 inline CreateCustomPluginRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
100 inline CreateCustomPluginRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
101 inline CreateCustomPluginRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
102 inline CreateCustomPluginRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
103 inline CreateCustomPluginRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
104 inline CreateCustomPluginRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
105 inline CreateCustomPluginRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
106 inline CreateCustomPluginRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
108 private:
109
110 CustomPluginContentType m_contentType;
111 bool m_contentTypeHasBeenSet = false;
112
113 Aws::String m_description;
114 bool m_descriptionHasBeenSet = false;
115
116 CustomPluginLocation m_location;
117 bool m_locationHasBeenSet = false;
118
119 Aws::String m_name;
120 bool m_nameHasBeenSet = false;
121
123 bool m_tagsHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace KafkaConnect
128} // namespace Aws
CreateCustomPluginRequest & WithDescription(const Aws::String &value)
CreateCustomPluginRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateCustomPluginRequest & WithContentType(CustomPluginContentType &&value)
CreateCustomPluginRequest & AddTags(const char *key, const char *value)
virtual const char * GetServiceRequestName() const override
CreateCustomPluginRequest & WithDescription(const char *value)
CreateCustomPluginRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateCustomPluginRequest & AddTags(Aws::String &&key, const Aws::String &value)
const CustomPluginContentType & GetContentType() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateCustomPluginRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateCustomPluginRequest & AddTags(Aws::String &&key, const char *value)
CreateCustomPluginRequest & WithContentType(const CustomPluginContentType &value)
CreateCustomPluginRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateCustomPluginRequest & WithDescription(Aws::String &&value)
CreateCustomPluginRequest & WithName(const char *value)
void SetContentType(const CustomPluginContentType &value)
CreateCustomPluginRequest & WithLocation(const CustomPluginLocation &value)
CreateCustomPluginRequest & WithName(const Aws::String &value)
CreateCustomPluginRequest & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateCustomPluginRequest & WithLocation(CustomPluginLocation &&value)
AWS_KAFKACONNECT_API Aws::String SerializePayload() const override
CreateCustomPluginRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateCustomPluginRequest & WithName(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String