AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CheckDomainAvailabilityResult.h
1
6#pragma once
7#include <aws/route53domains/Route53Domains_EXPORTS.h>
8#include <aws/route53domains/model/DomainAvailability.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Route53Domains
25{
26namespace Model
27{
35 {
36 public:
37 AWS_ROUTE53DOMAINS_API CheckDomainAvailabilityResult();
40
41
43
64 inline const DomainAvailability& GetAvailability() const{ return m_availability; }
65 inline void SetAvailability(const DomainAvailability& value) { m_availability = value; }
66 inline void SetAvailability(DomainAvailability&& value) { m_availability = std::move(value); }
68 inline CheckDomainAvailabilityResult& WithAvailability(DomainAvailability&& value) { SetAvailability(std::move(value)); return *this;}
70
72
73 inline const Aws::String& GetRequestId() const{ return m_requestId; }
74 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
75 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
76 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
77 inline CheckDomainAvailabilityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
78 inline CheckDomainAvailabilityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
79 inline CheckDomainAvailabilityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
81 private:
82
83 DomainAvailability m_availability;
84
85 Aws::String m_requestId;
86 };
87
88} // namespace Model
89} // namespace Route53Domains
90} // namespace Aws
CheckDomainAvailabilityResult & WithRequestId(const char *value)
CheckDomainAvailabilityResult & WithRequestId(Aws::String &&value)
AWS_ROUTE53DOMAINS_API CheckDomainAvailabilityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ROUTE53DOMAINS_API CheckDomainAvailabilityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CheckDomainAvailabilityResult & WithRequestId(const Aws::String &value)
CheckDomainAvailabilityResult & WithAvailability(const DomainAvailability &value)
CheckDomainAvailabilityResult & WithAvailability(DomainAvailability &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue