AWS SDK for C++  1.9.108
AWS SDK for C++
ModifyDBSubnetGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace RDS
16 {
17 namespace 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::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
49  inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; }
50 
57  inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
58 
65  inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; }
66 
73  inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); }
74 
81  inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); }
82 
89  inline ModifyDBSubnetGroupRequest& WithDBSubnetGroupName(const Aws::String& value) { SetDBSubnetGroupName(value); return *this;}
90 
97  inline ModifyDBSubnetGroupRequest& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;}
98 
105  inline ModifyDBSubnetGroupRequest& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;}
106 
107 
111  inline const Aws::String& GetDBSubnetGroupDescription() const{ return m_dBSubnetGroupDescription; }
112 
116  inline bool DBSubnetGroupDescriptionHasBeenSet() const { return m_dBSubnetGroupDescriptionHasBeenSet; }
117 
121  inline void SetDBSubnetGroupDescription(const Aws::String& value) { m_dBSubnetGroupDescriptionHasBeenSet = true; m_dBSubnetGroupDescription = value; }
122 
126  inline void SetDBSubnetGroupDescription(Aws::String&& value) { m_dBSubnetGroupDescriptionHasBeenSet = true; m_dBSubnetGroupDescription = std::move(value); }
127 
131  inline void SetDBSubnetGroupDescription(const char* value) { m_dBSubnetGroupDescriptionHasBeenSet = true; m_dBSubnetGroupDescription.assign(value); }
132 
136  inline ModifyDBSubnetGroupRequest& WithDBSubnetGroupDescription(const Aws::String& value) { SetDBSubnetGroupDescription(value); return *this;}
137 
141  inline ModifyDBSubnetGroupRequest& WithDBSubnetGroupDescription(Aws::String&& value) { SetDBSubnetGroupDescription(std::move(value)); return *this;}
142 
146  inline ModifyDBSubnetGroupRequest& WithDBSubnetGroupDescription(const char* value) { SetDBSubnetGroupDescription(value); return *this;}
147 
148 
152  inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
153 
157  inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
158 
162  inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
163 
167  inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
168 
172  inline ModifyDBSubnetGroupRequest& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
173 
177  inline ModifyDBSubnetGroupRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
178 
182  inline ModifyDBSubnetGroupRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
183 
187  inline ModifyDBSubnetGroupRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
188 
192  inline ModifyDBSubnetGroupRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
193 
194  private:
195 
196  Aws::String m_dBSubnetGroupName;
197  bool m_dBSubnetGroupNameHasBeenSet;
198 
199  Aws::String m_dBSubnetGroupDescription;
200  bool m_dBSubnetGroupDescriptionHasBeenSet;
201 
202  Aws::Vector<Aws::String> m_subnetIds;
203  bool m_subnetIdsHasBeenSet;
204  };
205 
206 } // namespace Model
207 } // namespace RDS
208 } // namespace Aws
Aws::RDS::Model::ModifyDBSubnetGroupRequest::SetSubnetIds
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: ModifyDBSubnetGroupRequest.h:162
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::ModifyDBSubnetGroupRequest::ModifyDBSubnetGroupRequest
ModifyDBSubnetGroupRequest()
Aws::RDS::Model::ModifyDBSubnetGroupRequest
Definition: ModifyDBSubnetGroupRequest.h:26
Aws::RDS::Model::ModifyDBSubnetGroupRequest::SetSubnetIds
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: ModifyDBSubnetGroupRequest.h:167
Aws::RDS::Model::ModifyDBSubnetGroupRequest::SetDBSubnetGroupName
void SetDBSubnetGroupName(const Aws::String &value)
Definition: ModifyDBSubnetGroupRequest.h:65
Aws::RDS::Model::ModifyDBSubnetGroupRequest::WithDBSubnetGroupName
ModifyDBSubnetGroupRequest & WithDBSubnetGroupName(const char *value)
Definition: ModifyDBSubnetGroupRequest.h:105
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::ModifyDBSubnetGroupRequest::WithDBSubnetGroupDescription
ModifyDBSubnetGroupRequest & WithDBSubnetGroupDescription(Aws::String &&value)
Definition: ModifyDBSubnetGroupRequest.h:141
Aws::RDS::Model::ModifyDBSubnetGroupRequest::GetSubnetIds
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition: ModifyDBSubnetGroupRequest.h:152
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::ModifyDBSubnetGroupRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::ModifyDBSubnetGroupRequest::GetDBSubnetGroupDescription
const Aws::String & GetDBSubnetGroupDescription() const
Definition: ModifyDBSubnetGroupRequest.h:111
Aws::RDS::Model::ModifyDBSubnetGroupRequest::SetDBSubnetGroupName
void SetDBSubnetGroupName(Aws::String &&value)
Definition: ModifyDBSubnetGroupRequest.h:73
AWSVector.h
Aws::RDS::Model::ModifyDBSubnetGroupRequest::SetDBSubnetGroupDescription
void SetDBSubnetGroupDescription(Aws::String &&value)
Definition: ModifyDBSubnetGroupRequest.h:126
Aws::RDS::Model::ModifyDBSubnetGroupRequest::WithDBSubnetGroupName
ModifyDBSubnetGroupRequest & WithDBSubnetGroupName(Aws::String &&value)
Definition: ModifyDBSubnetGroupRequest.h:97
Aws::RDS::Model::ModifyDBSubnetGroupRequest::SetDBSubnetGroupDescription
void SetDBSubnetGroupDescription(const char *value)
Definition: ModifyDBSubnetGroupRequest.h:131
Aws::RDS::Model::ModifyDBSubnetGroupRequest::WithSubnetIds
ModifyDBSubnetGroupRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: ModifyDBSubnetGroupRequest.h:177
RDS_EXPORTS.h
Aws::RDS::Model::ModifyDBSubnetGroupRequest::WithDBSubnetGroupDescription
ModifyDBSubnetGroupRequest & WithDBSubnetGroupDescription(const Aws::String &value)
Definition: ModifyDBSubnetGroupRequest.h:136
Aws::RDS::Model::ModifyDBSubnetGroupRequest::SetDBSubnetGroupName
void SetDBSubnetGroupName(const char *value)
Definition: ModifyDBSubnetGroupRequest.h:81
Aws::RDS::Model::ModifyDBSubnetGroupRequest::GetDBSubnetGroupName
const Aws::String & GetDBSubnetGroupName() const
Definition: ModifyDBSubnetGroupRequest.h:49
Aws::RDS::Model::ModifyDBSubnetGroupRequest::WithDBSubnetGroupName
ModifyDBSubnetGroupRequest & WithDBSubnetGroupName(const Aws::String &value)
Definition: ModifyDBSubnetGroupRequest.h:89
Aws::RDS::Model::ModifyDBSubnetGroupRequest::WithSubnetIds
ModifyDBSubnetGroupRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: ModifyDBSubnetGroupRequest.h:172
Aws::RDS::Model::ModifyDBSubnetGroupRequest::SetDBSubnetGroupDescription
void SetDBSubnetGroupDescription(const Aws::String &value)
Definition: ModifyDBSubnetGroupRequest.h:121
AWSString.h
Aws::RDS::Model::ModifyDBSubnetGroupRequest::DBSubnetGroupDescriptionHasBeenSet
bool DBSubnetGroupDescriptionHasBeenSet() const
Definition: ModifyDBSubnetGroupRequest.h:116
Aws::RDS::Model::ModifyDBSubnetGroupRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::ModifyDBSubnetGroupRequest::WithDBSubnetGroupDescription
ModifyDBSubnetGroupRequest & WithDBSubnetGroupDescription(const char *value)
Definition: ModifyDBSubnetGroupRequest.h:146
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::ModifyDBSubnetGroupRequest::AddSubnetIds
ModifyDBSubnetGroupRequest & AddSubnetIds(const char *value)
Definition: ModifyDBSubnetGroupRequest.h:192
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::ModifyDBSubnetGroupRequest::AddSubnetIds
ModifyDBSubnetGroupRequest & AddSubnetIds(Aws::String &&value)
Definition: ModifyDBSubnetGroupRequest.h:187
Aws::RDS::Model::ModifyDBSubnetGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ModifyDBSubnetGroupRequest.h:34
Aws::RDS::Model::ModifyDBSubnetGroupRequest::DBSubnetGroupNameHasBeenSet
bool DBSubnetGroupNameHasBeenSet() const
Definition: ModifyDBSubnetGroupRequest.h:57
RDSRequest.h
Aws::RDS::Model::ModifyDBSubnetGroupRequest::AddSubnetIds
ModifyDBSubnetGroupRequest & AddSubnetIds(const Aws::String &value)
Definition: ModifyDBSubnetGroupRequest.h:182
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::ModifyDBSubnetGroupRequest::SubnetIdsHasBeenSet
bool SubnetIdsHasBeenSet() const
Definition: ModifyDBSubnetGroupRequest.h:157