AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateClusterParameterGroupRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/model/Tag.h>
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
37 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
53 inline const Aws::String& GetParameterGroupName() const{ return m_parameterGroupName; }
54 inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
55 inline void SetParameterGroupName(const Aws::String& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; }
56 inline void SetParameterGroupName(Aws::String&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::move(value); }
57 inline void SetParameterGroupName(const char* value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName.assign(value); }
60 inline CreateClusterParameterGroupRequest& WithParameterGroupName(const char* value) { SetParameterGroupName(value); return *this;}
62
64
75 inline const Aws::String& GetParameterGroupFamily() const{ return m_parameterGroupFamily; }
76 inline bool ParameterGroupFamilyHasBeenSet() const { return m_parameterGroupFamilyHasBeenSet; }
77 inline void SetParameterGroupFamily(const Aws::String& value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily = value; }
78 inline void SetParameterGroupFamily(Aws::String&& value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily = std::move(value); }
79 inline void SetParameterGroupFamily(const char* value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily.assign(value); }
84
86
89 inline const Aws::String& GetDescription() const{ return m_description; }
90 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
92 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
93 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
95 inline CreateClusterParameterGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
96 inline CreateClusterParameterGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
98
100
103 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
104 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
105 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
106 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
107 inline CreateClusterParameterGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
108 inline CreateClusterParameterGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
109 inline CreateClusterParameterGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
110 inline CreateClusterParameterGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
112 private:
113
114 Aws::String m_parameterGroupName;
115 bool m_parameterGroupNameHasBeenSet = false;
116
117 Aws::String m_parameterGroupFamily;
118 bool m_parameterGroupFamilyHasBeenSet = false;
119
120 Aws::String m_description;
121 bool m_descriptionHasBeenSet = false;
122
123 Aws::Vector<Tag> m_tags;
124 bool m_tagsHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace Redshift
129} // namespace Aws
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