AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
VpcDNSTarget.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppRunner {
20namespace Model {
21
29 public:
30 AWS_APPRUNNER_API VpcDNSTarget() = default;
31 AWS_APPRUNNER_API VpcDNSTarget(Aws::Utils::Json::JsonView jsonValue);
32 AWS_APPRUNNER_API VpcDNSTarget& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetVpcIngressConnectionArn() const { return m_vpcIngressConnectionArn; }
41 inline bool VpcIngressConnectionArnHasBeenSet() const { return m_vpcIngressConnectionArnHasBeenSet; }
42 template <typename VpcIngressConnectionArnT = Aws::String>
43 void SetVpcIngressConnectionArn(VpcIngressConnectionArnT&& value) {
44 m_vpcIngressConnectionArnHasBeenSet = true;
45 m_vpcIngressConnectionArn = std::forward<VpcIngressConnectionArnT>(value);
46 }
47 template <typename VpcIngressConnectionArnT = Aws::String>
48 VpcDNSTarget& WithVpcIngressConnectionArn(VpcIngressConnectionArnT&& value) {
49 SetVpcIngressConnectionArn(std::forward<VpcIngressConnectionArnT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetVpcId() const { return m_vpcId; }
60 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
61 template <typename VpcIdT = Aws::String>
62 void SetVpcId(VpcIdT&& value) {
63 m_vpcIdHasBeenSet = true;
64 m_vpcId = std::forward<VpcIdT>(value);
65 }
66 template <typename VpcIdT = Aws::String>
67 VpcDNSTarget& WithVpcId(VpcIdT&& value) {
68 SetVpcId(std::forward<VpcIdT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetDomainName() const { return m_domainName; }
79 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
80 template <typename DomainNameT = Aws::String>
81 void SetDomainName(DomainNameT&& value) {
82 m_domainNameHasBeenSet = true;
83 m_domainName = std::forward<DomainNameT>(value);
84 }
85 template <typename DomainNameT = Aws::String>
86 VpcDNSTarget& WithDomainName(DomainNameT&& value) {
87 SetDomainName(std::forward<DomainNameT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_vpcIngressConnectionArn;
93
94 Aws::String m_vpcId;
95
96 Aws::String m_domainName;
97 bool m_vpcIngressConnectionArnHasBeenSet = false;
98 bool m_vpcIdHasBeenSet = false;
99 bool m_domainNameHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace AppRunner
104} // namespace Aws
void SetVpcIngressConnectionArn(VpcIngressConnectionArnT &&value)
AWS_APPRUNNER_API VpcDNSTarget()=default
const Aws::String & GetVpcId() const
AWS_APPRUNNER_API VpcDNSTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDomainName(DomainNameT &&value)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPRUNNER_API VpcDNSTarget(Aws::Utils::Json::JsonView jsonValue)
VpcDNSTarget & WithVpcIngressConnectionArn(VpcIngressConnectionArnT &&value)
VpcDNSTarget & WithDomainName(DomainNameT &&value)
VpcDNSTarget & WithVpcId(VpcIdT &&value)
const Aws::String & GetVpcIngressConnectionArn() const
const Aws::String & GetDomainName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue