AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeregisterDBProxyTargetsRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.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 RDS
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_RDS_API DeregisterDBProxyTargetsRequest() = 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 "DeregisterDBProxyTargets"; }
32
33 AWS_RDS_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
45 inline const Aws::String& GetDBProxyName() const { return m_dBProxyName; }
46 inline bool DBProxyNameHasBeenSet() const { return m_dBProxyNameHasBeenSet; }
47 template<typename DBProxyNameT = Aws::String>
48 void SetDBProxyName(DBProxyNameT&& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = std::forward<DBProxyNameT>(value); }
49 template<typename DBProxyNameT = Aws::String>
50 DeregisterDBProxyTargetsRequest& WithDBProxyName(DBProxyNameT&& value) { SetDBProxyName(std::forward<DBProxyNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetTargetGroupName() const { return m_targetGroupName; }
58 inline bool TargetGroupNameHasBeenSet() const { return m_targetGroupNameHasBeenSet; }
59 template<typename TargetGroupNameT = Aws::String>
60 void SetTargetGroupName(TargetGroupNameT&& value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName = std::forward<TargetGroupNameT>(value); }
61 template<typename TargetGroupNameT = Aws::String>
62 DeregisterDBProxyTargetsRequest& WithTargetGroupName(TargetGroupNameT&& value) { SetTargetGroupName(std::forward<TargetGroupNameT>(value)); return *this;}
64
66
69 inline const Aws::Vector<Aws::String>& GetDBInstanceIdentifiers() const { return m_dBInstanceIdentifiers; }
70 inline bool DBInstanceIdentifiersHasBeenSet() const { return m_dBInstanceIdentifiersHasBeenSet; }
71 template<typename DBInstanceIdentifiersT = Aws::Vector<Aws::String>>
72 void SetDBInstanceIdentifiers(DBInstanceIdentifiersT&& value) { m_dBInstanceIdentifiersHasBeenSet = true; m_dBInstanceIdentifiers = std::forward<DBInstanceIdentifiersT>(value); }
73 template<typename DBInstanceIdentifiersT = Aws::Vector<Aws::String>>
74 DeregisterDBProxyTargetsRequest& WithDBInstanceIdentifiers(DBInstanceIdentifiersT&& value) { SetDBInstanceIdentifiers(std::forward<DBInstanceIdentifiersT>(value)); return *this;}
75 template<typename DBInstanceIdentifiersT = Aws::String>
76 DeregisterDBProxyTargetsRequest& AddDBInstanceIdentifiers(DBInstanceIdentifiersT&& value) { m_dBInstanceIdentifiersHasBeenSet = true; m_dBInstanceIdentifiers.emplace_back(std::forward<DBInstanceIdentifiersT>(value)); return *this; }
78
80
83 inline const Aws::Vector<Aws::String>& GetDBClusterIdentifiers() const { return m_dBClusterIdentifiers; }
84 inline bool DBClusterIdentifiersHasBeenSet() const { return m_dBClusterIdentifiersHasBeenSet; }
85 template<typename DBClusterIdentifiersT = Aws::Vector<Aws::String>>
86 void SetDBClusterIdentifiers(DBClusterIdentifiersT&& value) { m_dBClusterIdentifiersHasBeenSet = true; m_dBClusterIdentifiers = std::forward<DBClusterIdentifiersT>(value); }
87 template<typename DBClusterIdentifiersT = Aws::Vector<Aws::String>>
88 DeregisterDBProxyTargetsRequest& WithDBClusterIdentifiers(DBClusterIdentifiersT&& value) { SetDBClusterIdentifiers(std::forward<DBClusterIdentifiersT>(value)); return *this;}
89 template<typename DBClusterIdentifiersT = Aws::String>
90 DeregisterDBProxyTargetsRequest& AddDBClusterIdentifiers(DBClusterIdentifiersT&& value) { m_dBClusterIdentifiersHasBeenSet = true; m_dBClusterIdentifiers.emplace_back(std::forward<DBClusterIdentifiersT>(value)); return *this; }
92 private:
93
94 Aws::String m_dBProxyName;
95 bool m_dBProxyNameHasBeenSet = false;
96
97 Aws::String m_targetGroupName;
98 bool m_targetGroupNameHasBeenSet = false;
99
100 Aws::Vector<Aws::String> m_dBInstanceIdentifiers;
101 bool m_dBInstanceIdentifiersHasBeenSet = false;
102
103 Aws::Vector<Aws::String> m_dBClusterIdentifiers;
104 bool m_dBClusterIdentifiersHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace RDS
109} // namespace Aws
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::Vector< Aws::String > & GetDBClusterIdentifiers() const
const Aws::Vector< Aws::String > & GetDBInstanceIdentifiers() const
DeregisterDBProxyTargetsRequest & AddDBClusterIdentifiers(DBClusterIdentifiersT &&value)
DeregisterDBProxyTargetsRequest & AddDBInstanceIdentifiers(DBInstanceIdentifiersT &&value)
AWS_RDS_API Aws::String SerializePayload() const override
DeregisterDBProxyTargetsRequest & WithDBProxyName(DBProxyNameT &&value)
DeregisterDBProxyTargetsRequest & WithDBInstanceIdentifiers(DBInstanceIdentifiersT &&value)
DeregisterDBProxyTargetsRequest & WithDBClusterIdentifiers(DBClusterIdentifiersT &&value)
DeregisterDBProxyTargetsRequest & WithTargetGroupName(TargetGroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector