AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ModifyReplicationSubnetGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dms/DatabaseMigrationServiceRequest.h>
10#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DatabaseMigrationService {
16namespace Model {
17
24 public:
25 AWS_DATABASEMIGRATIONSERVICE_API ModifyReplicationSubnetGroupRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ModifyReplicationSubnetGroup"; }
32
33 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
34
35 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
38
41 inline const Aws::String& GetReplicationSubnetGroupIdentifier() const { return m_replicationSubnetGroupIdentifier; }
42 inline bool ReplicationSubnetGroupIdentifierHasBeenSet() const { return m_replicationSubnetGroupIdentifierHasBeenSet; }
43 template <typename ReplicationSubnetGroupIdentifierT = Aws::String>
44 void SetReplicationSubnetGroupIdentifier(ReplicationSubnetGroupIdentifierT&& value) {
45 m_replicationSubnetGroupIdentifierHasBeenSet = true;
46 m_replicationSubnetGroupIdentifier = std::forward<ReplicationSubnetGroupIdentifierT>(value);
47 }
48 template <typename ReplicationSubnetGroupIdentifierT = Aws::String>
50 SetReplicationSubnetGroupIdentifier(std::forward<ReplicationSubnetGroupIdentifierT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetReplicationSubnetGroupDescription() const { return m_replicationSubnetGroupDescription; }
60 inline bool ReplicationSubnetGroupDescriptionHasBeenSet() const { return m_replicationSubnetGroupDescriptionHasBeenSet; }
61 template <typename ReplicationSubnetGroupDescriptionT = Aws::String>
62 void SetReplicationSubnetGroupDescription(ReplicationSubnetGroupDescriptionT&& value) {
63 m_replicationSubnetGroupDescriptionHasBeenSet = true;
64 m_replicationSubnetGroupDescription = std::forward<ReplicationSubnetGroupDescriptionT>(value);
65 }
66 template <typename ReplicationSubnetGroupDescriptionT = Aws::String>
68 SetReplicationSubnetGroupDescription(std::forward<ReplicationSubnetGroupDescriptionT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
78 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
79 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
80 void SetSubnetIds(SubnetIdsT&& value) {
81 m_subnetIdsHasBeenSet = true;
82 m_subnetIds = std::forward<SubnetIdsT>(value);
83 }
84 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
86 SetSubnetIds(std::forward<SubnetIdsT>(value));
87 return *this;
88 }
89 template <typename SubnetIdsT = Aws::String>
91 m_subnetIdsHasBeenSet = true;
92 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_replicationSubnetGroupIdentifier;
98
99 Aws::String m_replicationSubnetGroupDescription;
100
101 Aws::Vector<Aws::String> m_subnetIds;
102 bool m_replicationSubnetGroupIdentifierHasBeenSet = false;
103 bool m_replicationSubnetGroupDescriptionHasBeenSet = false;
104 bool m_subnetIdsHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace DatabaseMigrationService
109} // 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