AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
44 inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
45 inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
46 inline CreateProjectRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
47 inline CreateProjectRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
48 inline CreateProjectRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
50
52
56 inline const Aws::String& GetName() const{ return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 inline CreateProjectRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline CreateProjectRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline CreateProjectRequest& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::String& GetRecipeName() const{ return m_recipeName; }
71 inline bool RecipeNameHasBeenSet() const { return m_recipeNameHasBeenSet; }
72 inline void SetRecipeName(const Aws::String& value) { m_recipeNameHasBeenSet = true; m_recipeName = value; }
73 inline void SetRecipeName(Aws::String&& value) { m_recipeNameHasBeenSet = true; m_recipeName = std::move(value); }
74 inline void SetRecipeName(const char* value) { m_recipeNameHasBeenSet = true; m_recipeName.assign(value); }
75 inline CreateProjectRequest& WithRecipeName(const Aws::String& value) { SetRecipeName(value); return *this;}
76 inline CreateProjectRequest& WithRecipeName(Aws::String&& value) { SetRecipeName(std::move(value)); return *this;}
77 inline CreateProjectRequest& WithRecipeName(const char* value) { SetRecipeName(value); return *this;}
79
81
82 inline const Sample& GetSample() const{ return m_sample; }
83 inline bool SampleHasBeenSet() const { return m_sampleHasBeenSet; }
84 inline void SetSample(const Sample& value) { m_sampleHasBeenSet = true; m_sample = value; }
85 inline void SetSample(Sample&& value) { m_sampleHasBeenSet = true; m_sample = std::move(value); }
86 inline CreateProjectRequest& WithSample(const Sample& value) { SetSample(value); return *this;}
87 inline CreateProjectRequest& WithSample(Sample&& value) { SetSample(std::move(value)); return *this;}
89
91
95 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
96 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
97 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
98 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
99 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
100 inline CreateProjectRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
101 inline CreateProjectRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
102 inline CreateProjectRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
104
106
109 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
110 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
111 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
112 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
113 inline CreateProjectRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
114 inline CreateProjectRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
115 inline CreateProjectRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
116 inline CreateProjectRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
117 inline CreateProjectRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
118 inline CreateProjectRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
119 inline CreateProjectRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
120 inline CreateProjectRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
121 inline CreateProjectRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
123 private:
124
125 Aws::String m_datasetName;
126 bool m_datasetNameHasBeenSet = false;
127
128 Aws::String m_name;
129 bool m_nameHasBeenSet = false;
130
131 Aws::String m_recipeName;
132 bool m_recipeNameHasBeenSet = false;
133
134 Sample m_sample;
135 bool m_sampleHasBeenSet = false;
136
137 Aws::String m_roleArn;
138 bool m_roleArnHasBeenSet = false;
139
141 bool m_tagsHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace GlueDataBrew
146} // namespace Aws
CreateProjectRequest & WithName(const Aws::String &value)
CreateProjectRequest & WithName(const char *value)
CreateProjectRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateProjectRequest & AddTags(Aws::String &&key, const char *value)
CreateProjectRequest & WithDatasetName(const char *value)
CreateProjectRequest & AddTags(const char *key, Aws::String &&value)
CreateProjectRequest & WithRecipeName(const char *value)
CreateProjectRequest & WithRoleArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateProjectRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateProjectRequest & WithDatasetName(Aws::String &&value)
CreateProjectRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
CreateProjectRequest & WithRecipeName(Aws::String &&value)
CreateProjectRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateProjectRequest & WithRoleArn(const char *value)
CreateProjectRequest & WithRoleArn(Aws::String &&value)
CreateProjectRequest & AddTags(const char *key, const char *value)
CreateProjectRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateProjectRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateProjectRequest & WithName(Aws::String &&value)
CreateProjectRequest & WithRecipeName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateProjectRequest & WithSample(Sample &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateProjectRequest & WithSample(const Sample &value)
CreateProjectRequest & WithDatasetName(const Aws::String &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