AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetDBProxyName(const Aws::String& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = value; }
48 inline void SetDBProxyName(Aws::String&& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = std::move(value); }
49 inline void SetDBProxyName(const char* value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName.assign(value); }
50 inline DeregisterDBProxyTargetsRequest& WithDBProxyName(const Aws::String& value) { SetDBProxyName(value); return *this;}
51 inline DeregisterDBProxyTargetsRequest& WithDBProxyName(Aws::String&& value) { SetDBProxyName(std::move(value)); return *this;}
52 inline DeregisterDBProxyTargetsRequest& WithDBProxyName(const char* value) { SetDBProxyName(value); return *this;}
54
56
59 inline const Aws::String& GetTargetGroupName() const{ return m_targetGroupName; }
60 inline bool TargetGroupNameHasBeenSet() const { return m_targetGroupNameHasBeenSet; }
61 inline void SetTargetGroupName(const Aws::String& value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName = value; }
62 inline void SetTargetGroupName(Aws::String&& value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName = std::move(value); }
63 inline void SetTargetGroupName(const char* value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName.assign(value); }
65 inline DeregisterDBProxyTargetsRequest& WithTargetGroupName(Aws::String&& value) { SetTargetGroupName(std::move(value)); return *this;}
66 inline DeregisterDBProxyTargetsRequest& WithTargetGroupName(const char* value) { SetTargetGroupName(value); return *this;}
68
70
73 inline const Aws::Vector<Aws::String>& GetDBInstanceIdentifiers() const{ return m_dBInstanceIdentifiers; }
74 inline bool DBInstanceIdentifiersHasBeenSet() const { return m_dBInstanceIdentifiersHasBeenSet; }
75 inline void SetDBInstanceIdentifiers(const Aws::Vector<Aws::String>& value) { m_dBInstanceIdentifiersHasBeenSet = true; m_dBInstanceIdentifiers = value; }
76 inline void SetDBInstanceIdentifiers(Aws::Vector<Aws::String>&& value) { m_dBInstanceIdentifiersHasBeenSet = true; m_dBInstanceIdentifiers = std::move(value); }
79 inline DeregisterDBProxyTargetsRequest& AddDBInstanceIdentifiers(const Aws::String& value) { m_dBInstanceIdentifiersHasBeenSet = true; m_dBInstanceIdentifiers.push_back(value); return *this; }
80 inline DeregisterDBProxyTargetsRequest& AddDBInstanceIdentifiers(Aws::String&& value) { m_dBInstanceIdentifiersHasBeenSet = true; m_dBInstanceIdentifiers.push_back(std::move(value)); return *this; }
81 inline DeregisterDBProxyTargetsRequest& AddDBInstanceIdentifiers(const char* value) { m_dBInstanceIdentifiersHasBeenSet = true; m_dBInstanceIdentifiers.push_back(value); return *this; }
83
85
88 inline const Aws::Vector<Aws::String>& GetDBClusterIdentifiers() const{ return m_dBClusterIdentifiers; }
89 inline bool DBClusterIdentifiersHasBeenSet() const { return m_dBClusterIdentifiersHasBeenSet; }
90 inline void SetDBClusterIdentifiers(const Aws::Vector<Aws::String>& value) { m_dBClusterIdentifiersHasBeenSet = true; m_dBClusterIdentifiers = value; }
91 inline void SetDBClusterIdentifiers(Aws::Vector<Aws::String>&& value) { m_dBClusterIdentifiersHasBeenSet = true; m_dBClusterIdentifiers = std::move(value); }
94 inline DeregisterDBProxyTargetsRequest& AddDBClusterIdentifiers(const Aws::String& value) { m_dBClusterIdentifiersHasBeenSet = true; m_dBClusterIdentifiers.push_back(value); return *this; }
95 inline DeregisterDBProxyTargetsRequest& AddDBClusterIdentifiers(Aws::String&& value) { m_dBClusterIdentifiersHasBeenSet = true; m_dBClusterIdentifiers.push_back(std::move(value)); return *this; }
96 inline DeregisterDBProxyTargetsRequest& AddDBClusterIdentifiers(const char* value) { m_dBClusterIdentifiersHasBeenSet = true; m_dBClusterIdentifiers.push_back(value); return *this; }
98 private:
99
100 Aws::String m_dBProxyName;
101 bool m_dBProxyNameHasBeenSet = false;
102
103 Aws::String m_targetGroupName;
104 bool m_targetGroupNameHasBeenSet = false;
105
106 Aws::Vector<Aws::String> m_dBInstanceIdentifiers;
107 bool m_dBInstanceIdentifiersHasBeenSet = false;
108
109 Aws::Vector<Aws::String> m_dBClusterIdentifiers;
110 bool m_dBClusterIdentifiersHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace RDS
115} // 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 & WithDBInstanceIdentifiers(Aws::Vector< Aws::String > &&value)
DeregisterDBProxyTargetsRequest & AddDBClusterIdentifiers(const Aws::String &value)
DeregisterDBProxyTargetsRequest & WithTargetGroupName(const Aws::String &value)
DeregisterDBProxyTargetsRequest & WithDBClusterIdentifiers(Aws::Vector< Aws::String > &&value)
void SetDBClusterIdentifiers(const Aws::Vector< Aws::String > &value)
DeregisterDBProxyTargetsRequest & AddDBInstanceIdentifiers(Aws::String &&value)
DeregisterDBProxyTargetsRequest & AddDBInstanceIdentifiers(const Aws::String &value)
DeregisterDBProxyTargetsRequest & WithTargetGroupName(Aws::String &&value)
DeregisterDBProxyTargetsRequest & AddDBInstanceIdentifiers(const char *value)
DeregisterDBProxyTargetsRequest & AddDBClusterIdentifiers(Aws::String &&value)
void SetDBInstanceIdentifiers(Aws::Vector< Aws::String > &&value)
AWS_RDS_API Aws::String SerializePayload() const override
DeregisterDBProxyTargetsRequest & AddDBClusterIdentifiers(const char *value)
DeregisterDBProxyTargetsRequest & WithDBProxyName(const Aws::String &value)
DeregisterDBProxyTargetsRequest & WithDBClusterIdentifiers(const Aws::Vector< Aws::String > &value)
void SetDBInstanceIdentifiers(const Aws::Vector< Aws::String > &value)
void SetDBClusterIdentifiers(Aws::Vector< Aws::String > &&value)
DeregisterDBProxyTargetsRequest & WithDBProxyName(Aws::String &&value)
DeregisterDBProxyTargetsRequest & WithDBProxyName(const char *value)
DeregisterDBProxyTargetsRequest & WithTargetGroupName(const char *value)
DeregisterDBProxyTargetsRequest & WithDBInstanceIdentifiers(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector