AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateBlueprintRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.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 Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API CreateBlueprintRequest() = 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 "CreateBlueprint"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template<typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
46 template<typename NameT = Aws::String>
47 CreateBlueprintRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 template<typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
58 template<typename DescriptionT = Aws::String>
59 CreateBlueprintRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
61
63
66 inline const Aws::String& GetBlueprintLocation() const { return m_blueprintLocation; }
67 inline bool BlueprintLocationHasBeenSet() const { return m_blueprintLocationHasBeenSet; }
68 template<typename BlueprintLocationT = Aws::String>
69 void SetBlueprintLocation(BlueprintLocationT&& value) { m_blueprintLocationHasBeenSet = true; m_blueprintLocation = std::forward<BlueprintLocationT>(value); }
70 template<typename BlueprintLocationT = Aws::String>
71 CreateBlueprintRequest& WithBlueprintLocation(BlueprintLocationT&& value) { SetBlueprintLocation(std::forward<BlueprintLocationT>(value)); return *this;}
73
75
78 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
79 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
80 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
81 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
82 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
83 CreateBlueprintRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
84 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
85 CreateBlueprintRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
86 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
87 }
89 private:
90
91 Aws::String m_name;
92 bool m_nameHasBeenSet = false;
93
94 Aws::String m_description;
95 bool m_descriptionHasBeenSet = false;
96
97 Aws::String m_blueprintLocation;
98 bool m_blueprintLocationHasBeenSet = false;
99
101 bool m_tagsHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Glue
106} // namespace Aws
CreateBlueprintRequest & WithName(NameT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateBlueprintRequest & WithBlueprintLocation(BlueprintLocationT &&value)
AWS_GLUE_API CreateBlueprintRequest()=default
void SetBlueprintLocation(BlueprintLocationT &&value)
CreateBlueprintRequest & WithTags(TagsT &&value)
CreateBlueprintRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateBlueprintRequest & WithDescription(DescriptionT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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