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 <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 Route53Domains
24 {
25 namespace Model
26 {
27   class AWS_ROUTE53DOMAINS_API RenewDomainResult
28   {
29   public:
30     RenewDomainResult();
31     RenewDomainResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
32     RenewDomainResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
33 
34 
35     /**
36      * <p>Identifier for tracking the progress of the request. To query the operation
37      * status, use <a
38      * href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
39      */
GetOperationId()40     inline const Aws::String& GetOperationId() const{ return m_operationId; }
41 
42     /**
43      * <p>Identifier for tracking the progress of the request. To query the operation
44      * status, use <a
45      * href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
46      */
SetOperationId(const Aws::String & value)47     inline void SetOperationId(const Aws::String& value) { m_operationId = value; }
48 
49     /**
50      * <p>Identifier for tracking the progress of the request. To query the operation
51      * status, use <a
52      * href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
53      */
SetOperationId(Aws::String && value)54     inline void SetOperationId(Aws::String&& value) { m_operationId = std::move(value); }
55 
56     /**
57      * <p>Identifier for tracking the progress of the request. To query the operation
58      * status, use <a
59      * href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
60      */
SetOperationId(const char * value)61     inline void SetOperationId(const char* value) { m_operationId.assign(value); }
62 
63     /**
64      * <p>Identifier for tracking the progress of the request. To query the operation
65      * status, use <a
66      * href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
67      */
WithOperationId(const Aws::String & value)68     inline RenewDomainResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
69 
70     /**
71      * <p>Identifier for tracking the progress of the request. To query the operation
72      * status, use <a
73      * href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
74      */
WithOperationId(Aws::String && value)75     inline RenewDomainResult& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
76 
77     /**
78      * <p>Identifier for tracking the progress of the request. To query the operation
79      * status, use <a
80      * href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
81      */
WithOperationId(const char * value)82     inline RenewDomainResult& WithOperationId(const char* value) { SetOperationId(value); return *this;}
83 
84   private:
85 
86     Aws::String m_operationId;
87   };
88 
89 } // namespace Model
90 } // namespace Route53Domains
91 } // namespace Aws
92