/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Lightsail { namespace Model { /** */ class UpdateDomainEntryRequest : public LightsailRequest { public: AWS_LIGHTSAIL_API UpdateDomainEntryRequest(); // 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 "UpdateDomainEntry"; } AWS_LIGHTSAIL_API Aws::String SerializePayload() const override; AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the domain recordset to update.

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

The name of the domain recordset to update.

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

The name of the domain recordset to update.

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

The name of the domain recordset to update.

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

The name of the domain recordset to update.

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

The name of the domain recordset to update.

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

The name of the domain recordset to update.

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

The name of the domain recordset to update.

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

An array of key-value pairs containing information about the domain * entry.

*/ inline const DomainEntry& GetDomainEntry() const{ return m_domainEntry; } /** *

An array of key-value pairs containing information about the domain * entry.

*/ inline bool DomainEntryHasBeenSet() const { return m_domainEntryHasBeenSet; } /** *

An array of key-value pairs containing information about the domain * entry.

*/ inline void SetDomainEntry(const DomainEntry& value) { m_domainEntryHasBeenSet = true; m_domainEntry = value; } /** *

An array of key-value pairs containing information about the domain * entry.

*/ inline void SetDomainEntry(DomainEntry&& value) { m_domainEntryHasBeenSet = true; m_domainEntry = std::move(value); } /** *

An array of key-value pairs containing information about the domain * entry.

*/ inline UpdateDomainEntryRequest& WithDomainEntry(const DomainEntry& value) { SetDomainEntry(value); return *this;} /** *

An array of key-value pairs containing information about the domain * entry.

*/ inline UpdateDomainEntryRequest& WithDomainEntry(DomainEntry&& value) { SetDomainEntry(std::move(value)); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; DomainEntry m_domainEntry; bool m_domainEntryHasBeenSet = false; }; } // namespace Model } // namespace Lightsail } // namespace Aws