/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace SWF { namespace Model { /** */ class RegisterDomainRequest : public SWFRequest { public: AWS_SWF_API RegisterDomainRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "RegisterDomain"; } AWS_SWF_API Aws::String SerializePayload() const override; AWS_SWF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Name of the domain to register. The name must be unique in the region that * the domain is registered in.

The specified string must not start or end * with whitespace. It must not contain a : (colon), / * (slash), | (vertical bar), or any control characters * (\u0000-\u001f | \u007f-\u009f). Also, it must * not be the literal string arn.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

Name of the domain to register. The name must be unique in the region that * the domain is registered in.

The specified string must not start or end * with whitespace. It must not contain a : (colon), / * (slash), | (vertical bar), or any control characters * (\u0000-\u001f | \u007f-\u009f). Also, it must * not be the literal string arn.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

Name of the domain to register. The name must be unique in the region that * the domain is registered in.

The specified string must not start or end * with whitespace. It must not contain a : (colon), / * (slash), | (vertical bar), or any control characters * (\u0000-\u001f | \u007f-\u009f). Also, it must * not be the literal string arn.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

Name of the domain to register. The name must be unique in the region that * the domain is registered in.

The specified string must not start or end * with whitespace. It must not contain a : (colon), / * (slash), | (vertical bar), or any control characters * (\u0000-\u001f | \u007f-\u009f). Also, it must * not be the literal string arn.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

Name of the domain to register. The name must be unique in the region that * the domain is registered in.

The specified string must not start or end * with whitespace. It must not contain a : (colon), / * (slash), | (vertical bar), or any control characters * (\u0000-\u001f | \u007f-\u009f). Also, it must * not be the literal string arn.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

Name of the domain to register. The name must be unique in the region that * the domain is registered in.

The specified string must not start or end * with whitespace. It must not contain a : (colon), / * (slash), | (vertical bar), or any control characters * (\u0000-\u001f | \u007f-\u009f). Also, it must * not be the literal string arn.

*/ inline RegisterDomainRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

Name of the domain to register. The name must be unique in the region that * the domain is registered in.

The specified string must not start or end * with whitespace. It must not contain a : (colon), / * (slash), | (vertical bar), or any control characters * (\u0000-\u001f | \u007f-\u009f). Also, it must * not be the literal string arn.

*/ inline RegisterDomainRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

Name of the domain to register. The name must be unique in the region that * the domain is registered in.

The specified string must not start or end * with whitespace. It must not contain a : (colon), / * (slash), | (vertical bar), or any control characters * (\u0000-\u001f | \u007f-\u009f). Also, it must * not be the literal string arn.

*/ inline RegisterDomainRequest& WithName(const char* value) { SetName(value); return *this;} /** *

A text description of the domain.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A text description of the domain.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A text description of the domain.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A text description of the domain.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A text description of the domain.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A text description of the domain.

*/ inline RegisterDomainRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A text description of the domain.

*/ inline RegisterDomainRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A text description of the domain.

*/ inline RegisterDomainRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The duration (in days) that records and histories of workflow executions on * the domain should be kept by the service. After the retention period, the * workflow execution isn't available in the results of visibility calls.

If * you pass the value NONE or 0 (zero), then the workflow * execution history isn't retained. As soon as the workflow execution completes, * the execution record and its history are deleted.

The maximum workflow * execution retention period is 90 days. For more information about Amazon SWF * service limits, see: Amazon * SWF Service Limits in the Amazon SWF Developer Guide.

*/ inline const Aws::String& GetWorkflowExecutionRetentionPeriodInDays() const{ return m_workflowExecutionRetentionPeriodInDays; } /** *

The duration (in days) that records and histories of workflow executions on * the domain should be kept by the service. After the retention period, the * workflow execution isn't available in the results of visibility calls.

If * you pass the value NONE or 0 (zero), then the workflow * execution history isn't retained. As soon as the workflow execution completes, * the execution record and its history are deleted.

The maximum workflow * execution retention period is 90 days. For more information about Amazon SWF * service limits, see: Amazon * SWF Service Limits in the Amazon SWF Developer Guide.

*/ inline bool WorkflowExecutionRetentionPeriodInDaysHasBeenSet() const { return m_workflowExecutionRetentionPeriodInDaysHasBeenSet; } /** *

The duration (in days) that records and histories of workflow executions on * the domain should be kept by the service. After the retention period, the * workflow execution isn't available in the results of visibility calls.

If * you pass the value NONE or 0 (zero), then the workflow * execution history isn't retained. As soon as the workflow execution completes, * the execution record and its history are deleted.

The maximum workflow * execution retention period is 90 days. For more information about Amazon SWF * service limits, see: Amazon * SWF Service Limits in the Amazon SWF Developer Guide.

*/ inline void SetWorkflowExecutionRetentionPeriodInDays(const Aws::String& value) { m_workflowExecutionRetentionPeriodInDaysHasBeenSet = true; m_workflowExecutionRetentionPeriodInDays = value; } /** *

The duration (in days) that records and histories of workflow executions on * the domain should be kept by the service. After the retention period, the * workflow execution isn't available in the results of visibility calls.

If * you pass the value NONE or 0 (zero), then the workflow * execution history isn't retained. As soon as the workflow execution completes, * the execution record and its history are deleted.

The maximum workflow * execution retention period is 90 days. For more information about Amazon SWF * service limits, see: Amazon * SWF Service Limits in the Amazon SWF Developer Guide.

*/ inline void SetWorkflowExecutionRetentionPeriodInDays(Aws::String&& value) { m_workflowExecutionRetentionPeriodInDaysHasBeenSet = true; m_workflowExecutionRetentionPeriodInDays = std::move(value); } /** *

The duration (in days) that records and histories of workflow executions on * the domain should be kept by the service. After the retention period, the * workflow execution isn't available in the results of visibility calls.

If * you pass the value NONE or 0 (zero), then the workflow * execution history isn't retained. As soon as the workflow execution completes, * the execution record and its history are deleted.

The maximum workflow * execution retention period is 90 days. For more information about Amazon SWF * service limits, see: Amazon * SWF Service Limits in the Amazon SWF Developer Guide.

*/ inline void SetWorkflowExecutionRetentionPeriodInDays(const char* value) { m_workflowExecutionRetentionPeriodInDaysHasBeenSet = true; m_workflowExecutionRetentionPeriodInDays.assign(value); } /** *

The duration (in days) that records and histories of workflow executions on * the domain should be kept by the service. After the retention period, the * workflow execution isn't available in the results of visibility calls.

If * you pass the value NONE or 0 (zero), then the workflow * execution history isn't retained. As soon as the workflow execution completes, * the execution record and its history are deleted.

The maximum workflow * execution retention period is 90 days. For more information about Amazon SWF * service limits, see: Amazon * SWF Service Limits in the Amazon SWF Developer Guide.

*/ inline RegisterDomainRequest& WithWorkflowExecutionRetentionPeriodInDays(const Aws::String& value) { SetWorkflowExecutionRetentionPeriodInDays(value); return *this;} /** *

The duration (in days) that records and histories of workflow executions on * the domain should be kept by the service. After the retention period, the * workflow execution isn't available in the results of visibility calls.

If * you pass the value NONE or 0 (zero), then the workflow * execution history isn't retained. As soon as the workflow execution completes, * the execution record and its history are deleted.

The maximum workflow * execution retention period is 90 days. For more information about Amazon SWF * service limits, see: Amazon * SWF Service Limits in the Amazon SWF Developer Guide.

*/ inline RegisterDomainRequest& WithWorkflowExecutionRetentionPeriodInDays(Aws::String&& value) { SetWorkflowExecutionRetentionPeriodInDays(std::move(value)); return *this;} /** *

The duration (in days) that records and histories of workflow executions on * the domain should be kept by the service. After the retention period, the * workflow execution isn't available in the results of visibility calls.

If * you pass the value NONE or 0 (zero), then the workflow * execution history isn't retained. As soon as the workflow execution completes, * the execution record and its history are deleted.

The maximum workflow * execution retention period is 90 days. For more information about Amazon SWF * service limits, see: Amazon * SWF Service Limits in the Amazon SWF Developer Guide.

*/ inline RegisterDomainRequest& WithWorkflowExecutionRetentionPeriodInDays(const char* value) { SetWorkflowExecutionRetentionPeriodInDays(value); return *this;} /** *

Tags to be added when registering a domain.

Tags may only contain * unicode letters, digits, whitespace, or these symbols: _ . : / = + - * @.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

Tags to be added when registering a domain.

Tags may only contain * unicode letters, digits, whitespace, or these symbols: _ . : / = + - * @.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Tags to be added when registering a domain.

Tags may only contain * unicode letters, digits, whitespace, or these symbols: _ . : / = + - * @.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Tags to be added when registering a domain.

Tags may only contain * unicode letters, digits, whitespace, or these symbols: _ . : / = + - * @.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Tags to be added when registering a domain.

Tags may only contain * unicode letters, digits, whitespace, or these symbols: _ . : / = + - * @.

*/ inline RegisterDomainRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

Tags to be added when registering a domain.

Tags may only contain * unicode letters, digits, whitespace, or these symbols: _ . : / = + - * @.

*/ inline RegisterDomainRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

Tags to be added when registering a domain.

Tags may only contain * unicode letters, digits, whitespace, or these symbols: _ . : / = + - * @.

*/ inline RegisterDomainRequest& AddTags(const ResourceTag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

Tags to be added when registering a domain.

Tags may only contain * unicode letters, digits, whitespace, or these symbols: _ . : / = + - * @.

*/ inline RegisterDomainRequest& AddTags(ResourceTag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_workflowExecutionRetentionPeriodInDays; bool m_workflowExecutionRetentionPeriodInDaysHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace SWF } // namespace Aws