AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateDataLakeNamespaceRequest.h
1
6#pragma once
7#include <aws/supplychain/SupplyChain_EXPORTS.h>
8#include <aws/supplychain/SupplyChainRequest.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 SupplyChain
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_SUPPLYCHAIN_API CreateDataLakeNamespaceRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateDataLakeNamespace"; }
36
37 AWS_SUPPLYCHAIN_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
45 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
46 template<typename InstanceIdT = Aws::String>
47 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
48 template<typename InstanceIdT = Aws::String>
49 CreateDataLakeNamespaceRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
51
53
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 CreateDataLakeNamespaceRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 template<typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
74 template<typename DescriptionT = Aws::String>
75 CreateDataLakeNamespaceRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
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 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
85 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
86 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
87 CreateDataLakeNamespaceRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
88 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
89 CreateDataLakeNamespaceRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
90 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
91 }
93 private:
94
95 Aws::String m_instanceId;
96 bool m_instanceIdHasBeenSet = false;
97
98 Aws::String m_name;
99 bool m_nameHasBeenSet = false;
100
101 Aws::String m_description;
102 bool m_descriptionHasBeenSet = false;
103
105 bool m_tagsHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace SupplyChain
110} // 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
CreateDataLakeNamespaceRequest & WithTags(TagsT &&value)
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