AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CreateDataLakeNamespaceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/supplychain/SupplyChainRequest.h>
10#include <aws/supplychain/SupplyChain_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SupplyChain {
16namespace Model {
17
25 public:
26 AWS_SUPPLYCHAIN_API CreateDataLakeNamespaceRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateDataLakeNamespace"; }
33
34 AWS_SUPPLYCHAIN_API Aws::String SerializePayload() const override;
35
37
40 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
41 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
42 template <typename InstanceIdT = Aws::String>
43 void SetInstanceId(InstanceIdT&& value) {
44 m_instanceIdHasBeenSet = true;
45 m_instanceId = std::forward<InstanceIdT>(value);
46 }
47 template <typename InstanceIdT = Aws::String>
49 SetInstanceId(std::forward<InstanceIdT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template <typename NameT = Aws::String>
63 void SetName(NameT&& value) {
64 m_nameHasBeenSet = true;
65 m_name = std::forward<NameT>(value);
66 }
67 template <typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetDescription() const { return m_description; }
79 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
80 template <typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) {
82 m_descriptionHasBeenSet = true;
83 m_description = std::forward<DescriptionT>(value);
84 }
85 template <typename DescriptionT = Aws::String>
87 SetDescription(std::forward<DescriptionT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
97 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
98 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
99 void SetTags(TagsT&& value) {
100 m_tagsHasBeenSet = true;
101 m_tags = std::forward<TagsT>(value);
102 }
103 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
105 SetTags(std::forward<TagsT>(value));
106 return *this;
107 }
108 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
109 CreateDataLakeNamespaceRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
110 m_tagsHasBeenSet = true;
111 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
112 return *this;
113 }
115 private:
116 Aws::String m_instanceId;
117
118 Aws::String m_name;
119
120 Aws::String m_description;
121
123 bool m_instanceIdHasBeenSet = false;
124 bool m_nameHasBeenSet = false;
125 bool m_descriptionHasBeenSet = false;
126 bool m_tagsHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace SupplyChain
131} // namespace Aws
CreateDataLakeNamespaceRequest & WithInstanceId(InstanceIdT &&value)
CreateDataLakeNamespaceRequest & WithDescription(DescriptionT &&value)
CreateDataLakeNamespaceRequest & WithName(NameT &&value)
CreateDataLakeNamespaceRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_SUPPLYCHAIN_API Aws::String SerializePayload() const override
AWS_SUPPLYCHAIN_API CreateDataLakeNamespaceRequest()=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