/** * 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 Athena { namespace Model { /** */ class GetCapacityAssignmentConfigurationRequest : public AthenaRequest { public: AWS_ATHENA_API GetCapacityAssignmentConfigurationRequest(); // 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 "GetCapacityAssignmentConfiguration"; } AWS_ATHENA_API Aws::String SerializePayload() const override; AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the capacity reservation to retrieve the capacity assignment * configuration for.

*/ inline const Aws::String& GetCapacityReservationName() const{ return m_capacityReservationName; } /** *

The name of the capacity reservation to retrieve the capacity assignment * configuration for.

*/ inline bool CapacityReservationNameHasBeenSet() const { return m_capacityReservationNameHasBeenSet; } /** *

The name of the capacity reservation to retrieve the capacity assignment * configuration for.

*/ inline void SetCapacityReservationName(const Aws::String& value) { m_capacityReservationNameHasBeenSet = true; m_capacityReservationName = value; } /** *

The name of the capacity reservation to retrieve the capacity assignment * configuration for.

*/ inline void SetCapacityReservationName(Aws::String&& value) { m_capacityReservationNameHasBeenSet = true; m_capacityReservationName = std::move(value); } /** *

The name of the capacity reservation to retrieve the capacity assignment * configuration for.

*/ inline void SetCapacityReservationName(const char* value) { m_capacityReservationNameHasBeenSet = true; m_capacityReservationName.assign(value); } /** *

The name of the capacity reservation to retrieve the capacity assignment * configuration for.

*/ inline GetCapacityAssignmentConfigurationRequest& WithCapacityReservationName(const Aws::String& value) { SetCapacityReservationName(value); return *this;} /** *

The name of the capacity reservation to retrieve the capacity assignment * configuration for.

*/ inline GetCapacityAssignmentConfigurationRequest& WithCapacityReservationName(Aws::String&& value) { SetCapacityReservationName(std::move(value)); return *this;} /** *

The name of the capacity reservation to retrieve the capacity assignment * configuration for.

*/ inline GetCapacityAssignmentConfigurationRequest& WithCapacityReservationName(const char* value) { SetCapacityReservationName(value); return *this;} private: Aws::String m_capacityReservationName; bool m_capacityReservationNameHasBeenSet = false; }; } // namespace Model } // namespace Athena } // namespace Aws