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

A complex type that contains change information for the resource record * set.

See Also:

AWS * API Reference

*/ class ChangeResourceRecordSetsRequest : public Route53Request { public: AWS_ROUTE53_API ChangeResourceRecordSetsRequest(); // 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 "ChangeResourceRecordSets"; } AWS_ROUTE53_API Aws::String SerializePayload() const override; /** *

The ID of the hosted zone that contains the resource record sets that you * want to change.

*/ inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; } /** *

The ID of the hosted zone that contains the resource record sets that you * want to change.

*/ inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; } /** *

The ID of the hosted zone that contains the resource record sets that you * want to change.

*/ inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; } /** *

The ID of the hosted zone that contains the resource record sets that you * want to change.

*/ inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); } /** *

The ID of the hosted zone that contains the resource record sets that you * want to change.

*/ inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); } /** *

The ID of the hosted zone that contains the resource record sets that you * want to change.

*/ inline ChangeResourceRecordSetsRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;} /** *

The ID of the hosted zone that contains the resource record sets that you * want to change.

*/ inline ChangeResourceRecordSetsRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;} /** *

The ID of the hosted zone that contains the resource record sets that you * want to change.

*/ inline ChangeResourceRecordSetsRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;} /** *

A complex type that contains an optional comment and the Changes * element.

*/ inline const ChangeBatch& GetChangeBatch() const{ return m_changeBatch; } /** *

A complex type that contains an optional comment and the Changes * element.

*/ inline bool ChangeBatchHasBeenSet() const { return m_changeBatchHasBeenSet; } /** *

A complex type that contains an optional comment and the Changes * element.

*/ inline void SetChangeBatch(const ChangeBatch& value) { m_changeBatchHasBeenSet = true; m_changeBatch = value; } /** *

A complex type that contains an optional comment and the Changes * element.

*/ inline void SetChangeBatch(ChangeBatch&& value) { m_changeBatchHasBeenSet = true; m_changeBatch = std::move(value); } /** *

A complex type that contains an optional comment and the Changes * element.

*/ inline ChangeResourceRecordSetsRequest& WithChangeBatch(const ChangeBatch& value) { SetChangeBatch(value); return *this;} /** *

A complex type that contains an optional comment and the Changes * element.

*/ inline ChangeResourceRecordSetsRequest& WithChangeBatch(ChangeBatch&& value) { SetChangeBatch(std::move(value)); return *this;} private: Aws::String m_hostedZoneId; bool m_hostedZoneIdHasBeenSet = false; ChangeBatch m_changeBatch; bool m_changeBatchHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws