AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DescribeCustomDomainsResult.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/apprunner/model/CustomDomain.h>
9#include <aws/apprunner/model/VpcDNSTarget.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace AppRunner {
26namespace Model {
28 public:
29 AWS_APPRUNNER_API DescribeCustomDomainsResult() = default;
32
34
38 inline const Aws::String& GetDNSTarget() const { return m_dNSTarget; }
39 template <typename DNSTargetT = Aws::String>
40 void SetDNSTarget(DNSTargetT&& value) {
41 m_dNSTargetHasBeenSet = true;
42 m_dNSTarget = std::forward<DNSTargetT>(value);
43 }
44 template <typename DNSTargetT = Aws::String>
46 SetDNSTarget(std::forward<DNSTargetT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetServiceArn() const { return m_serviceArn; }
57 template <typename ServiceArnT = Aws::String>
58 void SetServiceArn(ServiceArnT&& value) {
59 m_serviceArnHasBeenSet = true;
60 m_serviceArn = std::forward<ServiceArnT>(value);
61 }
62 template <typename ServiceArnT = Aws::String>
64 SetServiceArn(std::forward<ServiceArnT>(value));
65 return *this;
66 }
68
70
75 inline const Aws::Vector<CustomDomain>& GetCustomDomains() const { return m_customDomains; }
76 template <typename CustomDomainsT = Aws::Vector<CustomDomain>>
77 void SetCustomDomains(CustomDomainsT&& value) {
78 m_customDomainsHasBeenSet = true;
79 m_customDomains = std::forward<CustomDomainsT>(value);
80 }
81 template <typename CustomDomainsT = Aws::Vector<CustomDomain>>
83 SetCustomDomains(std::forward<CustomDomainsT>(value));
84 return *this;
85 }
86 template <typename CustomDomainsT = CustomDomain>
88 m_customDomainsHasBeenSet = true;
89 m_customDomains.emplace_back(std::forward<CustomDomainsT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::Vector<VpcDNSTarget>& GetVpcDNSTargets() const { return m_vpcDNSTargets; }
99 template <typename VpcDNSTargetsT = Aws::Vector<VpcDNSTarget>>
100 void SetVpcDNSTargets(VpcDNSTargetsT&& value) {
101 m_vpcDNSTargetsHasBeenSet = true;
102 m_vpcDNSTargets = std::forward<VpcDNSTargetsT>(value);
103 }
104 template <typename VpcDNSTargetsT = Aws::Vector<VpcDNSTarget>>
106 SetVpcDNSTargets(std::forward<VpcDNSTargetsT>(value));
107 return *this;
108 }
109 template <typename VpcDNSTargetsT = VpcDNSTarget>
111 m_vpcDNSTargetsHasBeenSet = true;
112 m_vpcDNSTargets.emplace_back(std::forward<VpcDNSTargetsT>(value));
113 return *this;
114 }
116
118
122 inline const Aws::String& GetNextToken() const { return m_nextToken; }
123 template <typename NextTokenT = Aws::String>
124 void SetNextToken(NextTokenT&& value) {
125 m_nextTokenHasBeenSet = true;
126 m_nextToken = std::forward<NextTokenT>(value);
127 }
128 template <typename NextTokenT = Aws::String>
130 SetNextToken(std::forward<NextTokenT>(value));
131 return *this;
132 }
134
136
137 inline const Aws::String& GetRequestId() const { return m_requestId; }
138 template <typename RequestIdT = Aws::String>
139 void SetRequestId(RequestIdT&& value) {
140 m_requestIdHasBeenSet = true;
141 m_requestId = std::forward<RequestIdT>(value);
142 }
143 template <typename RequestIdT = Aws::String>
145 SetRequestId(std::forward<RequestIdT>(value));
146 return *this;
147 }
149 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
150
151 private:
152 Aws::String m_dNSTarget;
153
154 Aws::String m_serviceArn;
155
156 Aws::Vector<CustomDomain> m_customDomains;
157
158 Aws::Vector<VpcDNSTarget> m_vpcDNSTargets;
159
160 Aws::String m_nextToken;
161
162 Aws::String m_requestId;
163 Aws::Http::HttpResponseCode m_HttpResponseCode;
164 bool m_dNSTargetHasBeenSet = false;
165 bool m_serviceArnHasBeenSet = false;
166 bool m_customDomainsHasBeenSet = false;
167 bool m_vpcDNSTargetsHasBeenSet = false;
168 bool m_nextTokenHasBeenSet = false;
169 bool m_requestIdHasBeenSet = false;
170};
171
172} // namespace Model
173} // namespace AppRunner
174} // namespace Aws
DescribeCustomDomainsResult & AddVpcDNSTargets(VpcDNSTargetsT &&value)
AWS_APPRUNNER_API DescribeCustomDomainsResult()=default
DescribeCustomDomainsResult & WithCustomDomains(CustomDomainsT &&value)
DescribeCustomDomainsResult & WithServiceArn(ServiceArnT &&value)
DescribeCustomDomainsResult & WithRequestId(RequestIdT &&value)
AWS_APPRUNNER_API DescribeCustomDomainsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCustomDomainsResult & AddCustomDomains(CustomDomainsT &&value)
DescribeCustomDomainsResult & WithVpcDNSTargets(VpcDNSTargetsT &&value)
DescribeCustomDomainsResult & WithDNSTarget(DNSTargetT &&value)
const Aws::Vector< CustomDomain > & GetCustomDomains() const
DescribeCustomDomainsResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< VpcDNSTarget > & GetVpcDNSTargets() const
AWS_APPRUNNER_API DescribeCustomDomainsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue