AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename DescriptionT = Aws::String>
43 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
44 template<typename DescriptionT = Aws::String>
45 CreateWorkerConfigurationRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 template<typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
56 template<typename NameT = Aws::String>
57 CreateWorkerConfigurationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetPropertiesFileContent() const { return m_propertiesFileContent; }
65 inline bool PropertiesFileContentHasBeenSet() const { return m_propertiesFileContentHasBeenSet; }
66 template<typename PropertiesFileContentT = Aws::String>
67 void SetPropertiesFileContent(PropertiesFileContentT&& value) { m_propertiesFileContentHasBeenSet = true; m_propertiesFileContent = std::forward<PropertiesFileContentT>(value); }
68 template<typename PropertiesFileContentT = Aws::String>
69 CreateWorkerConfigurationRequest& WithPropertiesFileContent(PropertiesFileContentT&& value) { SetPropertiesFileContent(std::forward<PropertiesFileContentT>(value)); return *this;}
71
73
76 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
77 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
78 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
79 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
80 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
81 CreateWorkerConfigurationRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
82 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
83 CreateWorkerConfigurationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
84 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
85 }
87 private:
88
89 Aws::String m_description;
90 bool m_descriptionHasBeenSet = false;
91
92 Aws::String m_name;
93 bool m_nameHasBeenSet = false;
94
95 Aws::String m_propertiesFileContent;
96 bool m_propertiesFileContentHasBeenSet = false;
97
99 bool m_tagsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace KafkaConnect
104} // namespace Aws
CreateWorkerConfigurationRequest & WithDescription(DescriptionT &&value)
CreateWorkerConfigurationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_KAFKACONNECT_API Aws::String SerializePayload() const override
CreateWorkerConfigurationRequest & WithPropertiesFileContent(PropertiesFileContentT &&value)
AWS_KAFKACONNECT_API CreateWorkerConfigurationRequest()=default
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