AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyReplicationSubnetGroupRequest.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/dms/DatabaseMigrationServiceRequest.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 DatabaseMigrationService
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_DATABASEMIGRATIONSERVICE_API ModifyReplicationSubnetGroupRequest();
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 "ModifyReplicationSubnetGroup"; }
35
36 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
37
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const Aws::String& GetReplicationSubnetGroupIdentifier() const{ return m_replicationSubnetGroupIdentifier; }
46 inline bool ReplicationSubnetGroupIdentifierHasBeenSet() const { return m_replicationSubnetGroupIdentifierHasBeenSet; }
47 inline void SetReplicationSubnetGroupIdentifier(const Aws::String& value) { m_replicationSubnetGroupIdentifierHasBeenSet = true; m_replicationSubnetGroupIdentifier = value; }
48 inline void SetReplicationSubnetGroupIdentifier(Aws::String&& value) { m_replicationSubnetGroupIdentifierHasBeenSet = true; m_replicationSubnetGroupIdentifier = std::move(value); }
49 inline void SetReplicationSubnetGroupIdentifier(const char* value) { m_replicationSubnetGroupIdentifierHasBeenSet = true; m_replicationSubnetGroupIdentifier.assign(value); }
54
56
59 inline const Aws::String& GetReplicationSubnetGroupDescription() const{ return m_replicationSubnetGroupDescription; }
60 inline bool ReplicationSubnetGroupDescriptionHasBeenSet() const { return m_replicationSubnetGroupDescriptionHasBeenSet; }
61 inline void SetReplicationSubnetGroupDescription(const Aws::String& value) { m_replicationSubnetGroupDescriptionHasBeenSet = true; m_replicationSubnetGroupDescription = value; }
62 inline void SetReplicationSubnetGroupDescription(Aws::String&& value) { m_replicationSubnetGroupDescriptionHasBeenSet = true; m_replicationSubnetGroupDescription = std::move(value); }
63 inline void SetReplicationSubnetGroupDescription(const char* value) { m_replicationSubnetGroupDescriptionHasBeenSet = true; m_replicationSubnetGroupDescription.assign(value); }
68
70
73 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
74 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
75 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
76 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
79 inline ModifyReplicationSubnetGroupRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
80 inline ModifyReplicationSubnetGroupRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
81 inline ModifyReplicationSubnetGroupRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
83 private:
84
85 Aws::String m_replicationSubnetGroupIdentifier;
86 bool m_replicationSubnetGroupIdentifierHasBeenSet = false;
87
88 Aws::String m_replicationSubnetGroupDescription;
89 bool m_replicationSubnetGroupDescriptionHasBeenSet = false;
90
91 Aws::Vector<Aws::String> m_subnetIds;
92 bool m_subnetIdsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace DatabaseMigrationService
97} // namespace Aws
ModifyReplicationSubnetGroupRequest & WithReplicationSubnetGroupIdentifier(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
ModifyReplicationSubnetGroupRequest & WithReplicationSubnetGroupDescription(const Aws::String &value)
ModifyReplicationSubnetGroupRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
ModifyReplicationSubnetGroupRequest & WithReplicationSubnetGroupIdentifier(const Aws::String &value)
ModifyReplicationSubnetGroupRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
ModifyReplicationSubnetGroupRequest & AddSubnetIds(const Aws::String &value)
ModifyReplicationSubnetGroupRequest & WithReplicationSubnetGroupIdentifier(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ModifyReplicationSubnetGroupRequest & WithReplicationSubnetGroupDescription(const char *value)
ModifyReplicationSubnetGroupRequest & WithReplicationSubnetGroupDescription(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector