AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateProjectRequest.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/databrew/GlueDataBrewRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/databrew/model/Sample.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace GlueDataBrew
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_GLUEDATABREW_API CreateProjectRequest() = 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 "CreateProject"; }
33
34 AWS_GLUEDATABREW_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetDatasetName() const { return m_datasetName; }
42 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
43 template<typename DatasetNameT = Aws::String>
44 void SetDatasetName(DatasetNameT&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::forward<DatasetNameT>(value); }
45 template<typename DatasetNameT = Aws::String>
46 CreateProjectRequest& WithDatasetName(DatasetNameT&& value) { SetDatasetName(std::forward<DatasetNameT>(value)); return *this;}
48
50
54 inline const Aws::String& GetName() const { return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 template<typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
58 template<typename NameT = Aws::String>
59 CreateProjectRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetRecipeName() const { return m_recipeName; }
67 inline bool RecipeNameHasBeenSet() const { return m_recipeNameHasBeenSet; }
68 template<typename RecipeNameT = Aws::String>
69 void SetRecipeName(RecipeNameT&& value) { m_recipeNameHasBeenSet = true; m_recipeName = std::forward<RecipeNameT>(value); }
70 template<typename RecipeNameT = Aws::String>
71 CreateProjectRequest& WithRecipeName(RecipeNameT&& value) { SetRecipeName(std::forward<RecipeNameT>(value)); return *this;}
73
75
76 inline const Sample& GetSample() const { return m_sample; }
77 inline bool SampleHasBeenSet() const { return m_sampleHasBeenSet; }
78 template<typename SampleT = Sample>
79 void SetSample(SampleT&& value) { m_sampleHasBeenSet = true; m_sample = std::forward<SampleT>(value); }
80 template<typename SampleT = Sample>
81 CreateProjectRequest& WithSample(SampleT&& value) { SetSample(std::forward<SampleT>(value)); return *this;}
83
85
89 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
90 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
91 template<typename RoleArnT = Aws::String>
92 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
93 template<typename RoleArnT = Aws::String>
94 CreateProjectRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
96
98
101 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
102 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
103 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
104 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
105 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
106 CreateProjectRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
107 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
108 CreateProjectRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
109 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
110 }
112 private:
113
114 Aws::String m_datasetName;
115 bool m_datasetNameHasBeenSet = false;
116
117 Aws::String m_name;
118 bool m_nameHasBeenSet = false;
119
120 Aws::String m_recipeName;
121 bool m_recipeNameHasBeenSet = false;
122
123 Sample m_sample;
124 bool m_sampleHasBeenSet = false;
125
126 Aws::String m_roleArn;
127 bool m_roleArnHasBeenSet = false;
128
130 bool m_tagsHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace GlueDataBrew
135} // namespace Aws
CreateProjectRequest & WithRoleArn(RoleArnT &&value)
AWS_GLUEDATABREW_API CreateProjectRequest()=default
CreateProjectRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateProjectRequest & WithRecipeName(RecipeNameT &&value)
virtual const char * GetServiceRequestName() const override
CreateProjectRequest & WithTags(TagsT &&value)
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
CreateProjectRequest & WithName(NameT &&value)
CreateProjectRequest & WithDatasetName(DatasetNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateProjectRequest & WithSample(SampleT &&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