AWS SDK for C++  0.14.3
AWS SDK for C++
GetOperationDetailResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
21 
22 namespace Aws
23 {
24 template<typename RESULT_TYPE>
25 class AmazonWebServiceResult;
26 
27 namespace Utils
28 {
29 namespace Json
30 {
31  class JsonValue;
32 } // namespace Json
33 } // namespace Utils
34 namespace Route53Domains
35 {
36 namespace Model
37 {
42  {
43  public:
47 
51  inline const Aws::String& GetOperationId() const{ return m_operationId; }
52 
56  inline void SetOperationId(const Aws::String& value) { m_operationId = value; }
57 
61  inline void SetOperationId(Aws::String&& value) { m_operationId = value; }
62 
66  inline void SetOperationId(const char* value) { m_operationId.assign(value); }
67 
71  inline GetOperationDetailResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
72 
76  inline GetOperationDetailResult& WithOperationId(Aws::String&& value) { SetOperationId(value); return *this;}
77 
81  inline GetOperationDetailResult& WithOperationId(const char* value) { SetOperationId(value); return *this;}
82 
87  inline const OperationStatus& GetStatus() const{ return m_status; }
88 
93  inline void SetStatus(const OperationStatus& value) { m_status = value; }
94 
99  inline void SetStatus(OperationStatus&& value) { m_status = value; }
100 
105  inline GetOperationDetailResult& WithStatus(const OperationStatus& value) { SetStatus(value); return *this;}
106 
111  inline GetOperationDetailResult& WithStatus(OperationStatus&& value) { SetStatus(value); return *this;}
112 
117  inline const Aws::String& GetMessage() const{ return m_message; }
118 
123  inline void SetMessage(const Aws::String& value) { m_message = value; }
124 
129  inline void SetMessage(Aws::String&& value) { m_message = value; }
130 
135  inline void SetMessage(const char* value) { m_message.assign(value); }
136 
141  inline GetOperationDetailResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
142 
147  inline GetOperationDetailResult& WithMessage(Aws::String&& value) { SetMessage(value); return *this;}
148 
153  inline GetOperationDetailResult& WithMessage(const char* value) { SetMessage(value); return *this;}
154 
158  inline const Aws::String& GetDomainName() const{ return m_domainName; }
159 
163  inline void SetDomainName(const Aws::String& value) { m_domainName = value; }
164 
168  inline void SetDomainName(Aws::String&& value) { m_domainName = value; }
169 
173  inline void SetDomainName(const char* value) { m_domainName.assign(value); }
174 
178  inline GetOperationDetailResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
179 
183  inline GetOperationDetailResult& WithDomainName(Aws::String&& value) { SetDomainName(value); return *this;}
184 
188  inline GetOperationDetailResult& WithDomainName(const char* value) { SetDomainName(value); return *this;}
189 
193  inline const OperationType& GetType() const{ return m_type; }
194 
198  inline void SetType(const OperationType& value) { m_type = value; }
199 
203  inline void SetType(OperationType&& value) { m_type = value; }
204 
208  inline GetOperationDetailResult& WithType(const OperationType& value) { SetType(value); return *this;}
209 
213  inline GetOperationDetailResult& WithType(OperationType&& value) { SetType(value); return *this;}
214 
218  inline const Aws::Utils::DateTime& GetSubmittedDate() const{ return m_submittedDate; }
219 
223  inline void SetSubmittedDate(const Aws::Utils::DateTime& value) { m_submittedDate = value; }
224 
228  inline void SetSubmittedDate(Aws::Utils::DateTime&& value) { m_submittedDate = value; }
229 
233  inline GetOperationDetailResult& WithSubmittedDate(const Aws::Utils::DateTime& value) { SetSubmittedDate(value); return *this;}
234 
238  inline GetOperationDetailResult& WithSubmittedDate(Aws::Utils::DateTime&& value) { SetSubmittedDate(value); return *this;}
239 
240  private:
241  Aws::String m_operationId;
242  OperationStatus m_status;
243  Aws::String m_message;
244  Aws::String m_domainName;
245  OperationType m_type;
246  Aws::Utils::DateTime m_submittedDate;
247  };
248 
249 } // namespace Model
250 } // namespace Route53Domains
251 } // namespace Aws
GetOperationDetailResult & WithType(const OperationType &value)
GetOperationDetailResult & WithOperationId(const char *value)
GetOperationDetailResult & WithOperationId(const Aws::String &value)
void SetSubmittedDate(const Aws::Utils::DateTime &value)
GetOperationDetailResult & WithSubmittedDate(const Aws::Utils::DateTime &value)
GetOperationDetailResult & WithMessage(const Aws::String &value)
#define AWS_ROUTE53DOMAINS_API
GetOperationDetailResult & WithMessage(Aws::String &&value)
GetOperationDetailResult & WithStatus(const OperationStatus &value)
GetOperationDetailResult & WithDomainName(Aws::String &&value)
GetOperationDetailResult & WithType(OperationType &&value)
GetOperationDetailResult & WithSubmittedDate(Aws::Utils::DateTime &&value)
GetOperationDetailResult & WithOperationId(Aws::String &&value)
GetOperationDetailResult & WithDomainName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetOperationDetailResult & WithDomainName(const char *value)
GetOperationDetailResult & WithStatus(OperationStatus &&value)
GetOperationDetailResult & WithMessage(const char *value)
JSON (JavaScript Object Notation).