/** * 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 Lightsail { namespace Model { /** */ class GetRelationalDatabaseParametersRequest : public LightsailRequest { public: AWS_LIGHTSAIL_API GetRelationalDatabaseParametersRequest(); // 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 "GetRelationalDatabaseParameters"; } AWS_LIGHTSAIL_API Aws::String SerializePayload() const override; AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of your database for which to get parameters.

*/ inline const Aws::String& GetRelationalDatabaseName() const{ return m_relationalDatabaseName; } /** *

The name of your database for which to get parameters.

*/ inline bool RelationalDatabaseNameHasBeenSet() const { return m_relationalDatabaseNameHasBeenSet; } /** *

The name of your database for which to get parameters.

*/ inline void SetRelationalDatabaseName(const Aws::String& value) { m_relationalDatabaseNameHasBeenSet = true; m_relationalDatabaseName = value; } /** *

The name of your database for which to get parameters.

*/ inline void SetRelationalDatabaseName(Aws::String&& value) { m_relationalDatabaseNameHasBeenSet = true; m_relationalDatabaseName = std::move(value); } /** *

The name of your database for which to get parameters.

*/ inline void SetRelationalDatabaseName(const char* value) { m_relationalDatabaseNameHasBeenSet = true; m_relationalDatabaseName.assign(value); } /** *

The name of your database for which to get parameters.

*/ inline GetRelationalDatabaseParametersRequest& WithRelationalDatabaseName(const Aws::String& value) { SetRelationalDatabaseName(value); return *this;} /** *

The name of your database for which to get parameters.

*/ inline GetRelationalDatabaseParametersRequest& WithRelationalDatabaseName(Aws::String&& value) { SetRelationalDatabaseName(std::move(value)); return *this;} /** *

The name of your database for which to get parameters.

*/ inline GetRelationalDatabaseParametersRequest& WithRelationalDatabaseName(const char* value) { SetRelationalDatabaseName(value); return *this;} /** *

The token to advance to the next page of results from your request.

To * get a page token, perform an initial * GetRelationalDatabaseParameters request. If your results are * paginated, the response will return a next page token that you can specify as * the page token in a subsequent request.

*/ inline const Aws::String& GetPageToken() const{ return m_pageToken; } /** *

The token to advance to the next page of results from your request.

To * get a page token, perform an initial * GetRelationalDatabaseParameters request. If your results are * paginated, the response will return a next page token that you can specify as * the page token in a subsequent request.

*/ inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; } /** *

The token to advance to the next page of results from your request.

To * get a page token, perform an initial * GetRelationalDatabaseParameters request. If your results are * paginated, the response will return a next page token that you can specify as * the page token in a subsequent request.

*/ inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; } /** *

The token to advance to the next page of results from your request.

To * get a page token, perform an initial * GetRelationalDatabaseParameters request. If your results are * paginated, the response will return a next page token that you can specify as * the page token in a subsequent request.

*/ inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); } /** *

The token to advance to the next page of results from your request.

To * get a page token, perform an initial * GetRelationalDatabaseParameters request. If your results are * paginated, the response will return a next page token that you can specify as * the page token in a subsequent request.

*/ inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); } /** *

The token to advance to the next page of results from your request.

To * get a page token, perform an initial * GetRelationalDatabaseParameters request. If your results are * paginated, the response will return a next page token that you can specify as * the page token in a subsequent request.

*/ inline GetRelationalDatabaseParametersRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;} /** *

The token to advance to the next page of results from your request.

To * get a page token, perform an initial * GetRelationalDatabaseParameters request. If your results are * paginated, the response will return a next page token that you can specify as * the page token in a subsequent request.

*/ inline GetRelationalDatabaseParametersRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;} /** *

The token to advance to the next page of results from your request.

To * get a page token, perform an initial * GetRelationalDatabaseParameters request. If your results are * paginated, the response will return a next page token that you can specify as * the page token in a subsequent request.

*/ inline GetRelationalDatabaseParametersRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;} private: Aws::String m_relationalDatabaseName; bool m_relationalDatabaseNameHasBeenSet = false; Aws::String m_pageToken; bool m_pageTokenHasBeenSet = false; }; } // namespace Model } // namespace Lightsail } // namespace Aws