AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AwsRoute53HostedZoneDetails.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/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsRoute53HostedZoneObjectDetails.h>
11#include <aws/securityhub/model/AwsRoute53HostedZoneVpcDetails.h>
12#include <aws/securityhub/model/AwsRoute53QueryLoggingConfigDetails.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub {
24namespace Model {
25
35 public:
36 AWS_SECURITYHUB_API AwsRoute53HostedZoneDetails() = default;
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const AwsRoute53HostedZoneObjectDetails& GetHostedZone() const { return m_hostedZone; }
46 inline bool HostedZoneHasBeenSet() const { return m_hostedZoneHasBeenSet; }
47 template <typename HostedZoneT = AwsRoute53HostedZoneObjectDetails>
48 void SetHostedZone(HostedZoneT&& value) {
49 m_hostedZoneHasBeenSet = true;
50 m_hostedZone = std::forward<HostedZoneT>(value);
51 }
52 template <typename HostedZoneT = AwsRoute53HostedZoneObjectDetails>
54 SetHostedZone(std::forward<HostedZoneT>(value));
55 return *this;
56 }
58
60
64 inline const Aws::Vector<AwsRoute53HostedZoneVpcDetails>& GetVpcs() const { return m_vpcs; }
65 inline bool VpcsHasBeenSet() const { return m_vpcsHasBeenSet; }
66 template <typename VpcsT = Aws::Vector<AwsRoute53HostedZoneVpcDetails>>
67 void SetVpcs(VpcsT&& value) {
68 m_vpcsHasBeenSet = true;
69 m_vpcs = std::forward<VpcsT>(value);
70 }
71 template <typename VpcsT = Aws::Vector<AwsRoute53HostedZoneVpcDetails>>
73 SetVpcs(std::forward<VpcsT>(value));
74 return *this;
75 }
76 template <typename VpcsT = AwsRoute53HostedZoneVpcDetails>
78 m_vpcsHasBeenSet = true;
79 m_vpcs.emplace_back(std::forward<VpcsT>(value));
80 return *this;
81 }
83
85
89 inline const Aws::Vector<Aws::String>& GetNameServers() const { return m_nameServers; }
90 inline bool NameServersHasBeenSet() const { return m_nameServersHasBeenSet; }
91 template <typename NameServersT = Aws::Vector<Aws::String>>
92 void SetNameServers(NameServersT&& value) {
93 m_nameServersHasBeenSet = true;
94 m_nameServers = std::forward<NameServersT>(value);
95 }
96 template <typename NameServersT = Aws::Vector<Aws::String>>
98 SetNameServers(std::forward<NameServersT>(value));
99 return *this;
100 }
101 template <typename NameServersT = Aws::String>
103 m_nameServersHasBeenSet = true;
104 m_nameServers.emplace_back(std::forward<NameServersT>(value));
105 return *this;
106 }
108
110
115 inline const AwsRoute53QueryLoggingConfigDetails& GetQueryLoggingConfig() const { return m_queryLoggingConfig; }
116 inline bool QueryLoggingConfigHasBeenSet() const { return m_queryLoggingConfigHasBeenSet; }
117 template <typename QueryLoggingConfigT = AwsRoute53QueryLoggingConfigDetails>
118 void SetQueryLoggingConfig(QueryLoggingConfigT&& value) {
119 m_queryLoggingConfigHasBeenSet = true;
120 m_queryLoggingConfig = std::forward<QueryLoggingConfigT>(value);
121 }
122 template <typename QueryLoggingConfigT = AwsRoute53QueryLoggingConfigDetails>
124 SetQueryLoggingConfig(std::forward<QueryLoggingConfigT>(value));
125 return *this;
126 }
128 private:
130
132
133 Aws::Vector<Aws::String> m_nameServers;
134
135 AwsRoute53QueryLoggingConfigDetails m_queryLoggingConfig;
136 bool m_hostedZoneHasBeenSet = false;
137 bool m_vpcsHasBeenSet = false;
138 bool m_nameServersHasBeenSet = false;
139 bool m_queryLoggingConfigHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace SecurityHub
144} // namespace Aws
AwsRoute53HostedZoneDetails & WithNameServers(NameServersT &&value)
AwsRoute53HostedZoneDetails & WithVpcs(VpcsT &&value)
const AwsRoute53QueryLoggingConfigDetails & GetQueryLoggingConfig() const
const Aws::Vector< AwsRoute53HostedZoneVpcDetails > & GetVpcs() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsRoute53HostedZoneDetails & WithQueryLoggingConfig(QueryLoggingConfigT &&value)
AWS_SECURITYHUB_API AwsRoute53HostedZoneDetails(Aws::Utils::Json::JsonView jsonValue)
AwsRoute53HostedZoneDetails & WithHostedZone(HostedZoneT &&value)
AwsRoute53HostedZoneDetails & AddVpcs(VpcsT &&value)
AwsRoute53HostedZoneDetails & AddNameServers(NameServersT &&value)
AWS_SECURITYHUB_API AwsRoute53HostedZoneDetails()=default
AWS_SECURITYHUB_API AwsRoute53HostedZoneDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetNameServers() const
const AwsRoute53HostedZoneObjectDetails & GetHostedZone() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue