1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/route53domains/Route53Domains_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSString.h>
9 #include <aws/route53domains/model/ReachabilityStatus.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21   class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Route53Domains
25 {
26 namespace Model
27 {
28   class AWS_ROUTE53DOMAINS_API GetContactReachabilityStatusResult
29   {
30   public:
31     GetContactReachabilityStatusResult();
32     GetContactReachabilityStatusResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
33     GetContactReachabilityStatusResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
34 
35 
36     /**
37      * <p>The domain name for which you requested the reachability status.</p>
38      */
GetDomainName()39     inline const Aws::String& GetDomainName() const{ return m_domainName; }
40 
41     /**
42      * <p>The domain name for which you requested the reachability status.</p>
43      */
SetDomainName(const Aws::String & value)44     inline void SetDomainName(const Aws::String& value) { m_domainName = value; }
45 
46     /**
47      * <p>The domain name for which you requested the reachability status.</p>
48      */
SetDomainName(Aws::String && value)49     inline void SetDomainName(Aws::String&& value) { m_domainName = std::move(value); }
50 
51     /**
52      * <p>The domain name for which you requested the reachability status.</p>
53      */
SetDomainName(const char * value)54     inline void SetDomainName(const char* value) { m_domainName.assign(value); }
55 
56     /**
57      * <p>The domain name for which you requested the reachability status.</p>
58      */
WithDomainName(const Aws::String & value)59     inline GetContactReachabilityStatusResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
60 
61     /**
62      * <p>The domain name for which you requested the reachability status.</p>
63      */
WithDomainName(Aws::String && value)64     inline GetContactReachabilityStatusResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
65 
66     /**
67      * <p>The domain name for which you requested the reachability status.</p>
68      */
WithDomainName(const char * value)69     inline GetContactReachabilityStatusResult& WithDomainName(const char* value) { SetDomainName(value); return *this;}
70 
71 
72     /**
73      * <p>Whether the registrant contact has responded. Values include the
74      * following:</p> <dl> <dt>PENDING</dt> <dd> <p>We sent the confirmation email and
75      * haven't received a response yet.</p> </dd> <dt>DONE</dt> <dd> <p>We sent the
76      * email and got confirmation from the registrant contact.</p> </dd>
77      * <dt>EXPIRED</dt> <dd> <p>The time limit expired before the registrant contact
78      * responded.</p> </dd> </dl>
79      */
GetStatus()80     inline const ReachabilityStatus& GetStatus() const{ return m_status; }
81 
82     /**
83      * <p>Whether the registrant contact has responded. Values include the
84      * following:</p> <dl> <dt>PENDING</dt> <dd> <p>We sent the confirmation email and
85      * haven't received a response yet.</p> </dd> <dt>DONE</dt> <dd> <p>We sent the
86      * email and got confirmation from the registrant contact.</p> </dd>
87      * <dt>EXPIRED</dt> <dd> <p>The time limit expired before the registrant contact
88      * responded.</p> </dd> </dl>
89      */
SetStatus(const ReachabilityStatus & value)90     inline void SetStatus(const ReachabilityStatus& value) { m_status = value; }
91 
92     /**
93      * <p>Whether the registrant contact has responded. Values include the
94      * following:</p> <dl> <dt>PENDING</dt> <dd> <p>We sent the confirmation email and
95      * haven't received a response yet.</p> </dd> <dt>DONE</dt> <dd> <p>We sent the
96      * email and got confirmation from the registrant contact.</p> </dd>
97      * <dt>EXPIRED</dt> <dd> <p>The time limit expired before the registrant contact
98      * responded.</p> </dd> </dl>
99      */
SetStatus(ReachabilityStatus && value)100     inline void SetStatus(ReachabilityStatus&& value) { m_status = std::move(value); }
101 
102     /**
103      * <p>Whether the registrant contact has responded. Values include the
104      * following:</p> <dl> <dt>PENDING</dt> <dd> <p>We sent the confirmation email and
105      * haven't received a response yet.</p> </dd> <dt>DONE</dt> <dd> <p>We sent the
106      * email and got confirmation from the registrant contact.</p> </dd>
107      * <dt>EXPIRED</dt> <dd> <p>The time limit expired before the registrant contact
108      * responded.</p> </dd> </dl>
109      */
WithStatus(const ReachabilityStatus & value)110     inline GetContactReachabilityStatusResult& WithStatus(const ReachabilityStatus& value) { SetStatus(value); return *this;}
111 
112     /**
113      * <p>Whether the registrant contact has responded. Values include the
114      * following:</p> <dl> <dt>PENDING</dt> <dd> <p>We sent the confirmation email and
115      * haven't received a response yet.</p> </dd> <dt>DONE</dt> <dd> <p>We sent the
116      * email and got confirmation from the registrant contact.</p> </dd>
117      * <dt>EXPIRED</dt> <dd> <p>The time limit expired before the registrant contact
118      * responded.</p> </dd> </dl>
119      */
WithStatus(ReachabilityStatus && value)120     inline GetContactReachabilityStatusResult& WithStatus(ReachabilityStatus&& value) { SetStatus(std::move(value)); return *this;}
121 
122   private:
123 
124     Aws::String m_domainName;
125 
126     ReachabilityStatus m_status;
127   };
128 
129 } // namespace Model
130 } // namespace Route53Domains
131 } // namespace Aws
132