AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateClusterParameterGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/RedshiftRequest.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/Tag.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Redshift {
17namespace Model {
18
25 public:
26 AWS_REDSHIFT_API CreateClusterParameterGroupRequest() = 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 "CreateClusterParameterGroup"; }
33
34 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
38
39 public:
41
49 inline const Aws::String& GetParameterGroupName() const { return m_parameterGroupName; }
50 inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
51 template <typename ParameterGroupNameT = Aws::String>
52 void SetParameterGroupName(ParameterGroupNameT&& value) {
53 m_parameterGroupNameHasBeenSet = true;
54 m_parameterGroupName = std::forward<ParameterGroupNameT>(value);
55 }
56 template <typename ParameterGroupNameT = Aws::String>
58 SetParameterGroupName(std::forward<ParameterGroupNameT>(value));
59 return *this;
60 }
62
64
75 inline const Aws::String& GetParameterGroupFamily() const { return m_parameterGroupFamily; }
76 inline bool ParameterGroupFamilyHasBeenSet() const { return m_parameterGroupFamilyHasBeenSet; }
77 template <typename ParameterGroupFamilyT = Aws::String>
78 void SetParameterGroupFamily(ParameterGroupFamilyT&& value) {
79 m_parameterGroupFamilyHasBeenSet = true;
80 m_parameterGroupFamily = std::forward<ParameterGroupFamilyT>(value);
81 }
82 template <typename ParameterGroupFamilyT = Aws::String>
84 SetParameterGroupFamily(std::forward<ParameterGroupFamilyT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetDescription() const { return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 template <typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) {
97 m_descriptionHasBeenSet = true;
98 m_description = std::forward<DescriptionT>(value);
99 }
100 template <typename DescriptionT = Aws::String>
102 SetDescription(std::forward<DescriptionT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
112 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
113 template <typename TagsT = Aws::Vector<Tag>>
114 void SetTags(TagsT&& value) {
115 m_tagsHasBeenSet = true;
116 m_tags = std::forward<TagsT>(value);
117 }
118 template <typename TagsT = Aws::Vector<Tag>>
120 SetTags(std::forward<TagsT>(value));
121 return *this;
122 }
123 template <typename TagsT = Tag>
125 m_tagsHasBeenSet = true;
126 m_tags.emplace_back(std::forward<TagsT>(value));
127 return *this;
128 }
130 private:
131 Aws::String m_parameterGroupName;
132
133 Aws::String m_parameterGroupFamily;
134
135 Aws::String m_description;
136
137 Aws::Vector<Tag> m_tags;
138 bool m_parameterGroupNameHasBeenSet = false;
139 bool m_parameterGroupFamilyHasBeenSet = false;
140 bool m_descriptionHasBeenSet = false;
141 bool m_tagsHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace Redshift
146} // namespace Aws
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateClusterParameterGroupRequest & WithParameterGroupName(ParameterGroupNameT &&value)
CreateClusterParameterGroupRequest & WithDescription(DescriptionT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
CreateClusterParameterGroupRequest & WithParameterGroupFamily(ParameterGroupFamilyT &&value)
CreateClusterParameterGroupRequest & AddTags(TagsT &&value)
CreateClusterParameterGroupRequest & WithTags(TagsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector