AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyDBProxyEndpointRequest.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 "ModifyDBProxyEndpoint"; }
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& GetDBProxyEndpointName() const{ return m_dBProxyEndpointName; }
46 inline bool DBProxyEndpointNameHasBeenSet() const { return m_dBProxyEndpointNameHasBeenSet; }
47 inline void SetDBProxyEndpointName(const Aws::String& value) { m_dBProxyEndpointNameHasBeenSet = true; m_dBProxyEndpointName = value; }
48 inline void SetDBProxyEndpointName(Aws::String&& value) { m_dBProxyEndpointNameHasBeenSet = true; m_dBProxyEndpointName = std::move(value); }
49 inline void SetDBProxyEndpointName(const char* value) { m_dBProxyEndpointNameHasBeenSet = true; m_dBProxyEndpointName.assign(value); }
52 inline ModifyDBProxyEndpointRequest& WithDBProxyEndpointName(const char* value) { SetDBProxyEndpointName(value); return *this;}
54
56
61 inline const Aws::String& GetNewDBProxyEndpointName() const{ return m_newDBProxyEndpointName; }
62 inline bool NewDBProxyEndpointNameHasBeenSet() const { return m_newDBProxyEndpointNameHasBeenSet; }
63 inline void SetNewDBProxyEndpointName(const Aws::String& value) { m_newDBProxyEndpointNameHasBeenSet = true; m_newDBProxyEndpointName = value; }
64 inline void SetNewDBProxyEndpointName(Aws::String&& value) { m_newDBProxyEndpointNameHasBeenSet = true; m_newDBProxyEndpointName = std::move(value); }
65 inline void SetNewDBProxyEndpointName(const char* value) { m_newDBProxyEndpointNameHasBeenSet = true; m_newDBProxyEndpointName.assign(value); }
68 inline ModifyDBProxyEndpointRequest& WithNewDBProxyEndpointName(const char* value) { SetNewDBProxyEndpointName(value); return *this;}
70
72
77 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; }
78 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
79 inline void SetVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; }
80 inline void SetVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); }
83 inline ModifyDBProxyEndpointRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
84 inline ModifyDBProxyEndpointRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; }
85 inline ModifyDBProxyEndpointRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
87 private:
88
89 Aws::String m_dBProxyEndpointName;
90 bool m_dBProxyEndpointNameHasBeenSet = false;
91
92 Aws::String m_newDBProxyEndpointName;
93 bool m_newDBProxyEndpointNameHasBeenSet = false;
94
95 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
96 bool m_vpcSecurityGroupIdsHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace RDS
101} // namespace Aws
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
AWS_RDS_API Aws::String SerializePayload() const override
ModifyDBProxyEndpointRequest & AddVpcSecurityGroupIds(const char *value)
ModifyDBProxyEndpointRequest & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
ModifyDBProxyEndpointRequest & WithNewDBProxyEndpointName(Aws::String &&value)
ModifyDBProxyEndpointRequest & WithNewDBProxyEndpointName(const Aws::String &value)
ModifyDBProxyEndpointRequest & WithDBProxyEndpointName(const char *value)
ModifyDBProxyEndpointRequest & WithDBProxyEndpointName(Aws::String &&value)
ModifyDBProxyEndpointRequest & WithDBProxyEndpointName(const Aws::String &value)
ModifyDBProxyEndpointRequest & WithNewDBProxyEndpointName(const char *value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
virtual const char * GetServiceRequestName() const override
ModifyDBProxyEndpointRequest & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
ModifyDBProxyEndpointRequest & AddVpcSecurityGroupIds(const Aws::String &value)
ModifyDBProxyEndpointRequest & AddVpcSecurityGroupIds(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector