AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
43 inline const Aws::String& GetDNSTarget() const{ return m_dNSTarget; }
44 inline void SetDNSTarget(const Aws::String& value) { m_dNSTarget = value; }
45 inline void SetDNSTarget(Aws::String&& value) { m_dNSTarget = std::move(value); }
46 inline void SetDNSTarget(const char* value) { m_dNSTarget.assign(value); }
47 inline DescribeCustomDomainsResult& WithDNSTarget(const Aws::String& value) { SetDNSTarget(value); return *this;}
48 inline DescribeCustomDomainsResult& WithDNSTarget(Aws::String&& value) { SetDNSTarget(std::move(value)); return *this;}
49 inline DescribeCustomDomainsResult& WithDNSTarget(const char* value) { SetDNSTarget(value); return *this;}
51
53
57 inline const Aws::String& GetServiceArn() const{ return m_serviceArn; }
58 inline void SetServiceArn(const Aws::String& value) { m_serviceArn = value; }
59 inline void SetServiceArn(Aws::String&& value) { m_serviceArn = std::move(value); }
60 inline void SetServiceArn(const char* value) { m_serviceArn.assign(value); }
61 inline DescribeCustomDomainsResult& WithServiceArn(const Aws::String& value) { SetServiceArn(value); return *this;}
62 inline DescribeCustomDomainsResult& WithServiceArn(Aws::String&& value) { SetServiceArn(std::move(value)); return *this;}
63 inline DescribeCustomDomainsResult& WithServiceArn(const char* value) { SetServiceArn(value); return *this;}
65
67
72 inline const Aws::Vector<CustomDomain>& GetCustomDomains() const{ return m_customDomains; }
73 inline void SetCustomDomains(const Aws::Vector<CustomDomain>& value) { m_customDomains = value; }
74 inline void SetCustomDomains(Aws::Vector<CustomDomain>&& value) { m_customDomains = std::move(value); }
77 inline DescribeCustomDomainsResult& AddCustomDomains(const CustomDomain& value) { m_customDomains.push_back(value); return *this; }
78 inline DescribeCustomDomainsResult& AddCustomDomains(CustomDomain&& value) { m_customDomains.push_back(std::move(value)); return *this; }
80
82
85 inline const Aws::Vector<VpcDNSTarget>& GetVpcDNSTargets() const{ return m_vpcDNSTargets; }
86 inline void SetVpcDNSTargets(const Aws::Vector<VpcDNSTarget>& value) { m_vpcDNSTargets = value; }
87 inline void SetVpcDNSTargets(Aws::Vector<VpcDNSTarget>&& value) { m_vpcDNSTargets = std::move(value); }
90 inline DescribeCustomDomainsResult& AddVpcDNSTargets(const VpcDNSTarget& value) { m_vpcDNSTargets.push_back(value); return *this; }
91 inline DescribeCustomDomainsResult& AddVpcDNSTargets(VpcDNSTarget&& value) { m_vpcDNSTargets.push_back(std::move(value)); return *this; }
93
95
99 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
100 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
101 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
102 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
103 inline DescribeCustomDomainsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
104 inline DescribeCustomDomainsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
105 inline DescribeCustomDomainsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107
109
110 inline const Aws::String& GetRequestId() const{ return m_requestId; }
111 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
112 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
113 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
114 inline DescribeCustomDomainsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
115 inline DescribeCustomDomainsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
116 inline DescribeCustomDomainsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
118 private:
119
120 Aws::String m_dNSTarget;
121
122 Aws::String m_serviceArn;
123
124 Aws::Vector<CustomDomain> m_customDomains;
125
126 Aws::Vector<VpcDNSTarget> m_vpcDNSTargets;
127
128 Aws::String m_nextToken;
129
130 Aws::String m_requestId;
131 };
132
133} // namespace Model
134} // namespace AppRunner
135} // namespace Aws
void SetVpcDNSTargets(const Aws::Vector< VpcDNSTarget > &value)
DescribeCustomDomainsResult & WithDNSTarget(const Aws::String &value)
DescribeCustomDomainsResult & WithRequestId(const char *value)
AWS_APPRUNNER_API DescribeCustomDomainsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCustomDomainsResult & WithServiceArn(Aws::String &&value)
DescribeCustomDomainsResult & AddCustomDomains(const CustomDomain &value)
void SetCustomDomains(Aws::Vector< CustomDomain > &&value)
DescribeCustomDomainsResult & WithServiceArn(const char *value)
DescribeCustomDomainsResult & WithVpcDNSTargets(const Aws::Vector< VpcDNSTarget > &value)
DescribeCustomDomainsResult & WithCustomDomains(Aws::Vector< CustomDomain > &&value)
DescribeCustomDomainsResult & AddVpcDNSTargets(const VpcDNSTarget &value)
DescribeCustomDomainsResult & WithNextToken(const Aws::String &value)
void SetCustomDomains(const Aws::Vector< CustomDomain > &value)
void SetVpcDNSTargets(Aws::Vector< VpcDNSTarget > &&value)
const Aws::Vector< CustomDomain > & GetCustomDomains() const
DescribeCustomDomainsResult & WithDNSTarget(Aws::String &&value)
DescribeCustomDomainsResult & AddVpcDNSTargets(VpcDNSTarget &&value)
DescribeCustomDomainsResult & WithNextToken(const char *value)
DescribeCustomDomainsResult & WithRequestId(Aws::String &&value)
const Aws::Vector< VpcDNSTarget > & GetVpcDNSTargets() const
DescribeCustomDomainsResult & WithCustomDomains(const Aws::Vector< CustomDomain > &value)
DescribeCustomDomainsResult & WithRequestId(const Aws::String &value)
DescribeCustomDomainsResult & WithNextToken(Aws::String &&value)
DescribeCustomDomainsResult & WithServiceArn(const Aws::String &value)
AWS_APPRUNNER_API DescribeCustomDomainsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCustomDomainsResult & WithVpcDNSTargets(Aws::Vector< VpcDNSTarget > &&value)
DescribeCustomDomainsResult & WithDNSTarget(const char *value)
DescribeCustomDomainsResult & AddCustomDomains(CustomDomain &&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