AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ModifyDBSubnetGroupRequest.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 <utility>
12
13namespace Aws
14{
15namespace Neptune
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_NEPTUNE_API ModifyDBSubnetGroupRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ModifyDBSubnetGroup"; }
32
33 AWS_NEPTUNE_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
47 inline const Aws::String& GetDBSubnetGroupName() const { return m_dBSubnetGroupName; }
48 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
49 template<typename DBSubnetGroupNameT = Aws::String>
50 void SetDBSubnetGroupName(DBSubnetGroupNameT&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::forward<DBSubnetGroupNameT>(value); }
51 template<typename DBSubnetGroupNameT = Aws::String>
52 ModifyDBSubnetGroupRequest& WithDBSubnetGroupName(DBSubnetGroupNameT&& value) { SetDBSubnetGroupName(std::forward<DBSubnetGroupNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetDBSubnetGroupDescription() const { return m_dBSubnetGroupDescription; }
60 inline bool DBSubnetGroupDescriptionHasBeenSet() const { return m_dBSubnetGroupDescriptionHasBeenSet; }
61 template<typename DBSubnetGroupDescriptionT = Aws::String>
62 void SetDBSubnetGroupDescription(DBSubnetGroupDescriptionT&& value) { m_dBSubnetGroupDescriptionHasBeenSet = true; m_dBSubnetGroupDescription = std::forward<DBSubnetGroupDescriptionT>(value); }
63 template<typename DBSubnetGroupDescriptionT = Aws::String>
64 ModifyDBSubnetGroupRequest& WithDBSubnetGroupDescription(DBSubnetGroupDescriptionT&& value) { SetDBSubnetGroupDescription(std::forward<DBSubnetGroupDescriptionT>(value)); return *this;}
66
68
71 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
72 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
73 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
74 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
75 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
76 ModifyDBSubnetGroupRequest& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
77 template<typename SubnetIdsT = Aws::String>
78 ModifyDBSubnetGroupRequest& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
80 private:
81
82 Aws::String m_dBSubnetGroupName;
83 bool m_dBSubnetGroupNameHasBeenSet = false;
84
85 Aws::String m_dBSubnetGroupDescription;
86 bool m_dBSubnetGroupDescriptionHasBeenSet = false;
87
88 Aws::Vector<Aws::String> m_subnetIds;
89 bool m_subnetIdsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Neptune
94} // namespace Aws
ModifyDBSubnetGroupRequest & AddSubnetIds(SubnetIdsT &&value)
ModifyDBSubnetGroupRequest & WithDBSubnetGroupDescription(DBSubnetGroupDescriptionT &&value)
ModifyDBSubnetGroupRequest & WithSubnetIds(SubnetIdsT &&value)
AWS_NEPTUNE_API ModifyDBSubnetGroupRequest()=default
ModifyDBSubnetGroupRequest & WithDBSubnetGroupName(DBSubnetGroupNameT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetSubnetIds() const
AWS_NEPTUNE_API Aws::String SerializePayload() const override
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetDBSubnetGroupDescription(DBSubnetGroupDescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector