/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace MachineLearning { namespace Model { /** */ class DescribeDataSourcesRequest : public MachineLearningRequest { public: AWS_MACHINELEARNING_API DescribeDataSourcesRequest(); // 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 "DescribeDataSources"; } AWS_MACHINELEARNING_API Aws::String SerializePayload() const override; AWS_MACHINELEARNING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Use one of the following variables to filter a list of * DataSource:

  • CreatedAt - Sets the * search criteria to DataSource creation dates.

  • * Status - Sets the search criteria to DataSource * statuses.

  • Name - Sets the search criteria to the * contents of DataSource Name.

  • * DataUri - Sets the search criteria to the URI of data files used to * create the DataSource. The URI can identify either a file or an * Amazon Simple Storage Service (Amazon S3) bucket or directory.

  • *

    IAMUser - Sets the search criteria to the user account that * invoked the DataSource creation.

*/ inline const DataSourceFilterVariable& GetFilterVariable() const{ return m_filterVariable; } /** *

Use one of the following variables to filter a list of * DataSource:

  • CreatedAt - Sets the * search criteria to DataSource creation dates.

  • * Status - Sets the search criteria to DataSource * statuses.

  • Name - Sets the search criteria to the * contents of DataSource Name.

  • * DataUri - Sets the search criteria to the URI of data files used to * create the DataSource. The URI can identify either a file or an * Amazon Simple Storage Service (Amazon S3) bucket or directory.

  • *

    IAMUser - Sets the search criteria to the user account that * invoked the DataSource creation.

*/ inline bool FilterVariableHasBeenSet() const { return m_filterVariableHasBeenSet; } /** *

Use one of the following variables to filter a list of * DataSource:

  • CreatedAt - Sets the * search criteria to DataSource creation dates.

  • * Status - Sets the search criteria to DataSource * statuses.

  • Name - Sets the search criteria to the * contents of DataSource Name.

  • * DataUri - Sets the search criteria to the URI of data files used to * create the DataSource. The URI can identify either a file or an * Amazon Simple Storage Service (Amazon S3) bucket or directory.

  • *

    IAMUser - Sets the search criteria to the user account that * invoked the DataSource creation.

*/ inline void SetFilterVariable(const DataSourceFilterVariable& value) { m_filterVariableHasBeenSet = true; m_filterVariable = value; } /** *

Use one of the following variables to filter a list of * DataSource:

  • CreatedAt - Sets the * search criteria to DataSource creation dates.

  • * Status - Sets the search criteria to DataSource * statuses.

  • Name - Sets the search criteria to the * contents of DataSource Name.

  • * DataUri - Sets the search criteria to the URI of data files used to * create the DataSource. The URI can identify either a file or an * Amazon Simple Storage Service (Amazon S3) bucket or directory.

  • *

    IAMUser - Sets the search criteria to the user account that * invoked the DataSource creation.

*/ inline void SetFilterVariable(DataSourceFilterVariable&& value) { m_filterVariableHasBeenSet = true; m_filterVariable = std::move(value); } /** *

Use one of the following variables to filter a list of * DataSource:

  • CreatedAt - Sets the * search criteria to DataSource creation dates.

  • * Status - Sets the search criteria to DataSource * statuses.

  • Name - Sets the search criteria to the * contents of DataSource Name.

  • * DataUri - Sets the search criteria to the URI of data files used to * create the DataSource. The URI can identify either a file or an * Amazon Simple Storage Service (Amazon S3) bucket or directory.

  • *

    IAMUser - Sets the search criteria to the user account that * invoked the DataSource creation.

*/ inline DescribeDataSourcesRequest& WithFilterVariable(const DataSourceFilterVariable& value) { SetFilterVariable(value); return *this;} /** *

Use one of the following variables to filter a list of * DataSource:

  • CreatedAt - Sets the * search criteria to DataSource creation dates.

  • * Status - Sets the search criteria to DataSource * statuses.

  • Name - Sets the search criteria to the * contents of DataSource Name.

  • * DataUri - Sets the search criteria to the URI of data files used to * create the DataSource. The URI can identify either a file or an * Amazon Simple Storage Service (Amazon S3) bucket or directory.

  • *

    IAMUser - Sets the search criteria to the user account that * invoked the DataSource creation.

*/ inline DescribeDataSourcesRequest& WithFilterVariable(DataSourceFilterVariable&& value) { SetFilterVariable(std::move(value)); return *this;} /** *

The equal to operator. The DataSource results will have * FilterVariable values that exactly match the value specified with * EQ.

*/ inline const Aws::String& GetEQ() const{ return m_eQ; } /** *

The equal to operator. The DataSource results will have * FilterVariable values that exactly match the value specified with * EQ.

*/ inline bool EQHasBeenSet() const { return m_eQHasBeenSet; } /** *

The equal to operator. The DataSource results will have * FilterVariable values that exactly match the value specified with * EQ.

*/ inline void SetEQ(const Aws::String& value) { m_eQHasBeenSet = true; m_eQ = value; } /** *

The equal to operator. The DataSource results will have * FilterVariable values that exactly match the value specified with * EQ.

*/ inline void SetEQ(Aws::String&& value) { m_eQHasBeenSet = true; m_eQ = std::move(value); } /** *

The equal to operator. The DataSource results will have * FilterVariable values that exactly match the value specified with * EQ.

*/ inline void SetEQ(const char* value) { m_eQHasBeenSet = true; m_eQ.assign(value); } /** *

The equal to operator. The DataSource results will have * FilterVariable values that exactly match the value specified with * EQ.

*/ inline DescribeDataSourcesRequest& WithEQ(const Aws::String& value) { SetEQ(value); return *this;} /** *

The equal to operator. The DataSource results will have * FilterVariable values that exactly match the value specified with * EQ.

*/ inline DescribeDataSourcesRequest& WithEQ(Aws::String&& value) { SetEQ(std::move(value)); return *this;} /** *

The equal to operator. The DataSource results will have * FilterVariable values that exactly match the value specified with * EQ.

*/ inline DescribeDataSourcesRequest& WithEQ(const char* value) { SetEQ(value); return *this;} /** *

The greater than operator. The DataSource results will have * FilterVariable values that are greater than the value specified * with GT.

*/ inline const Aws::String& GetGT() const{ return m_gT; } /** *

The greater than operator. The DataSource results will have * FilterVariable values that are greater than the value specified * with GT.

*/ inline bool GTHasBeenSet() const { return m_gTHasBeenSet; } /** *

The greater than operator. The DataSource results will have * FilterVariable values that are greater than the value specified * with GT.

*/ inline void SetGT(const Aws::String& value) { m_gTHasBeenSet = true; m_gT = value; } /** *

The greater than operator. The DataSource results will have * FilterVariable values that are greater than the value specified * with GT.

*/ inline void SetGT(Aws::String&& value) { m_gTHasBeenSet = true; m_gT = std::move(value); } /** *

The greater than operator. The DataSource results will have * FilterVariable values that are greater than the value specified * with GT.

*/ inline void SetGT(const char* value) { m_gTHasBeenSet = true; m_gT.assign(value); } /** *

The greater than operator. The DataSource results will have * FilterVariable values that are greater than the value specified * with GT.

*/ inline DescribeDataSourcesRequest& WithGT(const Aws::String& value) { SetGT(value); return *this;} /** *

The greater than operator. The DataSource results will have * FilterVariable values that are greater than the value specified * with GT.

*/ inline DescribeDataSourcesRequest& WithGT(Aws::String&& value) { SetGT(std::move(value)); return *this;} /** *

The greater than operator. The DataSource results will have * FilterVariable values that are greater than the value specified * with GT.

*/ inline DescribeDataSourcesRequest& WithGT(const char* value) { SetGT(value); return *this;} /** *

The less than operator. The DataSource results will have * FilterVariable values that are less than the value specified with * LT.

*/ inline const Aws::String& GetLT() const{ return m_lT; } /** *

The less than operator. The DataSource results will have * FilterVariable values that are less than the value specified with * LT.

*/ inline bool LTHasBeenSet() const { return m_lTHasBeenSet; } /** *

The less than operator. The DataSource results will have * FilterVariable values that are less than the value specified with * LT.

*/ inline void SetLT(const Aws::String& value) { m_lTHasBeenSet = true; m_lT = value; } /** *

The less than operator. The DataSource results will have * FilterVariable values that are less than the value specified with * LT.

*/ inline void SetLT(Aws::String&& value) { m_lTHasBeenSet = true; m_lT = std::move(value); } /** *

The less than operator. The DataSource results will have * FilterVariable values that are less than the value specified with * LT.

*/ inline void SetLT(const char* value) { m_lTHasBeenSet = true; m_lT.assign(value); } /** *

The less than operator. The DataSource results will have * FilterVariable values that are less than the value specified with * LT.

*/ inline DescribeDataSourcesRequest& WithLT(const Aws::String& value) { SetLT(value); return *this;} /** *

The less than operator. The DataSource results will have * FilterVariable values that are less than the value specified with * LT.

*/ inline DescribeDataSourcesRequest& WithLT(Aws::String&& value) { SetLT(std::move(value)); return *this;} /** *

The less than operator. The DataSource results will have * FilterVariable values that are less than the value specified with * LT.

*/ inline DescribeDataSourcesRequest& WithLT(const char* value) { SetLT(value); return *this;} /** *

The greater than or equal to operator. The DataSource results * will have FilterVariable values that are greater than or equal to * the value specified with GE.

*/ inline const Aws::String& GetGE() const{ return m_gE; } /** *

The greater than or equal to operator. The DataSource results * will have FilterVariable values that are greater than or equal to * the value specified with GE.

*/ inline bool GEHasBeenSet() const { return m_gEHasBeenSet; } /** *

The greater than or equal to operator. The DataSource results * will have FilterVariable values that are greater than or equal to * the value specified with GE.

*/ inline void SetGE(const Aws::String& value) { m_gEHasBeenSet = true; m_gE = value; } /** *

The greater than or equal to operator. The DataSource results * will have FilterVariable values that are greater than or equal to * the value specified with GE.

*/ inline void SetGE(Aws::String&& value) { m_gEHasBeenSet = true; m_gE = std::move(value); } /** *

The greater than or equal to operator. The DataSource results * will have FilterVariable values that are greater than or equal to * the value specified with GE.

*/ inline void SetGE(const char* value) { m_gEHasBeenSet = true; m_gE.assign(value); } /** *

The greater than or equal to operator. The DataSource results * will have FilterVariable values that are greater than or equal to * the value specified with GE.

*/ inline DescribeDataSourcesRequest& WithGE(const Aws::String& value) { SetGE(value); return *this;} /** *

The greater than or equal to operator. The DataSource results * will have FilterVariable values that are greater than or equal to * the value specified with GE.

*/ inline DescribeDataSourcesRequest& WithGE(Aws::String&& value) { SetGE(std::move(value)); return *this;} /** *

The greater than or equal to operator. The DataSource results * will have FilterVariable values that are greater than or equal to * the value specified with GE.

*/ inline DescribeDataSourcesRequest& WithGE(const char* value) { SetGE(value); return *this;} /** *

The less than or equal to operator. The DataSource results will * have FilterVariable values that are less than or equal to the value * specified with LE.

*/ inline const Aws::String& GetLE() const{ return m_lE; } /** *

The less than or equal to operator. The DataSource results will * have FilterVariable values that are less than or equal to the value * specified with LE.

*/ inline bool LEHasBeenSet() const { return m_lEHasBeenSet; } /** *

The less than or equal to operator. The DataSource results will * have FilterVariable values that are less than or equal to the value * specified with LE.

*/ inline void SetLE(const Aws::String& value) { m_lEHasBeenSet = true; m_lE = value; } /** *

The less than or equal to operator. The DataSource results will * have FilterVariable values that are less than or equal to the value * specified with LE.

*/ inline void SetLE(Aws::String&& value) { m_lEHasBeenSet = true; m_lE = std::move(value); } /** *

The less than or equal to operator. The DataSource results will * have FilterVariable values that are less than or equal to the value * specified with LE.

*/ inline void SetLE(const char* value) { m_lEHasBeenSet = true; m_lE.assign(value); } /** *

The less than or equal to operator. The DataSource results will * have FilterVariable values that are less than or equal to the value * specified with LE.

*/ inline DescribeDataSourcesRequest& WithLE(const Aws::String& value) { SetLE(value); return *this;} /** *

The less than or equal to operator. The DataSource results will * have FilterVariable values that are less than or equal to the value * specified with LE.

*/ inline DescribeDataSourcesRequest& WithLE(Aws::String&& value) { SetLE(std::move(value)); return *this;} /** *

The less than or equal to operator. The DataSource results will * have FilterVariable values that are less than or equal to the value * specified with LE.

*/ inline DescribeDataSourcesRequest& WithLE(const char* value) { SetLE(value); return *this;} /** *

The not equal to operator. The DataSource results will have * FilterVariable values not equal to the value specified with * NE.

*/ inline const Aws::String& GetNE() const{ return m_nE; } /** *

The not equal to operator. The DataSource results will have * FilterVariable values not equal to the value specified with * NE.

*/ inline bool NEHasBeenSet() const { return m_nEHasBeenSet; } /** *

The not equal to operator. The DataSource results will have * FilterVariable values not equal to the value specified with * NE.

*/ inline void SetNE(const Aws::String& value) { m_nEHasBeenSet = true; m_nE = value; } /** *

The not equal to operator. The DataSource results will have * FilterVariable values not equal to the value specified with * NE.

*/ inline void SetNE(Aws::String&& value) { m_nEHasBeenSet = true; m_nE = std::move(value); } /** *

The not equal to operator. The DataSource results will have * FilterVariable values not equal to the value specified with * NE.

*/ inline void SetNE(const char* value) { m_nEHasBeenSet = true; m_nE.assign(value); } /** *

The not equal to operator. The DataSource results will have * FilterVariable values not equal to the value specified with * NE.

*/ inline DescribeDataSourcesRequest& WithNE(const Aws::String& value) { SetNE(value); return *this;} /** *

The not equal to operator. The DataSource results will have * FilterVariable values not equal to the value specified with * NE.

*/ inline DescribeDataSourcesRequest& WithNE(Aws::String&& value) { SetNE(std::move(value)); return *this;} /** *

The not equal to operator. The DataSource results will have * FilterVariable values not equal to the value specified with * NE.

*/ inline DescribeDataSourcesRequest& WithNE(const char* value) { SetNE(value); return *this;} /** *

A string that is found at the beginning of a variable, such as * Name or Id.

For example, a * DataSource could have the Name * 2014-09-09-HolidayGiftMailer. To search for this * DataSource, select Name for the * FilterVariable and any of the following strings for the * Prefix:

  • 2014-09

  • 2014-09-09

    *
  • 2014-09-09-Holiday

*/ inline const Aws::String& GetPrefix() const{ return m_prefix; } /** *

A string that is found at the beginning of a variable, such as * Name or Id.

For example, a * DataSource could have the Name * 2014-09-09-HolidayGiftMailer. To search for this * DataSource, select Name for the * FilterVariable and any of the following strings for the * Prefix:

  • 2014-09

  • 2014-09-09

    *
  • 2014-09-09-Holiday

*/ inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } /** *

A string that is found at the beginning of a variable, such as * Name or Id.

For example, a * DataSource could have the Name * 2014-09-09-HolidayGiftMailer. To search for this * DataSource, select Name for the * FilterVariable and any of the following strings for the * Prefix:

  • 2014-09

  • 2014-09-09

    *
  • 2014-09-09-Holiday

*/ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** *

A string that is found at the beginning of a variable, such as * Name or Id.

For example, a * DataSource could have the Name * 2014-09-09-HolidayGiftMailer. To search for this * DataSource, select Name for the * FilterVariable and any of the following strings for the * Prefix:

  • 2014-09

  • 2014-09-09

    *
  • 2014-09-09-Holiday

*/ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } /** *

A string that is found at the beginning of a variable, such as * Name or Id.

For example, a * DataSource could have the Name * 2014-09-09-HolidayGiftMailer. To search for this * DataSource, select Name for the * FilterVariable and any of the following strings for the * Prefix:

  • 2014-09

  • 2014-09-09

    *
  • 2014-09-09-Holiday

*/ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } /** *

A string that is found at the beginning of a variable, such as * Name or Id.

For example, a * DataSource could have the Name * 2014-09-09-HolidayGiftMailer. To search for this * DataSource, select Name for the * FilterVariable and any of the following strings for the * Prefix:

  • 2014-09

  • 2014-09-09

    *
  • 2014-09-09-Holiday

*/ inline DescribeDataSourcesRequest& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} /** *

A string that is found at the beginning of a variable, such as * Name or Id.

For example, a * DataSource could have the Name * 2014-09-09-HolidayGiftMailer. To search for this * DataSource, select Name for the * FilterVariable and any of the following strings for the * Prefix:

  • 2014-09

  • 2014-09-09

    *
  • 2014-09-09-Holiday

*/ inline DescribeDataSourcesRequest& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} /** *

A string that is found at the beginning of a variable, such as * Name or Id.

For example, a * DataSource could have the Name * 2014-09-09-HolidayGiftMailer. To search for this * DataSource, select Name for the * FilterVariable and any of the following strings for the * Prefix:

  • 2014-09

  • 2014-09-09

    *
  • 2014-09-09-Holiday

*/ inline DescribeDataSourcesRequest& WithPrefix(const char* value) { SetPrefix(value); return *this;} /** *

A two-value parameter that determines the sequence of the resulting list of * DataSource.

  • asc - Arranges the list * in ascending order (A-Z, 0-9).

  • dsc - Arranges * the list in descending order (Z-A, 9-0).

Results are sorted * by FilterVariable.

*/ inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } /** *

A two-value parameter that determines the sequence of the resulting list of * DataSource.

  • asc - Arranges the list * in ascending order (A-Z, 0-9).

  • dsc - Arranges * the list in descending order (Z-A, 9-0).

Results are sorted * by FilterVariable.

*/ inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } /** *

A two-value parameter that determines the sequence of the resulting list of * DataSource.

  • asc - Arranges the list * in ascending order (A-Z, 0-9).

  • dsc - Arranges * the list in descending order (Z-A, 9-0).

Results are sorted * by FilterVariable.

*/ inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; } /** *

A two-value parameter that determines the sequence of the resulting list of * DataSource.

  • asc - Arranges the list * in ascending order (A-Z, 0-9).

  • dsc - Arranges * the list in descending order (Z-A, 9-0).

Results are sorted * by FilterVariable.

*/ inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); } /** *

A two-value parameter that determines the sequence of the resulting list of * DataSource.

  • asc - Arranges the list * in ascending order (A-Z, 0-9).

  • dsc - Arranges * the list in descending order (Z-A, 9-0).

Results are sorted * by FilterVariable.

*/ inline DescribeDataSourcesRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} /** *

A two-value parameter that determines the sequence of the resulting list of * DataSource.

  • asc - Arranges the list * in ascending order (A-Z, 0-9).

  • dsc - Arranges * the list in descending order (Z-A, 9-0).

Results are sorted * by FilterVariable.

*/ inline DescribeDataSourcesRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;} /** *

The ID of the page in the paginated results.

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

The ID of the page in the paginated results.

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

The ID of the page in the paginated results.

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

The ID of the page in the paginated results.

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

The ID of the page in the paginated results.

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

The ID of the page in the paginated results.

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

The ID of the page in the paginated results.

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

The ID of the page in the paginated results.

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

The maximum number of DataSource to include in the result.

*/ inline int GetLimit() const{ return m_limit; } /** *

The maximum number of DataSource to include in the result.

*/ inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } /** *

The maximum number of DataSource to include in the result.

*/ inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; } /** *

The maximum number of DataSource to include in the result.

*/ inline DescribeDataSourcesRequest& WithLimit(int value) { SetLimit(value); return *this;} private: DataSourceFilterVariable m_filterVariable; bool m_filterVariableHasBeenSet = false; Aws::String m_eQ; bool m_eQHasBeenSet = false; Aws::String m_gT; bool m_gTHasBeenSet = false; Aws::String m_lT; bool m_lTHasBeenSet = false; Aws::String m_gE; bool m_gEHasBeenSet = false; Aws::String m_lE; bool m_lEHasBeenSet = false; Aws::String m_nE; bool m_nEHasBeenSet = false; Aws::String m_prefix; bool m_prefixHasBeenSet = false; SortOrder m_sortOrder; bool m_sortOrderHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_limit; bool m_limitHasBeenSet = false; }; } // namespace Model } // namespace MachineLearning } // namespace Aws