AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
HealthCheckSourceConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/route53/Route53_EXPORTS.h>
10#include <aws/route53/model/SubnetConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace Route53 {
21namespace Model {
22
31 public:
32 AWS_ROUTE53_API HealthCheckSourceConfig() = default;
33 AWS_ROUTE53_API HealthCheckSourceConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
35
36 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
37
39
44 inline const Aws::String& GetVpcId() const { return m_vpcId; }
45 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
46 template <typename VpcIdT = Aws::String>
47 void SetVpcId(VpcIdT&& value) {
48 m_vpcIdHasBeenSet = true;
49 m_vpcId = std::forward<VpcIdT>(value);
50 }
51 template <typename VpcIdT = Aws::String>
53 SetVpcId(std::forward<VpcIdT>(value));
54 return *this;
55 }
57
59
66 inline const Aws::Vector<SubnetConfiguration>& GetSubnetConfigurationList() const { return m_subnetConfigurationList; }
67 inline bool SubnetConfigurationListHasBeenSet() const { return m_subnetConfigurationListHasBeenSet; }
68 template <typename SubnetConfigurationListT = Aws::Vector<SubnetConfiguration>>
69 void SetSubnetConfigurationList(SubnetConfigurationListT&& value) {
70 m_subnetConfigurationListHasBeenSet = true;
71 m_subnetConfigurationList = std::forward<SubnetConfigurationListT>(value);
72 }
73 template <typename SubnetConfigurationListT = Aws::Vector<SubnetConfiguration>>
74 HealthCheckSourceConfig& WithSubnetConfigurationList(SubnetConfigurationListT&& value) {
75 SetSubnetConfigurationList(std::forward<SubnetConfigurationListT>(value));
76 return *this;
77 }
78 template <typename SubnetConfigurationListT = SubnetConfiguration>
79 HealthCheckSourceConfig& AddSubnetConfigurationList(SubnetConfigurationListT&& value) {
80 m_subnetConfigurationListHasBeenSet = true;
81 m_subnetConfigurationList.emplace_back(std::forward<SubnetConfigurationListT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_vpcId;
87
88 Aws::Vector<SubnetConfiguration> m_subnetConfigurationList;
89 bool m_vpcIdHasBeenSet = false;
90 bool m_subnetConfigurationListHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace Route53
95} // namespace Aws
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_ROUTE53_API HealthCheckSourceConfig()=default
AWS_ROUTE53_API HealthCheckSourceConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
HealthCheckSourceConfig & WithVpcId(VpcIdT &&value)
void SetSubnetConfigurationList(SubnetConfigurationListT &&value)
const Aws::Vector< SubnetConfiguration > & GetSubnetConfigurationList() const
HealthCheckSourceConfig & AddSubnetConfigurationList(SubnetConfigurationListT &&value)
AWS_ROUTE53_API HealthCheckSourceConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
HealthCheckSourceConfig & WithSubnetConfigurationList(SubnetConfigurationListT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector