AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeCustomDomainsResult.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/apprunner/model/CustomDomain.h>
11#include <aws/apprunner/model/VpcDNSTarget.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace AppRunner
27{
28namespace Model
29{
31 {
32 public:
33 AWS_APPRUNNER_API DescribeCustomDomainsResult() = default;
36
37
39
43 inline const Aws::String& GetDNSTarget() const { return m_dNSTarget; }
44 template<typename DNSTargetT = Aws::String>
45 void SetDNSTarget(DNSTargetT&& value) { m_dNSTargetHasBeenSet = true; m_dNSTarget = std::forward<DNSTargetT>(value); }
46 template<typename DNSTargetT = Aws::String>
47 DescribeCustomDomainsResult& WithDNSTarget(DNSTargetT&& value) { SetDNSTarget(std::forward<DNSTargetT>(value)); return *this;}
49
51
55 inline const Aws::String& GetServiceArn() const { return m_serviceArn; }
56 template<typename ServiceArnT = Aws::String>
57 void SetServiceArn(ServiceArnT&& value) { m_serviceArnHasBeenSet = true; m_serviceArn = std::forward<ServiceArnT>(value); }
58 template<typename ServiceArnT = Aws::String>
59 DescribeCustomDomainsResult& WithServiceArn(ServiceArnT&& value) { SetServiceArn(std::forward<ServiceArnT>(value)); return *this;}
61
63
68 inline const Aws::Vector<CustomDomain>& GetCustomDomains() const { return m_customDomains; }
69 template<typename CustomDomainsT = Aws::Vector<CustomDomain>>
70 void SetCustomDomains(CustomDomainsT&& value) { m_customDomainsHasBeenSet = true; m_customDomains = std::forward<CustomDomainsT>(value); }
71 template<typename CustomDomainsT = Aws::Vector<CustomDomain>>
72 DescribeCustomDomainsResult& WithCustomDomains(CustomDomainsT&& value) { SetCustomDomains(std::forward<CustomDomainsT>(value)); return *this;}
73 template<typename CustomDomainsT = CustomDomain>
74 DescribeCustomDomainsResult& AddCustomDomains(CustomDomainsT&& value) { m_customDomainsHasBeenSet = true; m_customDomains.emplace_back(std::forward<CustomDomainsT>(value)); return *this; }
76
78
81 inline const Aws::Vector<VpcDNSTarget>& GetVpcDNSTargets() const { return m_vpcDNSTargets; }
82 template<typename VpcDNSTargetsT = Aws::Vector<VpcDNSTarget>>
83 void SetVpcDNSTargets(VpcDNSTargetsT&& value) { m_vpcDNSTargetsHasBeenSet = true; m_vpcDNSTargets = std::forward<VpcDNSTargetsT>(value); }
84 template<typename VpcDNSTargetsT = Aws::Vector<VpcDNSTarget>>
85 DescribeCustomDomainsResult& WithVpcDNSTargets(VpcDNSTargetsT&& value) { SetVpcDNSTargets(std::forward<VpcDNSTargetsT>(value)); return *this;}
86 template<typename VpcDNSTargetsT = VpcDNSTarget>
87 DescribeCustomDomainsResult& AddVpcDNSTargets(VpcDNSTargetsT&& value) { m_vpcDNSTargetsHasBeenSet = true; m_vpcDNSTargets.emplace_back(std::forward<VpcDNSTargetsT>(value)); return *this; }
89
91
95 inline const Aws::String& GetNextToken() const { return m_nextToken; }
96 template<typename NextTokenT = Aws::String>
97 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
98 template<typename NextTokenT = Aws::String>
99 DescribeCustomDomainsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
101
103
104 inline const Aws::String& GetRequestId() const { return m_requestId; }
105 template<typename RequestIdT = Aws::String>
106 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
107 template<typename RequestIdT = Aws::String>
108 DescribeCustomDomainsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
110 private:
111
112 Aws::String m_dNSTarget;
113 bool m_dNSTargetHasBeenSet = false;
114
115 Aws::String m_serviceArn;
116 bool m_serviceArnHasBeenSet = false;
117
118 Aws::Vector<CustomDomain> m_customDomains;
119 bool m_customDomainsHasBeenSet = false;
120
121 Aws::Vector<VpcDNSTarget> m_vpcDNSTargets;
122 bool m_vpcDNSTargetsHasBeenSet = false;
123
124 Aws::String m_nextToken;
125 bool m_nextTokenHasBeenSet = false;
126
127 Aws::String m_requestId;
128 bool m_requestIdHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace AppRunner
133} // 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