AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyDBSubnetGroupRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.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 RDS
16{
17namespace Model
18{
19
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ModifyDBSubnetGroup"; }
35
36 AWS_RDS_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
50 inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; }
51 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
52 inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; }
53 inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); }
54 inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); }
56 inline ModifyDBSubnetGroupRequest& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;}
57 inline ModifyDBSubnetGroupRequest& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;}
59
61
64 inline const Aws::String& GetDBSubnetGroupDescription() const{ return m_dBSubnetGroupDescription; }
65 inline bool DBSubnetGroupDescriptionHasBeenSet() const { return m_dBSubnetGroupDescriptionHasBeenSet; }
66 inline void SetDBSubnetGroupDescription(const Aws::String& value) { m_dBSubnetGroupDescriptionHasBeenSet = true; m_dBSubnetGroupDescription = value; }
67 inline void SetDBSubnetGroupDescription(Aws::String&& value) { m_dBSubnetGroupDescriptionHasBeenSet = true; m_dBSubnetGroupDescription = std::move(value); }
68 inline void SetDBSubnetGroupDescription(const char* value) { m_dBSubnetGroupDescriptionHasBeenSet = true; m_dBSubnetGroupDescription.assign(value); }
73
75
78 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
79 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
80 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
81 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
83 inline ModifyDBSubnetGroupRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
84 inline ModifyDBSubnetGroupRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
85 inline ModifyDBSubnetGroupRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
86 inline ModifyDBSubnetGroupRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
88 private:
89
90 Aws::String m_dBSubnetGroupName;
91 bool m_dBSubnetGroupNameHasBeenSet = false;
92
93 Aws::String m_dBSubnetGroupDescription;
94 bool m_dBSubnetGroupDescriptionHasBeenSet = false;
95
96 Aws::Vector<Aws::String> m_subnetIds;
97 bool m_subnetIdsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace RDS
102} // namespace Aws
void SetDBSubnetGroupDescription(const Aws::String &value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyDBSubnetGroupRequest & AddSubnetIds(const char *value)
ModifyDBSubnetGroupRequest & WithDBSubnetGroupDescription(Aws::String &&value)
ModifyDBSubnetGroupRequest & WithDBSubnetGroupName(Aws::String &&value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
AWS_RDS_API Aws::String SerializePayload() const override
ModifyDBSubnetGroupRequest & WithDBSubnetGroupName(const char *value)
ModifyDBSubnetGroupRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
ModifyDBSubnetGroupRequest & WithDBSubnetGroupDescription(const char *value)
ModifyDBSubnetGroupRequest & WithDBSubnetGroupName(const Aws::String &value)
ModifyDBSubnetGroupRequest & AddSubnetIds(const Aws::String &value)
ModifyDBSubnetGroupRequest & AddSubnetIds(Aws::String &&value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
ModifyDBSubnetGroupRequest & WithDBSubnetGroupDescription(const Aws::String &value)
ModifyDBSubnetGroupRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector