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/docdb/DocDB_EXPORTS.h>
8#include <aws/docdb/DocDBRequest.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 DocDB
16{
17namespace Model
18{
19
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ModifyDBSubnetGroup"; }
36
37 AWS_DOCDB_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
51 inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; }
52 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
53 inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; }
54 inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); }
55 inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); }
57 inline ModifyDBSubnetGroupRequest& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;}
58 inline ModifyDBSubnetGroupRequest& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;}
60
62
65 inline const Aws::String& GetDBSubnetGroupDescription() const{ return m_dBSubnetGroupDescription; }
66 inline bool DBSubnetGroupDescriptionHasBeenSet() const { return m_dBSubnetGroupDescriptionHasBeenSet; }
67 inline void SetDBSubnetGroupDescription(const Aws::String& value) { m_dBSubnetGroupDescriptionHasBeenSet = true; m_dBSubnetGroupDescription = value; }
68 inline void SetDBSubnetGroupDescription(Aws::String&& value) { m_dBSubnetGroupDescriptionHasBeenSet = true; m_dBSubnetGroupDescription = std::move(value); }
69 inline void SetDBSubnetGroupDescription(const char* value) { m_dBSubnetGroupDescriptionHasBeenSet = true; m_dBSubnetGroupDescription.assign(value); }
74
76
79 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
80 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
81 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
82 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
84 inline ModifyDBSubnetGroupRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
85 inline ModifyDBSubnetGroupRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
86 inline ModifyDBSubnetGroupRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
87 inline ModifyDBSubnetGroupRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
89 private:
90
91 Aws::String m_dBSubnetGroupName;
92 bool m_dBSubnetGroupNameHasBeenSet = false;
93
94 Aws::String m_dBSubnetGroupDescription;
95 bool m_dBSubnetGroupDescriptionHasBeenSet = false;
96
97 Aws::Vector<Aws::String> m_subnetIds;
98 bool m_subnetIdsHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace DocDB
103} // namespace Aws
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyDBSubnetGroupRequest & WithDBSubnetGroupDescription(const Aws::String &value)
ModifyDBSubnetGroupRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
ModifyDBSubnetGroupRequest & WithDBSubnetGroupName(Aws::String &&value)
ModifyDBSubnetGroupRequest & WithDBSubnetGroupName(const Aws::String &value)
ModifyDBSubnetGroupRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
AWS_DOCDB_API Aws::String SerializePayload() const override
ModifyDBSubnetGroupRequest & AddSubnetIds(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ModifyDBSubnetGroupRequest & AddSubnetIds(Aws::String &&value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
ModifyDBSubnetGroupRequest & AddSubnetIds(const char *value)
ModifyDBSubnetGroupRequest & WithDBSubnetGroupDescription(const char *value)
ModifyDBSubnetGroupRequest & WithDBSubnetGroupDescription(Aws::String &&value)
ModifyDBSubnetGroupRequest & WithDBSubnetGroupName(const char *value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector