AWS SDK for C++  1.9.104
AWS SDK for C++
GetDomainResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Lightsail
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const Domain& GetDomain() const{ return m_domain; }
40 
45  inline void SetDomain(const Domain& value) { m_domain = value; }
46 
51  inline void SetDomain(Domain&& value) { m_domain = std::move(value); }
52 
57  inline GetDomainResult& WithDomain(const Domain& value) { SetDomain(value); return *this;}
58 
63  inline GetDomainResult& WithDomain(Domain&& value) { SetDomain(std::move(value)); return *this;}
64 
65  private:
66 
67  Domain m_domain;
68  };
69 
70 } // namespace Model
71 } // namespace Lightsail
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Domain.h
Aws::Lightsail::Model::GetDomainResult::GetDomainResult
GetDomainResult()
Aws::Lightsail::Model::GetDomainResult::SetDomain
void SetDomain(const Domain &value)
Definition: GetDomainResult.h:45
Aws::Lightsail::Model::GetDomainResult
Definition: GetDomainResult.h:28
Aws::Lightsail::Model::GetDomainResult::WithDomain
GetDomainResult & WithDomain(Domain &&value)
Definition: GetDomainResult.h:63
Lightsail_EXPORTS.h
Aws::Lightsail::Model::Domain
Definition: Domain.h:38
Aws::Lightsail::Model::GetDomainResult::GetDomain
const Domain & GetDomain() const
Definition: GetDomainResult.h:39
Aws::Lightsail::Model::GetDomainResult::WithDomain
GetDomainResult & WithDomain(const Domain &value)
Definition: GetDomainResult.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::GetDomainResult::SetDomain
void SetDomain(Domain &&value)
Definition: GetDomainResult.h:51
Aws::Lightsail::Model::GetDomainResult::operator=
GetDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::GetDomainResult::GetDomainResult
GetDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28