AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateCustomDomainResult.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/apprunner/model/CustomDomain.h>
10#include <aws/core/utils/memory/stl/AWSVector.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 AssociateCustomDomainResult();
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 AssociateCustomDomainResult& WithDNSTarget(const Aws::String& value) { SetDNSTarget(value); return *this;}
48 inline AssociateCustomDomainResult& WithDNSTarget(Aws::String&& value) { SetDNSTarget(std::move(value)); return *this;}
49 inline AssociateCustomDomainResult& 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 AssociateCustomDomainResult& WithServiceArn(const Aws::String& value) { SetServiceArn(value); return *this;}
62 inline AssociateCustomDomainResult& WithServiceArn(Aws::String&& value) { SetServiceArn(std::move(value)); return *this;}
63 inline AssociateCustomDomainResult& WithServiceArn(const char* value) { SetServiceArn(value); return *this;}
65
67
70 inline const CustomDomain& GetCustomDomain() const{ return m_customDomain; }
71 inline void SetCustomDomain(const CustomDomain& value) { m_customDomain = value; }
72 inline void SetCustomDomain(CustomDomain&& value) { m_customDomain = std::move(value); }
73 inline AssociateCustomDomainResult& WithCustomDomain(const CustomDomain& value) { SetCustomDomain(value); return *this;}
74 inline AssociateCustomDomainResult& WithCustomDomain(CustomDomain&& value) { SetCustomDomain(std::move(value)); return *this;}
76
78
81 inline const Aws::Vector<VpcDNSTarget>& GetVpcDNSTargets() const{ return m_vpcDNSTargets; }
82 inline void SetVpcDNSTargets(const Aws::Vector<VpcDNSTarget>& value) { m_vpcDNSTargets = value; }
83 inline void SetVpcDNSTargets(Aws::Vector<VpcDNSTarget>&& value) { m_vpcDNSTargets = std::move(value); }
86 inline AssociateCustomDomainResult& AddVpcDNSTargets(const VpcDNSTarget& value) { m_vpcDNSTargets.push_back(value); return *this; }
87 inline AssociateCustomDomainResult& AddVpcDNSTargets(VpcDNSTarget&& value) { m_vpcDNSTargets.push_back(std::move(value)); return *this; }
89
91
92 inline const Aws::String& GetRequestId() const{ return m_requestId; }
93 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
94 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
95 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
96 inline AssociateCustomDomainResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
97 inline AssociateCustomDomainResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
98 inline AssociateCustomDomainResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
100 private:
101
102 Aws::String m_dNSTarget;
103
104 Aws::String m_serviceArn;
105
106 CustomDomain m_customDomain;
107
108 Aws::Vector<VpcDNSTarget> m_vpcDNSTargets;
109
110 Aws::String m_requestId;
111 };
112
113} // namespace Model
114} // namespace AppRunner
115} // namespace Aws
AssociateCustomDomainResult & WithVpcDNSTargets(const Aws::Vector< VpcDNSTarget > &value)
AWS_APPRUNNER_API AssociateCustomDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateCustomDomainResult & AddVpcDNSTargets(VpcDNSTarget &&value)
AssociateCustomDomainResult & WithServiceArn(const Aws::String &value)
const Aws::Vector< VpcDNSTarget > & GetVpcDNSTargets() const
AssociateCustomDomainResult & WithCustomDomain(CustomDomain &&value)
AWS_APPRUNNER_API AssociateCustomDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateCustomDomainResult & WithDNSTarget(const Aws::String &value)
AssociateCustomDomainResult & WithDNSTarget(Aws::String &&value)
AssociateCustomDomainResult & AddVpcDNSTargets(const VpcDNSTarget &value)
AssociateCustomDomainResult & WithServiceArn(Aws::String &&value)
AssociateCustomDomainResult & WithRequestId(const Aws::String &value)
AssociateCustomDomainResult & WithDNSTarget(const char *value)
AssociateCustomDomainResult & WithVpcDNSTargets(Aws::Vector< VpcDNSTarget > &&value)
void SetVpcDNSTargets(const Aws::Vector< VpcDNSTarget > &value)
AssociateCustomDomainResult & WithRequestId(const char *value)
AssociateCustomDomainResult & WithCustomDomain(const CustomDomain &value)
AssociateCustomDomainResult & WithServiceArn(const char *value)
void SetVpcDNSTargets(Aws::Vector< VpcDNSTarget > &&value)
AssociateCustomDomainResult & WithRequestId(Aws::String &&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