AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDBParameterGroupRequest.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/neptune/NeptuneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/neptune/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Neptune
17{
18namespace Model
19{
20
24 {
25 public:
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 "CreateDBParameterGroup"; }
33
34 AWS_NEPTUNE_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
49 inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; }
50 inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
51 inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; }
52 inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::move(value); }
53 inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); }
56 inline CreateDBParameterGroupRequest& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;}
58
60
66 inline const Aws::String& GetDBParameterGroupFamily() const{ return m_dBParameterGroupFamily; }
67 inline bool DBParameterGroupFamilyHasBeenSet() const { return m_dBParameterGroupFamilyHasBeenSet; }
68 inline void SetDBParameterGroupFamily(const Aws::String& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; }
69 inline void SetDBParameterGroupFamily(Aws::String&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = std::move(value); }
70 inline void SetDBParameterGroupFamily(const char* value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily.assign(value); }
75
77
80 inline const Aws::String& GetDescription() const{ return m_description; }
81 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
82 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
83 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
84 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
85 inline CreateDBParameterGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
86 inline CreateDBParameterGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
87 inline CreateDBParameterGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
89
91
94 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
95 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
96 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
97 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
98 inline CreateDBParameterGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
99 inline CreateDBParameterGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
100 inline CreateDBParameterGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
101 inline CreateDBParameterGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
103 private:
104
105 Aws::String m_dBParameterGroupName;
106 bool m_dBParameterGroupNameHasBeenSet = false;
107
108 Aws::String m_dBParameterGroupFamily;
109 bool m_dBParameterGroupFamilyHasBeenSet = false;
110
111 Aws::String m_description;
112 bool m_descriptionHasBeenSet = false;
113
114 Aws::Vector<Tag> m_tags;
115 bool m_tagsHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Neptune
120} // namespace Aws
CreateDBParameterGroupRequest & WithDBParameterGroupFamily(Aws::String &&value)
CreateDBParameterGroupRequest & WithDBParameterGroupName(const char *value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
CreateDBParameterGroupRequest & WithDBParameterGroupName(const Aws::String &value)
CreateDBParameterGroupRequest & WithDBParameterGroupFamily(const char *value)
CreateDBParameterGroupRequest & WithTags(const Aws::Vector< Tag > &value)
CreateDBParameterGroupRequest & WithDescription(Aws::String &&value)
CreateDBParameterGroupRequest & WithDBParameterGroupFamily(const Aws::String &value)
CreateDBParameterGroupRequest & WithDescription(const Aws::String &value)
CreateDBParameterGroupRequest & WithDescription(const char *value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateDBParameterGroupRequest & AddTags(Tag &&value)
CreateDBParameterGroupRequest & WithTags(Aws::Vector< Tag > &&value)
CreateDBParameterGroupRequest & WithDBParameterGroupName(Aws::String &&value)
CreateDBParameterGroupRequest & AddTags(const Tag &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector