/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace OpenSearchService { namespace Model { /** */ class DescribeDryRunProgressRequest : public OpenSearchServiceRequest { public: AWS_OPENSEARCHSERVICE_API DescribeDryRunProgressRequest(); // 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 "DescribeDryRunProgress"; } AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override; AWS_OPENSEARCHSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The name of the domain.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

The name of the domain.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

The name of the domain.

*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *

The name of the domain.

*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *

The name of the domain.

*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *

The name of the domain.

*/ inline DescribeDryRunProgressRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

The name of the domain.

*/ inline DescribeDryRunProgressRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

The name of the domain.

*/ inline DescribeDryRunProgressRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

The unique identifier of the dry run.

*/ inline const Aws::String& GetDryRunId() const{ return m_dryRunId; } /** *

The unique identifier of the dry run.

*/ inline bool DryRunIdHasBeenSet() const { return m_dryRunIdHasBeenSet; } /** *

The unique identifier of the dry run.

*/ inline void SetDryRunId(const Aws::String& value) { m_dryRunIdHasBeenSet = true; m_dryRunId = value; } /** *

The unique identifier of the dry run.

*/ inline void SetDryRunId(Aws::String&& value) { m_dryRunIdHasBeenSet = true; m_dryRunId = std::move(value); } /** *

The unique identifier of the dry run.

*/ inline void SetDryRunId(const char* value) { m_dryRunIdHasBeenSet = true; m_dryRunId.assign(value); } /** *

The unique identifier of the dry run.

*/ inline DescribeDryRunProgressRequest& WithDryRunId(const Aws::String& value) { SetDryRunId(value); return *this;} /** *

The unique identifier of the dry run.

*/ inline DescribeDryRunProgressRequest& WithDryRunId(Aws::String&& value) { SetDryRunId(std::move(value)); return *this;} /** *

The unique identifier of the dry run.

*/ inline DescribeDryRunProgressRequest& WithDryRunId(const char* value) { SetDryRunId(value); return *this;} /** *

Whether to include the configuration of the dry run in the response. The * configuration specifies the updates that you're planning to make on the * domain.

*/ inline bool GetLoadDryRunConfig() const{ return m_loadDryRunConfig; } /** *

Whether to include the configuration of the dry run in the response. The * configuration specifies the updates that you're planning to make on the * domain.

*/ inline bool LoadDryRunConfigHasBeenSet() const { return m_loadDryRunConfigHasBeenSet; } /** *

Whether to include the configuration of the dry run in the response. The * configuration specifies the updates that you're planning to make on the * domain.

*/ inline void SetLoadDryRunConfig(bool value) { m_loadDryRunConfigHasBeenSet = true; m_loadDryRunConfig = value; } /** *

Whether to include the configuration of the dry run in the response. The * configuration specifies the updates that you're planning to make on the * domain.

*/ inline DescribeDryRunProgressRequest& WithLoadDryRunConfig(bool value) { SetLoadDryRunConfig(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_dryRunId; bool m_dryRunIdHasBeenSet = false; bool m_loadDryRunConfig; bool m_loadDryRunConfigHasBeenSet = false; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws