This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-schemas/include/aws/schemas/model/SearchSchemasRequest.h

218 lines
7.4 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/schemas/Schemas_EXPORTS.h>
#include <aws/schemas/SchemasRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace Schemas
{
namespace Model
{
/**
*/
class AWS_SCHEMAS_API SearchSchemasRequest : public SchemasRequest
{
public:
SearchSchemasRequest();
// 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 "SearchSchemas"; }
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
/**
* <p>Specifying this limits the results to only schemas that include the provided
* keywords.</p>
*/
inline const Aws::String& GetKeywords() const{ return m_keywords; }
/**
* <p>Specifying this limits the results to only schemas that include the provided
* keywords.</p>
*/
inline bool KeywordsHasBeenSet() const { return m_keywordsHasBeenSet; }
/**
* <p>Specifying this limits the results to only schemas that include the provided
* keywords.</p>
*/
inline void SetKeywords(const Aws::String& value) { m_keywordsHasBeenSet = true; m_keywords = value; }
/**
* <p>Specifying this limits the results to only schemas that include the provided
* keywords.</p>
*/
inline void SetKeywords(Aws::String&& value) { m_keywordsHasBeenSet = true; m_keywords = std::move(value); }
/**
* <p>Specifying this limits the results to only schemas that include the provided
* keywords.</p>
*/
inline void SetKeywords(const char* value) { m_keywordsHasBeenSet = true; m_keywords.assign(value); }
/**
* <p>Specifying this limits the results to only schemas that include the provided
* keywords.</p>
*/
inline SearchSchemasRequest& WithKeywords(const Aws::String& value) { SetKeywords(value); return *this;}
/**
* <p>Specifying this limits the results to only schemas that include the provided
* keywords.</p>
*/
inline SearchSchemasRequest& WithKeywords(Aws::String&& value) { SetKeywords(std::move(value)); return *this;}
/**
* <p>Specifying this limits the results to only schemas that include the provided
* keywords.</p>
*/
inline SearchSchemasRequest& WithKeywords(const char* value) { SetKeywords(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 SearchSchemasRequest& WithLimit(int value) { SetLimit(value); return *this;}
/**
* <p>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.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>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.</p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>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.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>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.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>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.</p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>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.</p>
*/
inline SearchSchemasRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>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.</p>
*/
inline SearchSchemasRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>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.</p>
*/
inline SearchSchemasRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
/**
* <p>The name of the registry.</p>
*/
inline const Aws::String& GetRegistryName() const{ return m_registryName; }
/**
* <p>The name of the registry.</p>
*/
inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
/**
* <p>The name of the registry.</p>
*/
inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
/**
* <p>The name of the registry.</p>
*/
inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
/**
* <p>The name of the registry.</p>
*/
inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
/**
* <p>The name of the registry.</p>
*/
inline SearchSchemasRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
/**
* <p>The name of the registry.</p>
*/
inline SearchSchemasRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
/**
* <p>The name of the registry.</p>
*/
inline SearchSchemasRequest& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
private:
Aws::String m_keywords;
bool m_keywordsHasBeenSet;
int m_limit;
bool m_limitHasBeenSet;
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
Aws::String m_registryName;
bool m_registryNameHasBeenSet;
};
} // namespace Model
} // namespace Schemas
} // namespace Aws