AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CreateClusterParameterGroupRequest.h
Go to the documentation of this file.
1
6#pragma once
12#include <utility>
13
14namespace Aws
15{
16namespace Redshift
17{
18namespace Model
19{
20
27 {
28 public:
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 "CreateClusterParameterGroup"; }
36
38
39 protected:
40 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
52 inline const Aws::String& GetParameterGroupName() const{ return m_parameterGroupName; }
53
62 inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
63
72 inline void SetParameterGroupName(const Aws::String& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; }
73
82 inline void SetParameterGroupName(Aws::String&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::move(value); }
83
92 inline void SetParameterGroupName(const char* value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName.assign(value); }
93
103
113
122 inline CreateClusterParameterGroupRequest& WithParameterGroupName(const char* value) { SetParameterGroupName(value); return *this;}
123
124
136 inline const Aws::String& GetParameterGroupFamily() const{ return m_parameterGroupFamily; }
137
149 inline bool ParameterGroupFamilyHasBeenSet() const { return m_parameterGroupFamilyHasBeenSet; }
150
162 inline void SetParameterGroupFamily(const Aws::String& value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily = value; }
163
175 inline void SetParameterGroupFamily(Aws::String&& value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily = std::move(value); }
176
188 inline void SetParameterGroupFamily(const char* value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily.assign(value); }
189
202
215
228
229
233 inline const Aws::String& GetDescription() const{ return m_description; }
234
238 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
239
243 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
244
248 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
249
253 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
254
259
263 inline CreateClusterParameterGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
264
268 inline CreateClusterParameterGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
269
270
274 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
275
279 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
280
284 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
285
289 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
290
294 inline CreateClusterParameterGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
295
299 inline CreateClusterParameterGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
300
304 inline CreateClusterParameterGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
305
309 inline CreateClusterParameterGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
310
311 private:
312
313 Aws::String m_parameterGroupName;
314 bool m_parameterGroupNameHasBeenSet = false;
315
316 Aws::String m_parameterGroupFamily;
317 bool m_parameterGroupFamilyHasBeenSet = false;
318
319 Aws::String m_description;
320 bool m_descriptionHasBeenSet = false;
321
322 Aws::Vector<Tag> m_tags;
323 bool m_tagsHasBeenSet = false;
324 };
325
326} // namespace Model
327} // namespace Redshift
328} // namespace Aws
#define AWS_REDSHIFT_API
CreateClusterParameterGroupRequest & WithParameterGroupName(const char *value)
CreateClusterParameterGroupRequest & WithParameterGroupFamily(const char *value)
CreateClusterParameterGroupRequest & AddTags(const Tag &value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateClusterParameterGroupRequest & WithParameterGroupFamily(Aws::String &&value)
CreateClusterParameterGroupRequest & WithParameterGroupName(Aws::String &&value)
CreateClusterParameterGroupRequest & WithDescription(Aws::String &&value)
CreateClusterParameterGroupRequest & WithTags(const Aws::Vector< Tag > &value)
CreateClusterParameterGroupRequest & WithDescription(const Aws::String &value)
CreateClusterParameterGroupRequest & WithParameterGroupFamily(const Aws::String &value)
CreateClusterParameterGroupRequest & WithDescription(const char *value)
CreateClusterParameterGroupRequest & WithParameterGroupName(const Aws::String &value)
CreateClusterParameterGroupRequest & WithTags(Aws::Vector< Tag > &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector