AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsRoute53HostedZoneDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsRoute53HostedZoneObjectDetails.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsRoute53QueryLoggingConfigDetails.h>
11#include <aws/securityhub/model/AwsRoute53HostedZoneVpcDetails.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SecurityHub
26{
27namespace Model
28{
29
39 {
40 public:
41 AWS_SECURITYHUB_API AwsRoute53HostedZoneDetails();
44 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const AwsRoute53HostedZoneObjectDetails& GetHostedZone() const{ return m_hostedZone; }
52 inline bool HostedZoneHasBeenSet() const { return m_hostedZoneHasBeenSet; }
53 inline void SetHostedZone(const AwsRoute53HostedZoneObjectDetails& value) { m_hostedZoneHasBeenSet = true; m_hostedZone = value; }
54 inline void SetHostedZone(AwsRoute53HostedZoneObjectDetails&& value) { m_hostedZoneHasBeenSet = true; m_hostedZone = std::move(value); }
58
60
64 inline const Aws::Vector<AwsRoute53HostedZoneVpcDetails>& GetVpcs() const{ return m_vpcs; }
65 inline bool VpcsHasBeenSet() const { return m_vpcsHasBeenSet; }
66 inline void SetVpcs(const Aws::Vector<AwsRoute53HostedZoneVpcDetails>& value) { m_vpcsHasBeenSet = true; m_vpcs = value; }
67 inline void SetVpcs(Aws::Vector<AwsRoute53HostedZoneVpcDetails>&& value) { m_vpcsHasBeenSet = true; m_vpcs = std::move(value); }
70 inline AwsRoute53HostedZoneDetails& AddVpcs(const AwsRoute53HostedZoneVpcDetails& value) { m_vpcsHasBeenSet = true; m_vpcs.push_back(value); return *this; }
71 inline AwsRoute53HostedZoneDetails& AddVpcs(AwsRoute53HostedZoneVpcDetails&& value) { m_vpcsHasBeenSet = true; m_vpcs.push_back(std::move(value)); return *this; }
73
75
79 inline const Aws::Vector<Aws::String>& GetNameServers() const{ return m_nameServers; }
80 inline bool NameServersHasBeenSet() const { return m_nameServersHasBeenSet; }
81 inline void SetNameServers(const Aws::Vector<Aws::String>& value) { m_nameServersHasBeenSet = true; m_nameServers = value; }
82 inline void SetNameServers(Aws::Vector<Aws::String>&& value) { m_nameServersHasBeenSet = true; m_nameServers = std::move(value); }
84 inline AwsRoute53HostedZoneDetails& WithNameServers(Aws::Vector<Aws::String>&& value) { SetNameServers(std::move(value)); return *this;}
85 inline AwsRoute53HostedZoneDetails& AddNameServers(const Aws::String& value) { m_nameServersHasBeenSet = true; m_nameServers.push_back(value); return *this; }
86 inline AwsRoute53HostedZoneDetails& AddNameServers(Aws::String&& value) { m_nameServersHasBeenSet = true; m_nameServers.push_back(std::move(value)); return *this; }
87 inline AwsRoute53HostedZoneDetails& AddNameServers(const char* value) { m_nameServersHasBeenSet = true; m_nameServers.push_back(value); return *this; }
89
91
96 inline const AwsRoute53QueryLoggingConfigDetails& GetQueryLoggingConfig() const{ return m_queryLoggingConfig; }
97 inline bool QueryLoggingConfigHasBeenSet() const { return m_queryLoggingConfigHasBeenSet; }
98 inline void SetQueryLoggingConfig(const AwsRoute53QueryLoggingConfigDetails& value) { m_queryLoggingConfigHasBeenSet = true; m_queryLoggingConfig = value; }
99 inline void SetQueryLoggingConfig(AwsRoute53QueryLoggingConfigDetails&& value) { m_queryLoggingConfigHasBeenSet = true; m_queryLoggingConfig = std::move(value); }
103 private:
104
106 bool m_hostedZoneHasBeenSet = false;
107
109 bool m_vpcsHasBeenSet = false;
110
111 Aws::Vector<Aws::String> m_nameServers;
112 bool m_nameServersHasBeenSet = false;
113
114 AwsRoute53QueryLoggingConfigDetails m_queryLoggingConfig;
115 bool m_queryLoggingConfigHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace SecurityHub
120} // namespace Aws
AwsRoute53HostedZoneDetails & WithQueryLoggingConfig(const AwsRoute53QueryLoggingConfigDetails &value)
AwsRoute53HostedZoneDetails & WithVpcs(Aws::Vector< AwsRoute53HostedZoneVpcDetails > &&value)
AwsRoute53HostedZoneDetails & AddNameServers(const Aws::String &value)
const AwsRoute53QueryLoggingConfigDetails & GetQueryLoggingConfig() const
AwsRoute53HostedZoneDetails & AddNameServers(Aws::String &&value)
AwsRoute53HostedZoneDetails & WithVpcs(const Aws::Vector< AwsRoute53HostedZoneVpcDetails > &value)
const Aws::Vector< AwsRoute53HostedZoneVpcDetails > & GetVpcs() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVpcs(Aws::Vector< AwsRoute53HostedZoneVpcDetails > &&value)
void SetQueryLoggingConfig(const AwsRoute53QueryLoggingConfigDetails &value)
AWS_SECURITYHUB_API AwsRoute53HostedZoneDetails(Aws::Utils::Json::JsonView jsonValue)
AwsRoute53HostedZoneDetails & AddVpcs(AwsRoute53HostedZoneVpcDetails &&value)
AwsRoute53HostedZoneDetails & WithHostedZone(AwsRoute53HostedZoneObjectDetails &&value)
AwsRoute53HostedZoneDetails & AddVpcs(const AwsRoute53HostedZoneVpcDetails &value)
void SetVpcs(const Aws::Vector< AwsRoute53HostedZoneVpcDetails > &value)
void SetNameServers(const Aws::Vector< Aws::String > &value)
AwsRoute53HostedZoneDetails & WithNameServers(Aws::Vector< Aws::String > &&value)
AwsRoute53HostedZoneDetails & WithHostedZone(const AwsRoute53HostedZoneObjectDetails &value)
AWS_SECURITYHUB_API AwsRoute53HostedZoneDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetQueryLoggingConfig(AwsRoute53QueryLoggingConfigDetails &&value)
AwsRoute53HostedZoneDetails & WithNameServers(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetNameServers() const
void SetHostedZone(const AwsRoute53HostedZoneObjectDetails &value)
const AwsRoute53HostedZoneObjectDetails & GetHostedZone() const
AwsRoute53HostedZoneDetails & AddNameServers(const char *value)
AwsRoute53HostedZoneDetails & WithQueryLoggingConfig(AwsRoute53QueryLoggingConfigDetails &&value)
void SetHostedZone(AwsRoute53HostedZoneObjectDetails &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue