AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CopyDBParameterGroupRequest.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:
26 AWS_NEPTUNE_API CopyDBParameterGroupRequest() = 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 "CopyDBParameterGroup"; }
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
51 inline const Aws::String& GetSourceDBParameterGroupIdentifier() const { return m_sourceDBParameterGroupIdentifier; }
52 inline bool SourceDBParameterGroupIdentifierHasBeenSet() const { return m_sourceDBParameterGroupIdentifierHasBeenSet; }
53 template<typename SourceDBParameterGroupIdentifierT = Aws::String>
54 void SetSourceDBParameterGroupIdentifier(SourceDBParameterGroupIdentifierT&& value) { m_sourceDBParameterGroupIdentifierHasBeenSet = true; m_sourceDBParameterGroupIdentifier = std::forward<SourceDBParameterGroupIdentifierT>(value); }
55 template<typename SourceDBParameterGroupIdentifierT = Aws::String>
56 CopyDBParameterGroupRequest& WithSourceDBParameterGroupIdentifier(SourceDBParameterGroupIdentifierT&& value) { SetSourceDBParameterGroupIdentifier(std::forward<SourceDBParameterGroupIdentifierT>(value)); return *this;}
58
60
68 inline const Aws::String& GetTargetDBParameterGroupIdentifier() const { return m_targetDBParameterGroupIdentifier; }
69 inline bool TargetDBParameterGroupIdentifierHasBeenSet() const { return m_targetDBParameterGroupIdentifierHasBeenSet; }
70 template<typename TargetDBParameterGroupIdentifierT = Aws::String>
71 void SetTargetDBParameterGroupIdentifier(TargetDBParameterGroupIdentifierT&& value) { m_targetDBParameterGroupIdentifierHasBeenSet = true; m_targetDBParameterGroupIdentifier = std::forward<TargetDBParameterGroupIdentifierT>(value); }
72 template<typename TargetDBParameterGroupIdentifierT = Aws::String>
73 CopyDBParameterGroupRequest& WithTargetDBParameterGroupIdentifier(TargetDBParameterGroupIdentifierT&& value) { SetTargetDBParameterGroupIdentifier(std::forward<TargetDBParameterGroupIdentifierT>(value)); return *this;}
75
77
80 inline const Aws::String& GetTargetDBParameterGroupDescription() const { return m_targetDBParameterGroupDescription; }
81 inline bool TargetDBParameterGroupDescriptionHasBeenSet() const { return m_targetDBParameterGroupDescriptionHasBeenSet; }
82 template<typename TargetDBParameterGroupDescriptionT = Aws::String>
83 void SetTargetDBParameterGroupDescription(TargetDBParameterGroupDescriptionT&& value) { m_targetDBParameterGroupDescriptionHasBeenSet = true; m_targetDBParameterGroupDescription = std::forward<TargetDBParameterGroupDescriptionT>(value); }
84 template<typename TargetDBParameterGroupDescriptionT = Aws::String>
85 CopyDBParameterGroupRequest& WithTargetDBParameterGroupDescription(TargetDBParameterGroupDescriptionT&& value) { SetTargetDBParameterGroupDescription(std::forward<TargetDBParameterGroupDescriptionT>(value)); return *this;}
87
89
92 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
93 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
94 template<typename TagsT = Aws::Vector<Tag>>
95 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
96 template<typename TagsT = Aws::Vector<Tag>>
97 CopyDBParameterGroupRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
98 template<typename TagsT = Tag>
99 CopyDBParameterGroupRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
101 private:
102
103 Aws::String m_sourceDBParameterGroupIdentifier;
104 bool m_sourceDBParameterGroupIdentifierHasBeenSet = false;
105
106 Aws::String m_targetDBParameterGroupIdentifier;
107 bool m_targetDBParameterGroupIdentifierHasBeenSet = false;
108
109 Aws::String m_targetDBParameterGroupDescription;
110 bool m_targetDBParameterGroupDescriptionHasBeenSet = false;
111
112 Aws::Vector<Tag> m_tags;
113 bool m_tagsHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Neptune
118} // namespace Aws
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CopyDBParameterGroupRequest & AddTags(TagsT &&value)
AWS_NEPTUNE_API CopyDBParameterGroupRequest()=default
void SetSourceDBParameterGroupIdentifier(SourceDBParameterGroupIdentifierT &&value)
CopyDBParameterGroupRequest & WithSourceDBParameterGroupIdentifier(SourceDBParameterGroupIdentifierT &&value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
CopyDBParameterGroupRequest & WithTargetDBParameterGroupDescription(TargetDBParameterGroupDescriptionT &&value)
CopyDBParameterGroupRequest & WithTargetDBParameterGroupIdentifier(TargetDBParameterGroupIdentifierT &&value)
CopyDBParameterGroupRequest & WithTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
void SetTargetDBParameterGroupDescription(TargetDBParameterGroupDescriptionT &&value)
void SetTargetDBParameterGroupIdentifier(TargetDBParameterGroupIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector