/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SWF { namespace Model { /** *

Contains the configuration settings of a domain.

See Also:

* AWS * API Reference

*/ class DomainConfiguration { public: AWS_SWF_API DomainConfiguration(); AWS_SWF_API DomainConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_SWF_API DomainConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The retention period for workflow executions in this domain.

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

The retention period for workflow executions in this domain.

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

The retention period for workflow executions in this domain.

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

The retention period for workflow executions in this domain.

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

The retention period for workflow executions in this domain.

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

The retention period for workflow executions in this domain.

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

The retention period for workflow executions in this domain.

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

The retention period for workflow executions in this domain.

*/ inline DomainConfiguration& WithWorkflowExecutionRetentionPeriodInDays(const char* value) { SetWorkflowExecutionRetentionPeriodInDays(value); return *this;} private: Aws::String m_workflowExecutionRetentionPeriodInDays; bool m_workflowExecutionRetentionPeriodInDaysHasBeenSet = false; }; } // namespace Model } // namespace SWF } // namespace Aws