AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ReplicationSubnetGroupIdentifierT = Aws::String>
48 void SetReplicationSubnetGroupIdentifier(ReplicationSubnetGroupIdentifierT&& value) { m_replicationSubnetGroupIdentifierHasBeenSet = true; m_replicationSubnetGroupIdentifier = std::forward<ReplicationSubnetGroupIdentifierT>(value); }
49 template<typename ReplicationSubnetGroupIdentifierT = Aws::String>
50 ModifyReplicationSubnetGroupRequest& WithReplicationSubnetGroupIdentifier(ReplicationSubnetGroupIdentifierT&& value) { SetReplicationSubnetGroupIdentifier(std::forward<ReplicationSubnetGroupIdentifierT>(value)); return *this;}
52
54
57 inline const Aws::String& GetReplicationSubnetGroupDescription() const { return m_replicationSubnetGroupDescription; }
58 inline bool ReplicationSubnetGroupDescriptionHasBeenSet() const { return m_replicationSubnetGroupDescriptionHasBeenSet; }
59 template<typename ReplicationSubnetGroupDescriptionT = Aws::String>
60 void SetReplicationSubnetGroupDescription(ReplicationSubnetGroupDescriptionT&& value) { m_replicationSubnetGroupDescriptionHasBeenSet = true; m_replicationSubnetGroupDescription = std::forward<ReplicationSubnetGroupDescriptionT>(value); }
61 template<typename ReplicationSubnetGroupDescriptionT = Aws::String>
62 ModifyReplicationSubnetGroupRequest& WithReplicationSubnetGroupDescription(ReplicationSubnetGroupDescriptionT&& value) { SetReplicationSubnetGroupDescription(std::forward<ReplicationSubnetGroupDescriptionT>(value)); return *this;}
64
66
69 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
70 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
71 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
72 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
73 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
74 ModifyReplicationSubnetGroupRequest& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
75 template<typename SubnetIdsT = Aws::String>
76 ModifyReplicationSubnetGroupRequest& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
78 private:
79
80 Aws::String m_replicationSubnetGroupIdentifier;
81 bool m_replicationSubnetGroupIdentifierHasBeenSet = false;
82
83 Aws::String m_replicationSubnetGroupDescription;
84 bool m_replicationSubnetGroupDescriptionHasBeenSet = false;
85
86 Aws::Vector<Aws::String> m_subnetIds;
87 bool m_subnetIdsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace DatabaseMigrationService
92} // namespace Aws
ModifyReplicationSubnetGroupRequest & WithReplicationSubnetGroupIdentifier(ReplicationSubnetGroupIdentifierT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DATABASEMIGRATIONSERVICE_API ModifyReplicationSubnetGroupRequest()=default
ModifyReplicationSubnetGroupRequest & WithReplicationSubnetGroupDescription(ReplicationSubnetGroupDescriptionT &&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