AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegisterDomainRequest.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/swf/SWFRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/swf/model/ResourceTag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SWF
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SWF_API RegisterDomainRequest();
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_SWF_API Aws::String SerializePayload() const override;
35
37
38
40
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline RegisterDomainRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline RegisterDomainRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline RegisterDomainRequest& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::String& GetDescription() const{ return m_description; }
63 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
64 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
65 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
66 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
67 inline RegisterDomainRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
68 inline RegisterDomainRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
69 inline RegisterDomainRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
71
73
85 inline const Aws::String& GetWorkflowExecutionRetentionPeriodInDays() const{ return m_workflowExecutionRetentionPeriodInDays; }
86 inline bool WorkflowExecutionRetentionPeriodInDaysHasBeenSet() const { return m_workflowExecutionRetentionPeriodInDaysHasBeenSet; }
87 inline void SetWorkflowExecutionRetentionPeriodInDays(const Aws::String& value) { m_workflowExecutionRetentionPeriodInDaysHasBeenSet = true; m_workflowExecutionRetentionPeriodInDays = value; }
88 inline void SetWorkflowExecutionRetentionPeriodInDays(Aws::String&& value) { m_workflowExecutionRetentionPeriodInDaysHasBeenSet = true; m_workflowExecutionRetentionPeriodInDays = std::move(value); }
89 inline void SetWorkflowExecutionRetentionPeriodInDays(const char* value) { m_workflowExecutionRetentionPeriodInDaysHasBeenSet = true; m_workflowExecutionRetentionPeriodInDays.assign(value); }
94
96
101 inline const Aws::Vector<ResourceTag>& GetTags() const{ return m_tags; }
102 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
103 inline void SetTags(const Aws::Vector<ResourceTag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
104 inline void SetTags(Aws::Vector<ResourceTag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
105 inline RegisterDomainRequest& WithTags(const Aws::Vector<ResourceTag>& value) { SetTags(value); return *this;}
106 inline RegisterDomainRequest& WithTags(Aws::Vector<ResourceTag>&& value) { SetTags(std::move(value)); return *this;}
107 inline RegisterDomainRequest& AddTags(const ResourceTag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
108 inline RegisterDomainRequest& AddTags(ResourceTag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
110 private:
111
112 Aws::String m_name;
113 bool m_nameHasBeenSet = false;
114
115 Aws::String m_description;
116 bool m_descriptionHasBeenSet = false;
117
118 Aws::String m_workflowExecutionRetentionPeriodInDays;
119 bool m_workflowExecutionRetentionPeriodInDaysHasBeenSet = false;
120
122 bool m_tagsHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace SWF
127} // namespace Aws
const Aws::Vector< ResourceTag > & GetTags() const
void SetWorkflowExecutionRetentionPeriodInDays(const Aws::String &value)
RegisterDomainRequest & WithDescription(const char *value)
RegisterDomainRequest & WithWorkflowExecutionRetentionPeriodInDays(const char *value)
void SetWorkflowExecutionRetentionPeriodInDays(Aws::String &&value)
RegisterDomainRequest & WithName(Aws::String &&value)
void SetTags(Aws::Vector< ResourceTag > &&value)
AWS_SWF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetName(const Aws::String &value)
RegisterDomainRequest & WithDescription(const Aws::String &value)
void SetWorkflowExecutionRetentionPeriodInDays(const char *value)
AWS_SWF_API Aws::String SerializePayload() const override
RegisterDomainRequest & WithWorkflowExecutionRetentionPeriodInDays(const Aws::String &value)
RegisterDomainRequest & WithName(const char *value)
RegisterDomainRequest & WithTags(Aws::Vector< ResourceTag > &&value)
RegisterDomainRequest & WithName(const Aws::String &value)
RegisterDomainRequest & AddTags(ResourceTag &&value)
RegisterDomainRequest & AddTags(const ResourceTag &value)
RegisterDomainRequest & WithWorkflowExecutionRetentionPeriodInDays(Aws::String &&value)
const Aws::String & GetWorkflowExecutionRetentionPeriodInDays() const
RegisterDomainRequest & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
RegisterDomainRequest & WithTags(const Aws::Vector< ResourceTag > &value)
virtual const char * GetServiceRequestName() const override
void SetTags(const Aws::Vector< ResourceTag > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector