/** * 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 AutoScaling { namespace Model { /** */ class AWS_AUTOSCALING_API DescribeLaunchConfigurationsRequest : public AutoScalingRequest { public: DescribeLaunchConfigurationsRequest(); // 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 "DescribeLaunchConfigurations"; } Aws::String SerializePayload() const override; protected: void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The launch configuration names. If you omit this parameter, all launch * configurations are described.

*/ inline const Aws::Vector& GetLaunchConfigurationNames() const{ return m_launchConfigurationNames; } /** *

The launch configuration names. If you omit this parameter, all launch * configurations are described.

*/ inline bool LaunchConfigurationNamesHasBeenSet() const { return m_launchConfigurationNamesHasBeenSet; } /** *

The launch configuration names. If you omit this parameter, all launch * configurations are described.

*/ inline void SetLaunchConfigurationNames(const Aws::Vector& value) { m_launchConfigurationNamesHasBeenSet = true; m_launchConfigurationNames = value; } /** *

The launch configuration names. If you omit this parameter, all launch * configurations are described.

*/ inline void SetLaunchConfigurationNames(Aws::Vector&& value) { m_launchConfigurationNamesHasBeenSet = true; m_launchConfigurationNames = std::move(value); } /** *

The launch configuration names. If you omit this parameter, all launch * configurations are described.

*/ inline DescribeLaunchConfigurationsRequest& WithLaunchConfigurationNames(const Aws::Vector& value) { SetLaunchConfigurationNames(value); return *this;} /** *

The launch configuration names. If you omit this parameter, all launch * configurations are described.

*/ inline DescribeLaunchConfigurationsRequest& WithLaunchConfigurationNames(Aws::Vector&& value) { SetLaunchConfigurationNames(std::move(value)); return *this;} /** *

The launch configuration names. If you omit this parameter, all launch * configurations are described.

*/ inline DescribeLaunchConfigurationsRequest& AddLaunchConfigurationNames(const Aws::String& value) { m_launchConfigurationNamesHasBeenSet = true; m_launchConfigurationNames.push_back(value); return *this; } /** *

The launch configuration names. If you omit this parameter, all launch * configurations are described.

*/ inline DescribeLaunchConfigurationsRequest& AddLaunchConfigurationNames(Aws::String&& value) { m_launchConfigurationNamesHasBeenSet = true; m_launchConfigurationNames.push_back(std::move(value)); return *this; } /** *

The launch configuration names. If you omit this parameter, all launch * configurations are described.

*/ inline DescribeLaunchConfigurationsRequest& AddLaunchConfigurationNames(const char* value) { m_launchConfigurationNamesHasBeenSet = true; m_launchConfigurationNames.push_back(value); return *this; } /** *

The token for the next set of items to return. (You received this token from * a previous call.)

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token for the next set of items to return. (You received this token from * a previous call.)

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

The token for the next set of items to return. (You received this token from * a previous call.)

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

The token for the next set of items to return. (You received this token from * a previous call.)

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

The token for the next set of items to return. (You received this token from * a previous call.)

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

The token for the next set of items to return. (You received this token from * a previous call.)

*/ inline DescribeLaunchConfigurationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token for the next set of items to return. (You received this token from * a previous call.)

*/ inline DescribeLaunchConfigurationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token for the next set of items to return. (You received this token from * a previous call.)

*/ inline DescribeLaunchConfigurationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The maximum number of items to return with this call. The default value is * 50 and the maximum value is 100.

*/ inline int GetMaxRecords() const{ return m_maxRecords; } /** *

The maximum number of items to return with this call. The default value is * 50 and the maximum value is 100.

*/ inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; } /** *

The maximum number of items to return with this call. The default value is * 50 and the maximum value is 100.

*/ inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; } /** *

The maximum number of items to return with this call. The default value is * 50 and the maximum value is 100.

*/ inline DescribeLaunchConfigurationsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;} private: Aws::Vector m_launchConfigurationNames; bool m_launchConfigurationNamesHasBeenSet; Aws::String m_nextToken; bool m_nextTokenHasBeenSet; int m_maxRecords; bool m_maxRecordsHasBeenSet; }; } // namespace Model } // namespace AutoScaling } // namespace Aws