/** * 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 GetBlueprintsRequest : public LightsailRequest { public: AWS_LIGHTSAIL_API GetBlueprintsRequest(); // 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 "GetBlueprints"; } AWS_LIGHTSAIL_API Aws::String SerializePayload() const override; AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A Boolean value that indicates whether to include inactive (unavailable) * blueprints in the response of your request.

*/ inline bool GetIncludeInactive() const{ return m_includeInactive; } /** *

A Boolean value that indicates whether to include inactive (unavailable) * blueprints in the response of your request.

*/ inline bool IncludeInactiveHasBeenSet() const { return m_includeInactiveHasBeenSet; } /** *

A Boolean value that indicates whether to include inactive (unavailable) * blueprints in the response of your request.

*/ inline void SetIncludeInactive(bool value) { m_includeInactiveHasBeenSet = true; m_includeInactive = value; } /** *

A Boolean value that indicates whether to include inactive (unavailable) * blueprints in the response of your request.

*/ inline GetBlueprintsRequest& WithIncludeInactive(bool value) { SetIncludeInactive(value); return *this;} /** *

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

To * get a page token, perform an initial GetBlueprints 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 GetBlueprints 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 GetBlueprints 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 GetBlueprints 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 GetBlueprints 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 GetBlueprints 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 GetBlueprintsRequest& 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 GetBlueprints 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 GetBlueprintsRequest& 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 GetBlueprints 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 GetBlueprintsRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;} /** *

Returns a list of blueprints that are specific to Lightsail for Research.

*

You must use this parameter to view Lightsail for Research * blueprints.

*/ inline const AppCategory& GetAppCategory() const{ return m_appCategory; } /** *

Returns a list of blueprints that are specific to Lightsail for Research.

*

You must use this parameter to view Lightsail for Research * blueprints.

*/ inline bool AppCategoryHasBeenSet() const { return m_appCategoryHasBeenSet; } /** *

Returns a list of blueprints that are specific to Lightsail for Research.

*

You must use this parameter to view Lightsail for Research * blueprints.

*/ inline void SetAppCategory(const AppCategory& value) { m_appCategoryHasBeenSet = true; m_appCategory = value; } /** *

Returns a list of blueprints that are specific to Lightsail for Research.

*

You must use this parameter to view Lightsail for Research * blueprints.

*/ inline void SetAppCategory(AppCategory&& value) { m_appCategoryHasBeenSet = true; m_appCategory = std::move(value); } /** *

Returns a list of blueprints that are specific to Lightsail for Research.

*

You must use this parameter to view Lightsail for Research * blueprints.

*/ inline GetBlueprintsRequest& WithAppCategory(const AppCategory& value) { SetAppCategory(value); return *this;} /** *

Returns a list of blueprints that are specific to Lightsail for Research.

*

You must use this parameter to view Lightsail for Research * blueprints.

*/ inline GetBlueprintsRequest& WithAppCategory(AppCategory&& value) { SetAppCategory(std::move(value)); return *this;} private: bool m_includeInactive; bool m_includeInactiveHasBeenSet = false; Aws::String m_pageToken; bool m_pageTokenHasBeenSet = false; AppCategory m_appCategory; bool m_appCategoryHasBeenSet = false; }; } // namespace Model } // namespace Lightsail } // namespace Aws