AWS SDK for C++  1.9.102
AWS SDK for C++
RegisterDomainRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/swf/SWF_EXPORTS.h>
8 #include <aws/swf/SWFRequest.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace SWF
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "RegisterDomain"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
47  inline const Aws::String& GetName() const{ return m_name; }
48 
57  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 
67  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
68 
77  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 
87  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
88 
97  inline RegisterDomainRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
98 
107  inline RegisterDomainRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
108 
117  inline RegisterDomainRequest& WithName(const char* value) { SetName(value); return *this;}
118 
119 
123  inline const Aws::String& GetDescription() const{ return m_description; }
124 
128  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
129 
133  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
134 
138  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
139 
143  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
144 
148  inline RegisterDomainRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
149 
153  inline RegisterDomainRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
154 
158  inline RegisterDomainRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
159 
160 
173  inline const Aws::String& GetWorkflowExecutionRetentionPeriodInDays() const{ return m_workflowExecutionRetentionPeriodInDays; }
174 
187  inline bool WorkflowExecutionRetentionPeriodInDaysHasBeenSet() const { return m_workflowExecutionRetentionPeriodInDaysHasBeenSet; }
188 
201  inline void SetWorkflowExecutionRetentionPeriodInDays(const Aws::String& value) { m_workflowExecutionRetentionPeriodInDaysHasBeenSet = true; m_workflowExecutionRetentionPeriodInDays = value; }
202 
215  inline void SetWorkflowExecutionRetentionPeriodInDays(Aws::String&& value) { m_workflowExecutionRetentionPeriodInDaysHasBeenSet = true; m_workflowExecutionRetentionPeriodInDays = std::move(value); }
216 
229  inline void SetWorkflowExecutionRetentionPeriodInDays(const char* value) { m_workflowExecutionRetentionPeriodInDaysHasBeenSet = true; m_workflowExecutionRetentionPeriodInDays.assign(value); }
230 
243  inline RegisterDomainRequest& WithWorkflowExecutionRetentionPeriodInDays(const Aws::String& value) { SetWorkflowExecutionRetentionPeriodInDays(value); return *this;}
244 
257  inline RegisterDomainRequest& WithWorkflowExecutionRetentionPeriodInDays(Aws::String&& value) { SetWorkflowExecutionRetentionPeriodInDays(std::move(value)); return *this;}
258 
271  inline RegisterDomainRequest& WithWorkflowExecutionRetentionPeriodInDays(const char* value) { SetWorkflowExecutionRetentionPeriodInDays(value); return *this;}
272 
273 
279  inline const Aws::Vector<ResourceTag>& GetTags() const{ return m_tags; }
280 
286  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
287 
293  inline void SetTags(const Aws::Vector<ResourceTag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
294 
300  inline void SetTags(Aws::Vector<ResourceTag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
301 
307  inline RegisterDomainRequest& WithTags(const Aws::Vector<ResourceTag>& value) { SetTags(value); return *this;}
308 
314  inline RegisterDomainRequest& WithTags(Aws::Vector<ResourceTag>&& value) { SetTags(std::move(value)); return *this;}
315 
321  inline RegisterDomainRequest& AddTags(const ResourceTag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
322 
328  inline RegisterDomainRequest& AddTags(ResourceTag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
329 
330  private:
331 
332  Aws::String m_name;
333  bool m_nameHasBeenSet;
334 
335  Aws::String m_description;
336  bool m_descriptionHasBeenSet;
337 
338  Aws::String m_workflowExecutionRetentionPeriodInDays;
339  bool m_workflowExecutionRetentionPeriodInDaysHasBeenSet;
340 
342  bool m_tagsHasBeenSet;
343  };
344 
345 } // namespace Model
346 } // namespace SWF
347 } // namespace Aws
Aws::SWF::Model::RegisterDomainRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SWF::Model::RegisterDomainRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: RegisterDomainRequest.h:286
Aws::SWF::Model::RegisterDomainRequest::SetWorkflowExecutionRetentionPeriodInDays
void SetWorkflowExecutionRetentionPeriodInDays(const char *value)
Definition: RegisterDomainRequest.h:229
Aws::SWF::Model::RegisterDomainRequest::RegisterDomainRequest
RegisterDomainRequest()
SWFRequest.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SWF::Model::RegisterDomainRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: RegisterDomainRequest.h:57
Aws::SWF::Model::RegisterDomainRequest::SetWorkflowExecutionRetentionPeriodInDays
void SetWorkflowExecutionRetentionPeriodInDays(const Aws::String &value)
Definition: RegisterDomainRequest.h:201
Aws::SWF::Model::RegisterDomainRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: RegisterDomainRequest.h:138
Aws::SWF::Model::RegisterDomainRequest::SetDescription
void SetDescription(const char *value)
Definition: RegisterDomainRequest.h:143
Aws::SWF::SWFRequest
Definition: SWFRequest.h:17
Aws::SWF::Model::RegisterDomainRequest::SetTags
void SetTags(Aws::Vector< ResourceTag > &&value)
Definition: RegisterDomainRequest.h:300
Aws::SWF::Model::RegisterDomainRequest::WithName
RegisterDomainRequest & WithName(const Aws::String &value)
Definition: RegisterDomainRequest.h:97
Aws::SWF::Model::RegisterDomainRequest::WithDescription
RegisterDomainRequest & WithDescription(const Aws::String &value)
Definition: RegisterDomainRequest.h:148
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SWF::Model::RegisterDomainRequest::GetTags
const Aws::Vector< ResourceTag > & GetTags() const
Definition: RegisterDomainRequest.h:279
AWSVector.h
Aws::SWF::Model::RegisterDomainRequest::WithWorkflowExecutionRetentionPeriodInDays
RegisterDomainRequest & WithWorkflowExecutionRetentionPeriodInDays(const Aws::String &value)
Definition: RegisterDomainRequest.h:243
Aws::SWF::Model::RegisterDomainRequest::WithName
RegisterDomainRequest & WithName(Aws::String &&value)
Definition: RegisterDomainRequest.h:107
Aws::SWF::Model::RegisterDomainRequest::SetWorkflowExecutionRetentionPeriodInDays
void SetWorkflowExecutionRetentionPeriodInDays(Aws::String &&value)
Definition: RegisterDomainRequest.h:215
SWF_EXPORTS.h
Aws::SWF::Model::RegisterDomainRequest::WithWorkflowExecutionRetentionPeriodInDays
RegisterDomainRequest & WithWorkflowExecutionRetentionPeriodInDays(Aws::String &&value)
Definition: RegisterDomainRequest.h:257
ResourceTag.h
Aws::DevOpsGuru::Model::ServiceName::NOT_SET
@ NOT_SET
Aws::SWF::Model::RegisterDomainRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: RegisterDomainRequest.h:133
Aws::SWF::Model::RegisterDomainRequest::SetName
void SetName(const char *value)
Definition: RegisterDomainRequest.h:87
Aws::SWF::Model::ResourceTag
Definition: ResourceTag.h:35
Aws::SWF::Model::RegisterDomainRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: RegisterDomainRequest.h:128
Aws::SWF::Model::RegisterDomainRequest::WithDescription
RegisterDomainRequest & WithDescription(const char *value)
Definition: RegisterDomainRequest.h:158
Aws::SWF::Model::RegisterDomainRequest::WithName
RegisterDomainRequest & WithName(const char *value)
Definition: RegisterDomainRequest.h:117
Aws::SWF::Model::RegisterDomainRequest::SetTags
void SetTags(const Aws::Vector< ResourceTag > &value)
Definition: RegisterDomainRequest.h:293
AWSString.h
Aws::SWF::Model::RegisterDomainRequest::GetWorkflowExecutionRetentionPeriodInDays
const Aws::String & GetWorkflowExecutionRetentionPeriodInDays() const
Definition: RegisterDomainRequest.h:173
Aws::SWF::Model::RegisterDomainRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RegisterDomainRequest.h:32
Aws::SWF::Model::RegisterDomainRequest::GetName
const Aws::String & GetName() const
Definition: RegisterDomainRequest.h:47
Aws::SWF::Model::RegisterDomainRequest::WithTags
RegisterDomainRequest & WithTags(const Aws::Vector< ResourceTag > &value)
Definition: RegisterDomainRequest.h:307
Aws
Definition: AccessManagementClient.h:15
Aws::SWF::Model::RegisterDomainRequest::AddTags
RegisterDomainRequest & AddTags(ResourceTag &&value)
Definition: RegisterDomainRequest.h:328
Aws::SWF::Model::RegisterDomainRequest
Definition: RegisterDomainRequest.h:24
Aws::SWF::Model::RegisterDomainRequest::WorkflowExecutionRetentionPeriodInDaysHasBeenSet
bool WorkflowExecutionRetentionPeriodInDaysHasBeenSet() const
Definition: RegisterDomainRequest.h:187
AWS_SWF_API
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:28
Aws::SWF::Model::RegisterDomainRequest::WithDescription
RegisterDomainRequest & WithDescription(Aws::String &&value)
Definition: RegisterDomainRequest.h:153
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SWF::Model::RegisterDomainRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SWF::Model::RegisterDomainRequest::WithTags
RegisterDomainRequest & WithTags(Aws::Vector< ResourceTag > &&value)
Definition: RegisterDomainRequest.h:314
Aws::SWF::Model::RegisterDomainRequest::WithWorkflowExecutionRetentionPeriodInDays
RegisterDomainRequest & WithWorkflowExecutionRetentionPeriodInDays(const char *value)
Definition: RegisterDomainRequest.h:271
Aws::SWF::Model::RegisterDomainRequest::AddTags
RegisterDomainRequest & AddTags(const ResourceTag &value)
Definition: RegisterDomainRequest.h:321
Aws::SWF::Model::RegisterDomainRequest::SetName
void SetName(const Aws::String &value)
Definition: RegisterDomainRequest.h:67
Aws::SWF::Model::RegisterDomainRequest::GetDescription
const Aws::String & GetDescription() const
Definition: RegisterDomainRequest.h:123
Aws::SWF::Model::RegisterDomainRequest::SetName
void SetName(Aws::String &&value)
Definition: RegisterDomainRequest.h:77