/** * 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 ElasticsearchService { namespace Model { /** *

Container for the parameters to the DescribeDomainChangeProgress * operation. Specifies the domain name and optional change specific identity for * which you want progress information.

See Also:

AWS * API Reference

*/ class DescribeDomainChangeProgressRequest : public ElasticsearchServiceRequest { public: AWS_ELASTICSEARCHSERVICE_API DescribeDomainChangeProgressRequest(); // 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 "DescribeDomainChangeProgress"; } AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override; AWS_ELASTICSEARCHSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The domain you want to get the progress information about.

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

The domain you want to get the progress information about.

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

The domain you want to get the progress information about.

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

The domain you want to get the progress information about.

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

The domain you want to get the progress information about.

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

The domain you want to get the progress information about.

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

The domain you want to get the progress information about.

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

The domain you want to get the progress information about.

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

The specific change ID for which you want to get progress information. This * is an optional parameter. If omitted, the service returns information about the * most recent configuration change.

*/ inline const Aws::String& GetChangeId() const{ return m_changeId; } /** *

The specific change ID for which you want to get progress information. This * is an optional parameter. If omitted, the service returns information about the * most recent configuration change.

*/ inline bool ChangeIdHasBeenSet() const { return m_changeIdHasBeenSet; } /** *

The specific change ID for which you want to get progress information. This * is an optional parameter. If omitted, the service returns information about the * most recent configuration change.

*/ inline void SetChangeId(const Aws::String& value) { m_changeIdHasBeenSet = true; m_changeId = value; } /** *

The specific change ID for which you want to get progress information. This * is an optional parameter. If omitted, the service returns information about the * most recent configuration change.

*/ inline void SetChangeId(Aws::String&& value) { m_changeIdHasBeenSet = true; m_changeId = std::move(value); } /** *

The specific change ID for which you want to get progress information. This * is an optional parameter. If omitted, the service returns information about the * most recent configuration change.

*/ inline void SetChangeId(const char* value) { m_changeIdHasBeenSet = true; m_changeId.assign(value); } /** *

The specific change ID for which you want to get progress information. This * is an optional parameter. If omitted, the service returns information about the * most recent configuration change.

*/ inline DescribeDomainChangeProgressRequest& WithChangeId(const Aws::String& value) { SetChangeId(value); return *this;} /** *

The specific change ID for which you want to get progress information. This * is an optional parameter. If omitted, the service returns information about the * most recent configuration change.

*/ inline DescribeDomainChangeProgressRequest& WithChangeId(Aws::String&& value) { SetChangeId(std::move(value)); return *this;} /** *

The specific change ID for which you want to get progress information. This * is an optional parameter. If omitted, the service returns information about the * most recent configuration change.

*/ inline DescribeDomainChangeProgressRequest& WithChangeId(const char* value) { SetChangeId(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_changeId; bool m_changeIdHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws