/** * 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 Http { class URI; } //namespace Http namespace AppConfig { namespace Model { /** */ class ListHostedConfigurationVersionsRequest : public AppConfigRequest { public: AWS_APPCONFIG_API ListHostedConfigurationVersionsRequest(); // 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 "ListHostedConfigurationVersions"; } AWS_APPCONFIG_API Aws::String SerializePayload() const override; AWS_APPCONFIG_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The application ID.

*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *

The application ID.

*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *

The application ID.

*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *

The application ID.

*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *

The application ID.

*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *

The application ID.

*/ inline ListHostedConfigurationVersionsRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *

The application ID.

*/ inline ListHostedConfigurationVersionsRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *

The application ID.

*/ inline ListHostedConfigurationVersionsRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *

The configuration profile ID.

*/ inline const Aws::String& GetConfigurationProfileId() const{ return m_configurationProfileId; } /** *

The configuration profile ID.

*/ inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; } /** *

The configuration profile ID.

*/ inline void SetConfigurationProfileId(const Aws::String& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = value; } /** *

The configuration profile ID.

*/ inline void SetConfigurationProfileId(Aws::String&& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::move(value); } /** *

The configuration profile ID.

*/ inline void SetConfigurationProfileId(const char* value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId.assign(value); } /** *

The configuration profile ID.

*/ inline ListHostedConfigurationVersionsRequest& WithConfigurationProfileId(const Aws::String& value) { SetConfigurationProfileId(value); return *this;} /** *

The configuration profile ID.

*/ inline ListHostedConfigurationVersionsRequest& WithConfigurationProfileId(Aws::String&& value) { SetConfigurationProfileId(std::move(value)); return *this;} /** *

The configuration profile ID.

*/ inline ListHostedConfigurationVersionsRequest& WithConfigurationProfileId(const char* value) { SetConfigurationProfileId(value); return *this;} /** *

The maximum number of items to return for this call. The call also returns a * token that you can specify in a subsequent call to get the next set of * results.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of items to return for this call. The call also returns a * token that you can specify in a subsequent call to get the next set of * results.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of items to return for this call. The call also returns a * token that you can specify in a subsequent call to get the next set of * results.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of items to return for this call. The call also returns a * token that you can specify in a subsequent call to get the next set of * results.

*/ inline ListHostedConfigurationVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

A token to start the list. Use this token to get the next set of results. *

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

A token to start the list. Use this token to get the next set of results. *

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

A token to start the list. Use this token to get the next set of results. *

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

A token to start the list. Use this token to get the next set of results. *

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

A token to start the list. Use this token to get the next set of results. *

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

A token to start the list. Use this token to get the next set of results. *

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

A token to start the list. Use this token to get the next set of results. *

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

A token to start the list. Use this token to get the next set of results. *

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

An optional filter that can be used to specify the version label of an * AppConfig hosted configuration version. This parameter supports filtering by * prefix using a wildcard, for example "v2*". If you don't specify an asterisk at * the end of the value, only an exact match is returned.

*/ inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; } /** *

An optional filter that can be used to specify the version label of an * AppConfig hosted configuration version. This parameter supports filtering by * prefix using a wildcard, for example "v2*". If you don't specify an asterisk at * the end of the value, only an exact match is returned.

*/ inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; } /** *

An optional filter that can be used to specify the version label of an * AppConfig hosted configuration version. This parameter supports filtering by * prefix using a wildcard, for example "v2*". If you don't specify an asterisk at * the end of the value, only an exact match is returned.

*/ inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; } /** *

An optional filter that can be used to specify the version label of an * AppConfig hosted configuration version. This parameter supports filtering by * prefix using a wildcard, for example "v2*". If you don't specify an asterisk at * the end of the value, only an exact match is returned.

*/ inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::move(value); } /** *

An optional filter that can be used to specify the version label of an * AppConfig hosted configuration version. This parameter supports filtering by * prefix using a wildcard, for example "v2*". If you don't specify an asterisk at * the end of the value, only an exact match is returned.

*/ inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); } /** *

An optional filter that can be used to specify the version label of an * AppConfig hosted configuration version. This parameter supports filtering by * prefix using a wildcard, for example "v2*". If you don't specify an asterisk at * the end of the value, only an exact match is returned.

*/ inline ListHostedConfigurationVersionsRequest& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;} /** *

An optional filter that can be used to specify the version label of an * AppConfig hosted configuration version. This parameter supports filtering by * prefix using a wildcard, for example "v2*". If you don't specify an asterisk at * the end of the value, only an exact match is returned.

*/ inline ListHostedConfigurationVersionsRequest& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;} /** *

An optional filter that can be used to specify the version label of an * AppConfig hosted configuration version. This parameter supports filtering by * prefix using a wildcard, for example "v2*". If you don't specify an asterisk at * the end of the value, only an exact match is returned.

*/ inline ListHostedConfigurationVersionsRequest& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;} private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_configurationProfileId; bool m_configurationProfileIdHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_versionLabel; bool m_versionLabelHasBeenSet = false; }; } // namespace Model } // namespace AppConfig } // namespace Aws