AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
25 AWS_RDS_API ModifyDBProxyEndpointRequest() = 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 "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 template<typename DBProxyEndpointNameT = Aws::String>
48 void SetDBProxyEndpointName(DBProxyEndpointNameT&& value) { m_dBProxyEndpointNameHasBeenSet = true; m_dBProxyEndpointName = std::forward<DBProxyEndpointNameT>(value); }
49 template<typename DBProxyEndpointNameT = Aws::String>
50 ModifyDBProxyEndpointRequest& WithDBProxyEndpointName(DBProxyEndpointNameT&& value) { SetDBProxyEndpointName(std::forward<DBProxyEndpointNameT>(value)); return *this;}
52
54
59 inline const Aws::String& GetNewDBProxyEndpointName() const { return m_newDBProxyEndpointName; }
60 inline bool NewDBProxyEndpointNameHasBeenSet() const { return m_newDBProxyEndpointNameHasBeenSet; }
61 template<typename NewDBProxyEndpointNameT = Aws::String>
62 void SetNewDBProxyEndpointName(NewDBProxyEndpointNameT&& value) { m_newDBProxyEndpointNameHasBeenSet = true; m_newDBProxyEndpointName = std::forward<NewDBProxyEndpointNameT>(value); }
63 template<typename NewDBProxyEndpointNameT = Aws::String>
64 ModifyDBProxyEndpointRequest& WithNewDBProxyEndpointName(NewDBProxyEndpointNameT&& value) { SetNewDBProxyEndpointName(std::forward<NewDBProxyEndpointNameT>(value)); return *this;}
66
68
73 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const { return m_vpcSecurityGroupIds; }
74 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
75 template<typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
76 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value); }
77 template<typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
78 ModifyDBProxyEndpointRequest& WithVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { SetVpcSecurityGroupIds(std::forward<VpcSecurityGroupIdsT>(value)); return *this;}
79 template<typename VpcSecurityGroupIdsT = Aws::String>
80 ModifyDBProxyEndpointRequest& AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value)); return *this; }
82 private:
83
84 Aws::String m_dBProxyEndpointName;
85 bool m_dBProxyEndpointNameHasBeenSet = false;
86
87 Aws::String m_newDBProxyEndpointName;
88 bool m_newDBProxyEndpointNameHasBeenSet = false;
89
90 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
91 bool m_vpcSecurityGroupIdsHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace RDS
96} // namespace Aws
void SetDBProxyEndpointName(DBProxyEndpointNameT &&value)
void SetNewDBProxyEndpointName(NewDBProxyEndpointNameT &&value)
ModifyDBProxyEndpointRequest & WithNewDBProxyEndpointName(NewDBProxyEndpointNameT &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_RDS_API Aws::String SerializePayload() const override
ModifyDBProxyEndpointRequest & WithDBProxyEndpointName(DBProxyEndpointNameT &&value)
ModifyDBProxyEndpointRequest & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
ModifyDBProxyEndpointRequest & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
AWS_RDS_API ModifyDBProxyEndpointRequest()=default
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector