AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ModifyVerifiedAccessEndpointRdsOptions.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace EC2
23{
24namespace Model
25{
26
33 {
34 public:
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
48 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
49 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
50 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
51 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
52 ModifyVerifiedAccessEndpointRdsOptions& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
53 template<typename SubnetIdsT = Aws::String>
54 ModifyVerifiedAccessEndpointRdsOptions& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
56
58
61 inline int GetPort() const { return m_port; }
62 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
63 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
64 inline ModifyVerifiedAccessEndpointRdsOptions& WithPort(int value) { SetPort(value); return *this;}
66
68
71 inline const Aws::String& GetRdsEndpoint() const { return m_rdsEndpoint; }
72 inline bool RdsEndpointHasBeenSet() const { return m_rdsEndpointHasBeenSet; }
73 template<typename RdsEndpointT = Aws::String>
74 void SetRdsEndpoint(RdsEndpointT&& value) { m_rdsEndpointHasBeenSet = true; m_rdsEndpoint = std::forward<RdsEndpointT>(value); }
75 template<typename RdsEndpointT = Aws::String>
76 ModifyVerifiedAccessEndpointRdsOptions& WithRdsEndpoint(RdsEndpointT&& value) { SetRdsEndpoint(std::forward<RdsEndpointT>(value)); return *this;}
78 private:
79
80 Aws::Vector<Aws::String> m_subnetIds;
81 bool m_subnetIdsHasBeenSet = false;
82
83 int m_port{0};
84 bool m_portHasBeenSet = false;
85
86 Aws::String m_rdsEndpoint;
87 bool m_rdsEndpointHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace EC2
92} // namespace Aws
ModifyVerifiedAccessEndpointRdsOptions & AddSubnetIds(SubnetIdsT &&value)
ModifyVerifiedAccessEndpointRdsOptions & WithSubnetIds(SubnetIdsT &&value)
AWS_EC2_API ModifyVerifiedAccessEndpointRdsOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ModifyVerifiedAccessEndpointRdsOptions & WithRdsEndpoint(RdsEndpointT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API ModifyVerifiedAccessEndpointRdsOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream