/** * 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 Schemas { namespace Model { /** */ class ListDiscoverersRequest : public SchemasRequest { public: AWS_SCHEMAS_API ListDiscoverersRequest(); // 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 "ListDiscoverers"; } AWS_SCHEMAS_API Aws::String SerializePayload() const override; AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

Specifying this limits the results to only those discoverer IDs that start * with the specified prefix.

*/ inline const Aws::String& GetDiscovererIdPrefix() const{ return m_discovererIdPrefix; } /** *

Specifying this limits the results to only those discoverer IDs that start * with the specified prefix.

*/ inline bool DiscovererIdPrefixHasBeenSet() const { return m_discovererIdPrefixHasBeenSet; } /** *

Specifying this limits the results to only those discoverer IDs that start * with the specified prefix.

*/ inline void SetDiscovererIdPrefix(const Aws::String& value) { m_discovererIdPrefixHasBeenSet = true; m_discovererIdPrefix = value; } /** *

Specifying this limits the results to only those discoverer IDs that start * with the specified prefix.

*/ inline void SetDiscovererIdPrefix(Aws::String&& value) { m_discovererIdPrefixHasBeenSet = true; m_discovererIdPrefix = std::move(value); } /** *

Specifying this limits the results to only those discoverer IDs that start * with the specified prefix.

*/ inline void SetDiscovererIdPrefix(const char* value) { m_discovererIdPrefixHasBeenSet = true; m_discovererIdPrefix.assign(value); } /** *

Specifying this limits the results to only those discoverer IDs that start * with the specified prefix.

*/ inline ListDiscoverersRequest& WithDiscovererIdPrefix(const Aws::String& value) { SetDiscovererIdPrefix(value); return *this;} /** *

Specifying this limits the results to only those discoverer IDs that start * with the specified prefix.

*/ inline ListDiscoverersRequest& WithDiscovererIdPrefix(Aws::String&& value) { SetDiscovererIdPrefix(std::move(value)); return *this;} /** *

Specifying this limits the results to only those discoverer IDs that start * with the specified prefix.

*/ inline ListDiscoverersRequest& WithDiscovererIdPrefix(const char* value) { SetDiscovererIdPrefix(value); return *this;} inline int GetLimit() const{ return m_limit; } inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; } inline ListDiscoverersRequest& WithLimit(int value) { SetLimit(value); return *this;} /** *

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

Specifying this limits the results to only those ARNs that start with the * specified prefix.

*/ inline const Aws::String& GetSourceArnPrefix() const{ return m_sourceArnPrefix; } /** *

Specifying this limits the results to only those ARNs that start with the * specified prefix.

*/ inline bool SourceArnPrefixHasBeenSet() const { return m_sourceArnPrefixHasBeenSet; } /** *

Specifying this limits the results to only those ARNs that start with the * specified prefix.

*/ inline void SetSourceArnPrefix(const Aws::String& value) { m_sourceArnPrefixHasBeenSet = true; m_sourceArnPrefix = value; } /** *

Specifying this limits the results to only those ARNs that start with the * specified prefix.

*/ inline void SetSourceArnPrefix(Aws::String&& value) { m_sourceArnPrefixHasBeenSet = true; m_sourceArnPrefix = std::move(value); } /** *

Specifying this limits the results to only those ARNs that start with the * specified prefix.

*/ inline void SetSourceArnPrefix(const char* value) { m_sourceArnPrefixHasBeenSet = true; m_sourceArnPrefix.assign(value); } /** *

Specifying this limits the results to only those ARNs that start with the * specified prefix.

*/ inline ListDiscoverersRequest& WithSourceArnPrefix(const Aws::String& value) { SetSourceArnPrefix(value); return *this;} /** *

Specifying this limits the results to only those ARNs that start with the * specified prefix.

*/ inline ListDiscoverersRequest& WithSourceArnPrefix(Aws::String&& value) { SetSourceArnPrefix(std::move(value)); return *this;} /** *

Specifying this limits the results to only those ARNs that start with the * specified prefix.

*/ inline ListDiscoverersRequest& WithSourceArnPrefix(const char* value) { SetSourceArnPrefix(value); return *this;} private: Aws::String m_discovererIdPrefix; bool m_discovererIdPrefixHasBeenSet = false; int m_limit; bool m_limitHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_sourceArnPrefix; bool m_sourceArnPrefixHasBeenSet = false; }; } // namespace Model } // namespace Schemas } // namespace Aws