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

Container for the request parameters to cancel a service software * update.

See Also:

AWS * API Reference

*/ class CancelServiceSoftwareUpdateRequest : public OpenSearchServiceRequest { public: AWS_OPENSEARCHSERVICE_API CancelServiceSoftwareUpdateRequest(); // 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 "CancelServiceSoftwareUpdate"; } AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override; /** *

Name of the OpenSearch Service domain that you want to cancel the service * software update on.

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

Name of the OpenSearch Service domain that you want to cancel the service * software update on.

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

Name of the OpenSearch Service domain that you want to cancel the service * software update on.

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

Name of the OpenSearch Service domain that you want to cancel the service * software update on.

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

Name of the OpenSearch Service domain that you want to cancel the service * software update on.

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

Name of the OpenSearch Service domain that you want to cancel the service * software update on.

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

Name of the OpenSearch Service domain that you want to cancel the service * software update on.

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

Name of the OpenSearch Service domain that you want to cancel the service * software update on.

*/ inline CancelServiceSoftwareUpdateRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws