AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateWorkerConfigurationRequest.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/kafkaconnect/KafkaConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace KafkaConnect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KAFKACONNECT_API CreateWorkerConfigurationRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateWorkerConfiguration"; }
32
33 AWS_KAFKACONNECT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetDescription() const{ return m_description; }
41 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
42 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
43 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
44 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
45 inline CreateWorkerConfigurationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
46 inline CreateWorkerConfigurationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
47 inline CreateWorkerConfigurationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
49
51
54 inline const Aws::String& GetName() const{ return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
59 inline CreateWorkerConfigurationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline CreateWorkerConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline CreateWorkerConfigurationRequest& WithName(const char* value) { SetName(value); return *this;}
63
65
68 inline const Aws::String& GetPropertiesFileContent() const{ return m_propertiesFileContent; }
69 inline bool PropertiesFileContentHasBeenSet() const { return m_propertiesFileContentHasBeenSet; }
70 inline void SetPropertiesFileContent(const Aws::String& value) { m_propertiesFileContentHasBeenSet = true; m_propertiesFileContent = value; }
71 inline void SetPropertiesFileContent(Aws::String&& value) { m_propertiesFileContentHasBeenSet = true; m_propertiesFileContent = std::move(value); }
72 inline void SetPropertiesFileContent(const char* value) { m_propertiesFileContentHasBeenSet = true; m_propertiesFileContent.assign(value); }
77
79
82 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
83 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
84 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
85 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
87 inline CreateWorkerConfigurationRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
88 inline CreateWorkerConfigurationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
89 inline CreateWorkerConfigurationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
90 inline CreateWorkerConfigurationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
91 inline CreateWorkerConfigurationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
92 inline CreateWorkerConfigurationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
93 inline CreateWorkerConfigurationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
94 inline CreateWorkerConfigurationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
96 private:
97
98 Aws::String m_description;
99 bool m_descriptionHasBeenSet = false;
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103
104 Aws::String m_propertiesFileContent;
105 bool m_propertiesFileContentHasBeenSet = false;
106
108 bool m_tagsHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace KafkaConnect
113} // namespace Aws
CreateWorkerConfigurationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateWorkerConfigurationRequest & WithPropertiesFileContent(const char *value)
CreateWorkerConfigurationRequest & WithPropertiesFileContent(const Aws::String &value)
CreateWorkerConfigurationRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateWorkerConfigurationRequest & WithDescription(const char *value)
CreateWorkerConfigurationRequest & WithName(const Aws::String &value)
CreateWorkerConfigurationRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateWorkerConfigurationRequest & AddTags(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateWorkerConfigurationRequest & WithDescription(Aws::String &&value)
CreateWorkerConfigurationRequest & WithDescription(const Aws::String &value)
CreateWorkerConfigurationRequest & WithName(Aws::String &&value)
AWS_KAFKACONNECT_API Aws::String SerializePayload() const override
CreateWorkerConfigurationRequest & WithPropertiesFileContent(Aws::String &&value)
CreateWorkerConfigurationRequest & AddTags(const char *key, Aws::String &&value)
CreateWorkerConfigurationRequest & AddTags(const char *key, const char *value)
CreateWorkerConfigurationRequest & WithName(const char *value)
CreateWorkerConfigurationRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateWorkerConfigurationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateWorkerConfigurationRequest & AddTags(Aws::String &&key, 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