AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
RegisterDomainRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/swf/SWFRequest.h>
10#include <aws/swf/SWF_EXPORTS.h>
11#include <aws/swf/model/ResourceTag.h>
12
13#include <utility>
14
15namespace Aws {
16namespace SWF {
17namespace Model {
18
22 public:
23 AWS_SWF_API RegisterDomainRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "RegisterDomain"; }
30
31 AWS_SWF_API Aws::String SerializePayload() const override;
32
34
36
44 inline const Aws::String& GetName() const { return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 template <typename NameT = Aws::String>
47 void SetName(NameT&& value) {
48 m_nameHasBeenSet = true;
49 m_name = std::forward<NameT>(value);
50 }
51 template <typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetDescription() const { return m_description; }
63 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
64 template <typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) {
66 m_descriptionHasBeenSet = true;
67 m_description = std::forward<DescriptionT>(value);
68 }
69 template <typename DescriptionT = Aws::String>
70 RegisterDomainRequest& WithDescription(DescriptionT&& value) {
71 SetDescription(std::forward<DescriptionT>(value));
72 return *this;
73 }
75
77
89 inline const Aws::String& GetWorkflowExecutionRetentionPeriodInDays() const { return m_workflowExecutionRetentionPeriodInDays; }
90 inline bool WorkflowExecutionRetentionPeriodInDaysHasBeenSet() const { return m_workflowExecutionRetentionPeriodInDaysHasBeenSet; }
91 template <typename WorkflowExecutionRetentionPeriodInDaysT = Aws::String>
92 void SetWorkflowExecutionRetentionPeriodInDays(WorkflowExecutionRetentionPeriodInDaysT&& value) {
93 m_workflowExecutionRetentionPeriodInDaysHasBeenSet = true;
94 m_workflowExecutionRetentionPeriodInDays = std::forward<WorkflowExecutionRetentionPeriodInDaysT>(value);
95 }
96 template <typename WorkflowExecutionRetentionPeriodInDaysT = Aws::String>
97 RegisterDomainRequest& WithWorkflowExecutionRetentionPeriodInDays(WorkflowExecutionRetentionPeriodInDaysT&& value) {
98 SetWorkflowExecutionRetentionPeriodInDays(std::forward<WorkflowExecutionRetentionPeriodInDaysT>(value));
99 return *this;
100 }
102
104
109 inline const Aws::Vector<ResourceTag>& GetTags() const { return m_tags; }
110 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
111 template <typename TagsT = Aws::Vector<ResourceTag>>
112 void SetTags(TagsT&& value) {
113 m_tagsHasBeenSet = true;
114 m_tags = std::forward<TagsT>(value);
115 }
116 template <typename TagsT = Aws::Vector<ResourceTag>>
118 SetTags(std::forward<TagsT>(value));
119 return *this;
120 }
121 template <typename TagsT = ResourceTag>
123 m_tagsHasBeenSet = true;
124 m_tags.emplace_back(std::forward<TagsT>(value));
125 return *this;
126 }
128 private:
129 Aws::String m_name;
130
131 Aws::String m_description;
132
133 Aws::String m_workflowExecutionRetentionPeriodInDays;
134
136 bool m_nameHasBeenSet = false;
137 bool m_descriptionHasBeenSet = false;
138 bool m_workflowExecutionRetentionPeriodInDaysHasBeenSet = false;
139 bool m_tagsHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace SWF
144} // namespace Aws
const Aws::Vector< ResourceTag > & GetTags() const
RegisterDomainRequest & WithTags(TagsT &&value)
RegisterDomainRequest & WithName(NameT &&value)
AWS_SWF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SWF_API RegisterDomainRequest()=default
AWS_SWF_API Aws::String SerializePayload() const override
void SetWorkflowExecutionRetentionPeriodInDays(WorkflowExecutionRetentionPeriodInDaysT &&value)
RegisterDomainRequest & WithWorkflowExecutionRetentionPeriodInDays(WorkflowExecutionRetentionPeriodInDaysT &&value)
const Aws::String & GetWorkflowExecutionRetentionPeriodInDays() const
RegisterDomainRequest & WithDescription(DescriptionT &&value)
RegisterDomainRequest & AddTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
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