AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
DnsPrevalidationOptions.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/model/DomainScope.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ACM {
21namespace Model {
22
30 public:
31 AWS_ACM_API DnsPrevalidationOptions() = default;
35
37
40 inline const DomainScope& GetDomainScope() const { return m_domainScope; }
41 inline bool DomainScopeHasBeenSet() const { return m_domainScopeHasBeenSet; }
42 template <typename DomainScopeT = DomainScope>
43 void SetDomainScope(DomainScopeT&& value) {
44 m_domainScopeHasBeenSet = true;
45 m_domainScope = std::forward<DomainScopeT>(value);
46 }
47 template <typename DomainScopeT = DomainScope>
49 SetDomainScope(std::forward<DomainScopeT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetHostedZoneId() const { return m_hostedZoneId; }
59 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
60 template <typename HostedZoneIdT = Aws::String>
61 void SetHostedZoneId(HostedZoneIdT&& value) {
62 m_hostedZoneIdHasBeenSet = true;
63 m_hostedZoneId = std::forward<HostedZoneIdT>(value);
64 }
65 template <typename HostedZoneIdT = Aws::String>
66 DnsPrevalidationOptions& WithHostedZoneId(HostedZoneIdT&& value) {
67 SetHostedZoneId(std::forward<HostedZoneIdT>(value));
68 return *this;
69 }
71 private:
72 DomainScope m_domainScope;
73
74 Aws::String m_hostedZoneId;
75 bool m_domainScopeHasBeenSet = false;
76 bool m_hostedZoneIdHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace ACM
81} // namespace Aws
AWS_ACM_API DnsPrevalidationOptions()=default
DnsPrevalidationOptions & WithHostedZoneId(HostedZoneIdT &&value)
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ACM_API DnsPrevalidationOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
DnsPrevalidationOptions & WithDomainScope(DomainScopeT &&value)
AWS_ACM_API DnsPrevalidationOptions(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue