AWS SDK for C++  0.14.3
AWS SDK for C++
RegisterDomainRequest.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
16 #include <aws/swf/SWF_EXPORTS.h>
17 #include <aws/swf/SWFRequest.h>
19 
20 namespace Aws
21 {
22 namespace SWF
23 {
24 namespace Model
25 {
26 
30  {
31  public:
33  Aws::String SerializePayload() const override;
34 
35  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
65  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = value; }
66 
75  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
76 
85  inline RegisterDomainRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
86 
95  inline RegisterDomainRequest& WithName(Aws::String&& value) { SetName(value); return *this;}
96 
105  inline RegisterDomainRequest& WithName(const char* value) { SetName(value); return *this;}
106 
110  inline const Aws::String& GetDescription() const{ return m_description; }
111 
115  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
116 
120  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = value; }
121 
125  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
126 
130  inline RegisterDomainRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
131 
135  inline RegisterDomainRequest& WithDescription(Aws::String&& value) { SetDescription(value); return *this;}
136 
140  inline RegisterDomainRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
141 
154  inline const Aws::String& GetWorkflowExecutionRetentionPeriodInDays() const{ return m_workflowExecutionRetentionPeriodInDays; }
155 
168  inline void SetWorkflowExecutionRetentionPeriodInDays(const Aws::String& value) { m_workflowExecutionRetentionPeriodInDaysHasBeenSet = true; m_workflowExecutionRetentionPeriodInDays = value; }
169 
182  inline void SetWorkflowExecutionRetentionPeriodInDays(Aws::String&& value) { m_workflowExecutionRetentionPeriodInDaysHasBeenSet = true; m_workflowExecutionRetentionPeriodInDays = value; }
183 
196  inline void SetWorkflowExecutionRetentionPeriodInDays(const char* value) { m_workflowExecutionRetentionPeriodInDaysHasBeenSet = true; m_workflowExecutionRetentionPeriodInDays.assign(value); }
197 
210  inline RegisterDomainRequest& WithWorkflowExecutionRetentionPeriodInDays(const Aws::String& value) { SetWorkflowExecutionRetentionPeriodInDays(value); return *this;}
211 
224  inline RegisterDomainRequest& WithWorkflowExecutionRetentionPeriodInDays(Aws::String&& value) { SetWorkflowExecutionRetentionPeriodInDays(value); return *this;}
225 
238  inline RegisterDomainRequest& WithWorkflowExecutionRetentionPeriodInDays(const char* value) { SetWorkflowExecutionRetentionPeriodInDays(value); return *this;}
239 
240  private:
241  Aws::String m_name;
242  bool m_nameHasBeenSet;
243  Aws::String m_description;
244  bool m_descriptionHasBeenSet;
245  Aws::String m_workflowExecutionRetentionPeriodInDays;
246  bool m_workflowExecutionRetentionPeriodInDaysHasBeenSet;
247  };
248 
249 } // namespace Model
250 } // namespace SWF
251 } // namespace Aws
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:37
RegisterDomainRequest & WithDescription(const Aws::String &value)
void SetDescription(const Aws::String &value)
RegisterDomainRequest & WithDescription(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
RegisterDomainRequest & WithDescription(const char *value)
void SetName(const Aws::String &value)
const Aws::String & GetDescription() const
const Aws::String & GetWorkflowExecutionRetentionPeriodInDays() const
void SetWorkflowExecutionRetentionPeriodInDays(const Aws::String &value)
void SetWorkflowExecutionRetentionPeriodInDays(const char *value)
RegisterDomainRequest & WithName(const char *value)
RegisterDomainRequest & WithName(const Aws::String &value)
RegisterDomainRequest & WithWorkflowExecutionRetentionPeriodInDays(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RegisterDomainRequest & WithName(Aws::String &&value)
RegisterDomainRequest & WithWorkflowExecutionRetentionPeriodInDays(const Aws::String &value)
void SetWorkflowExecutionRetentionPeriodInDays(Aws::String &&value)
JSON (JavaScript Object Notation).
RegisterDomainRequest & WithWorkflowExecutionRetentionPeriodInDays(Aws::String &&value)