274 lines
10 KiB
C
274 lines
10 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/glue/Glue_EXPORTS.h>
|
|||
|
|
#include <aws/glue/GlueRequest.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Glue
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
*/
|
|||
|
|
class AWS_GLUE_API GetUserDefinedFunctionsRequest : public GlueRequest
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
GetUserDefinedFunctionsRequest();
|
|||
|
|
|
|||
|
|
// 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 "GetUserDefinedFunctions"; }
|
|||
|
|
|
|||
|
|
Aws::String SerializePayload() const override;
|
|||
|
|
|
|||
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the Data Catalog where the functions to be retrieved are located.
|
|||
|
|
* If none is provided, the AWS account ID is used by default.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the Data Catalog where the functions to be retrieved are located.
|
|||
|
|
* If none is provided, the AWS account ID is used by default.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the Data Catalog where the functions to be retrieved are located.
|
|||
|
|
* If none is provided, the AWS account ID is used by default.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the Data Catalog where the functions to be retrieved are located.
|
|||
|
|
* If none is provided, the AWS account ID is used by default.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the Data Catalog where the functions to be retrieved are located.
|
|||
|
|
* If none is provided, the AWS account ID is used by default.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the Data Catalog where the functions to be retrieved are located.
|
|||
|
|
* If none is provided, the AWS account ID is used by default.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetUserDefinedFunctionsRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the Data Catalog where the functions to be retrieved are located.
|
|||
|
|
* If none is provided, the AWS account ID is used by default.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetUserDefinedFunctionsRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the Data Catalog where the functions to be retrieved are located.
|
|||
|
|
* If none is provided, the AWS account ID is used by default.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetUserDefinedFunctionsRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the catalog database where the functions are located. If none is
|
|||
|
|
* provided, functions from all the databases across the catalog will be
|
|||
|
|
* returned.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the catalog database where the functions are located. If none is
|
|||
|
|
* provided, functions from all the databases across the catalog will be
|
|||
|
|
* returned.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the catalog database where the functions are located. If none is
|
|||
|
|
* provided, functions from all the databases across the catalog will be
|
|||
|
|
* returned.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the catalog database where the functions are located. If none is
|
|||
|
|
* provided, functions from all the databases across the catalog will be
|
|||
|
|
* returned.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the catalog database where the functions are located. If none is
|
|||
|
|
* provided, functions from all the databases across the catalog will be
|
|||
|
|
* returned.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the catalog database where the functions are located. If none is
|
|||
|
|
* provided, functions from all the databases across the catalog will be
|
|||
|
|
* returned.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetUserDefinedFunctionsRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the catalog database where the functions are located. If none is
|
|||
|
|
* provided, functions from all the databases across the catalog will be
|
|||
|
|
* returned.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetUserDefinedFunctionsRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the catalog database where the functions are located. If none is
|
|||
|
|
* provided, functions from all the databases across the catalog will be
|
|||
|
|
* returned.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetUserDefinedFunctionsRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An optional function-name pattern string that filters the function
|
|||
|
|
* definitions returned.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetPattern() const{ return m_pattern; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An optional function-name pattern string that filters the function
|
|||
|
|
* definitions returned.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool PatternHasBeenSet() const { return m_patternHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An optional function-name pattern string that filters the function
|
|||
|
|
* definitions returned.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetPattern(const Aws::String& value) { m_patternHasBeenSet = true; m_pattern = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An optional function-name pattern string that filters the function
|
|||
|
|
* definitions returned.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetPattern(Aws::String&& value) { m_patternHasBeenSet = true; m_pattern = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An optional function-name pattern string that filters the function
|
|||
|
|
* definitions returned.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetPattern(const char* value) { m_patternHasBeenSet = true; m_pattern.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An optional function-name pattern string that filters the function
|
|||
|
|
* definitions returned.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetUserDefinedFunctionsRequest& WithPattern(const Aws::String& value) { SetPattern(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An optional function-name pattern string that filters the function
|
|||
|
|
* definitions returned.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetUserDefinedFunctionsRequest& WithPattern(Aws::String&& value) { SetPattern(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An optional function-name pattern string that filters the function
|
|||
|
|
* definitions returned.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetUserDefinedFunctionsRequest& WithPattern(const char* value) { SetPattern(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A continuation token, if this is a continuation call.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A continuation token, if this is a continuation call.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A continuation token, if this is a continuation call.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A continuation token, if this is a continuation call.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A continuation token, if this is a continuation call.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A continuation token, if this is a continuation call.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetUserDefinedFunctionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A continuation token, if this is a continuation call.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetUserDefinedFunctionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A continuation token, if this is a continuation call.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetUserDefinedFunctionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The maximum number of functions to return in one response.</p>
|
|||
|
|
*/
|
|||
|
|
inline int GetMaxResults() const{ return m_maxResults; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The maximum number of functions to return in one response.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The maximum number of functions to return in one response.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The maximum number of functions to return in one response.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetUserDefinedFunctionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_catalogId;
|
|||
|
|
bool m_catalogIdHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::String m_databaseName;
|
|||
|
|
bool m_databaseNameHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::String m_pattern;
|
|||
|
|
bool m_patternHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::String m_nextToken;
|
|||
|
|
bool m_nextTokenHasBeenSet;
|
|||
|
|
|
|||
|
|
int m_maxResults;
|
|||
|
|
bool m_maxResultsHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace Glue
|
|||
|
|
} // namespace Aws
|