/** * 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 SSM { namespace Model { /** */ class DescribeOpsItemsRequest : public SSMRequest { public: AWS_SSM_API DescribeOpsItemsRequest(); // 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 "DescribeOpsItems"; } AWS_SSM_API Aws::String SerializePayload() const override; AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

One or more filters to limit the response.

  • Key: * CreatedTime

    Operations: GreaterThan, LessThan

  • Key: * LastModifiedBy

    Operations: Contains, Equals

  • Key: * LastModifiedTime

    Operations: GreaterThan, LessThan

  • Key: * Priority

    Operations: Equals

  • Key: Source

    *

    Operations: Contains, Equals

  • Key: Status

    Operations: * Equals

  • Key: Title*

    Operations: Equals,Contains

    *
  • Key: OperationalData**

    Operations: Equals

  • *

    Key: OperationalDataKey

    Operations: Equals

  • Key: * OperationalDataValue

    Operations: Equals, Contains

  • Key: * OpsItemId

    Operations: Equals

  • Key: ResourceId

    *

    Operations: Contains

  • Key: AutomationId

    Operations: * Equals

  • Key: AccountId

    Operations: Equals

  • *

*The Equals operator for Title matches the first 100 characters. If you * specify more than 100 characters, they system returns an error that the filter * value exceeds the length limit.

**If you filter the response by using the * OperationalData operator, specify a key-value pair by using the following JSON * format: {"key":"key_name","value":"a_value"}

*/ inline const Aws::Vector& GetOpsItemFilters() const{ return m_opsItemFilters; } /** *

One or more filters to limit the response.

  • Key: * CreatedTime

    Operations: GreaterThan, LessThan

  • Key: * LastModifiedBy

    Operations: Contains, Equals

  • Key: * LastModifiedTime

    Operations: GreaterThan, LessThan

  • Key: * Priority

    Operations: Equals

  • Key: Source

    *

    Operations: Contains, Equals

  • Key: Status

    Operations: * Equals

  • Key: Title*

    Operations: Equals,Contains

    *
  • Key: OperationalData**

    Operations: Equals

  • *

    Key: OperationalDataKey

    Operations: Equals

  • Key: * OperationalDataValue

    Operations: Equals, Contains

  • Key: * OpsItemId

    Operations: Equals

  • Key: ResourceId

    *

    Operations: Contains

  • Key: AutomationId

    Operations: * Equals

  • Key: AccountId

    Operations: Equals

  • *

*The Equals operator for Title matches the first 100 characters. If you * specify more than 100 characters, they system returns an error that the filter * value exceeds the length limit.

**If you filter the response by using the * OperationalData operator, specify a key-value pair by using the following JSON * format: {"key":"key_name","value":"a_value"}

*/ inline bool OpsItemFiltersHasBeenSet() const { return m_opsItemFiltersHasBeenSet; } /** *

One or more filters to limit the response.

  • Key: * CreatedTime

    Operations: GreaterThan, LessThan

  • Key: * LastModifiedBy

    Operations: Contains, Equals

  • Key: * LastModifiedTime

    Operations: GreaterThan, LessThan

  • Key: * Priority

    Operations: Equals

  • Key: Source

    *

    Operations: Contains, Equals

  • Key: Status

    Operations: * Equals

  • Key: Title*

    Operations: Equals,Contains

    *
  • Key: OperationalData**

    Operations: Equals

  • *

    Key: OperationalDataKey

    Operations: Equals

  • Key: * OperationalDataValue

    Operations: Equals, Contains

  • Key: * OpsItemId

    Operations: Equals

  • Key: ResourceId

    *

    Operations: Contains

  • Key: AutomationId

    Operations: * Equals

  • Key: AccountId

    Operations: Equals

  • *

*The Equals operator for Title matches the first 100 characters. If you * specify more than 100 characters, they system returns an error that the filter * value exceeds the length limit.

**If you filter the response by using the * OperationalData operator, specify a key-value pair by using the following JSON * format: {"key":"key_name","value":"a_value"}

*/ inline void SetOpsItemFilters(const Aws::Vector& value) { m_opsItemFiltersHasBeenSet = true; m_opsItemFilters = value; } /** *

One or more filters to limit the response.

  • Key: * CreatedTime

    Operations: GreaterThan, LessThan

  • Key: * LastModifiedBy

    Operations: Contains, Equals

  • Key: * LastModifiedTime

    Operations: GreaterThan, LessThan

  • Key: * Priority

    Operations: Equals

  • Key: Source

    *

    Operations: Contains, Equals

  • Key: Status

    Operations: * Equals

  • Key: Title*

    Operations: Equals,Contains

    *
  • Key: OperationalData**

    Operations: Equals

  • *

    Key: OperationalDataKey

    Operations: Equals

  • Key: * OperationalDataValue

    Operations: Equals, Contains

  • Key: * OpsItemId

    Operations: Equals

  • Key: ResourceId

    *

    Operations: Contains

  • Key: AutomationId

    Operations: * Equals

  • Key: AccountId

    Operations: Equals

  • *

*The Equals operator for Title matches the first 100 characters. If you * specify more than 100 characters, they system returns an error that the filter * value exceeds the length limit.

**If you filter the response by using the * OperationalData operator, specify a key-value pair by using the following JSON * format: {"key":"key_name","value":"a_value"}

*/ inline void SetOpsItemFilters(Aws::Vector&& value) { m_opsItemFiltersHasBeenSet = true; m_opsItemFilters = std::move(value); } /** *

One or more filters to limit the response.

  • Key: * CreatedTime

    Operations: GreaterThan, LessThan

  • Key: * LastModifiedBy

    Operations: Contains, Equals

  • Key: * LastModifiedTime

    Operations: GreaterThan, LessThan

  • Key: * Priority

    Operations: Equals

  • Key: Source

    *

    Operations: Contains, Equals

  • Key: Status

    Operations: * Equals

  • Key: Title*

    Operations: Equals,Contains

    *
  • Key: OperationalData**

    Operations: Equals

  • *

    Key: OperationalDataKey

    Operations: Equals

  • Key: * OperationalDataValue

    Operations: Equals, Contains

  • Key: * OpsItemId

    Operations: Equals

  • Key: ResourceId

    *

    Operations: Contains

  • Key: AutomationId

    Operations: * Equals

  • Key: AccountId

    Operations: Equals

  • *

*The Equals operator for Title matches the first 100 characters. If you * specify more than 100 characters, they system returns an error that the filter * value exceeds the length limit.

**If you filter the response by using the * OperationalData operator, specify a key-value pair by using the following JSON * format: {"key":"key_name","value":"a_value"}

*/ inline DescribeOpsItemsRequest& WithOpsItemFilters(const Aws::Vector& value) { SetOpsItemFilters(value); return *this;} /** *

One or more filters to limit the response.

  • Key: * CreatedTime

    Operations: GreaterThan, LessThan

  • Key: * LastModifiedBy

    Operations: Contains, Equals

  • Key: * LastModifiedTime

    Operations: GreaterThan, LessThan

  • Key: * Priority

    Operations: Equals

  • Key: Source

    *

    Operations: Contains, Equals

  • Key: Status

    Operations: * Equals

  • Key: Title*

    Operations: Equals,Contains

    *
  • Key: OperationalData**

    Operations: Equals

  • *

    Key: OperationalDataKey

    Operations: Equals

  • Key: * OperationalDataValue

    Operations: Equals, Contains

  • Key: * OpsItemId

    Operations: Equals

  • Key: ResourceId

    *

    Operations: Contains

  • Key: AutomationId

    Operations: * Equals

  • Key: AccountId

    Operations: Equals

  • *

*The Equals operator for Title matches the first 100 characters. If you * specify more than 100 characters, they system returns an error that the filter * value exceeds the length limit.

**If you filter the response by using the * OperationalData operator, specify a key-value pair by using the following JSON * format: {"key":"key_name","value":"a_value"}

*/ inline DescribeOpsItemsRequest& WithOpsItemFilters(Aws::Vector&& value) { SetOpsItemFilters(std::move(value)); return *this;} /** *

One or more filters to limit the response.

  • Key: * CreatedTime

    Operations: GreaterThan, LessThan

  • Key: * LastModifiedBy

    Operations: Contains, Equals

  • Key: * LastModifiedTime

    Operations: GreaterThan, LessThan

  • Key: * Priority

    Operations: Equals

  • Key: Source

    *

    Operations: Contains, Equals

  • Key: Status

    Operations: * Equals

  • Key: Title*

    Operations: Equals,Contains

    *
  • Key: OperationalData**

    Operations: Equals

  • *

    Key: OperationalDataKey

    Operations: Equals

  • Key: * OperationalDataValue

    Operations: Equals, Contains

  • Key: * OpsItemId

    Operations: Equals

  • Key: ResourceId

    *

    Operations: Contains

  • Key: AutomationId

    Operations: * Equals

  • Key: AccountId

    Operations: Equals

  • *

*The Equals operator for Title matches the first 100 characters. If you * specify more than 100 characters, they system returns an error that the filter * value exceeds the length limit.

**If you filter the response by using the * OperationalData operator, specify a key-value pair by using the following JSON * format: {"key":"key_name","value":"a_value"}

*/ inline DescribeOpsItemsRequest& AddOpsItemFilters(const OpsItemFilter& value) { m_opsItemFiltersHasBeenSet = true; m_opsItemFilters.push_back(value); return *this; } /** *

One or more filters to limit the response.

  • Key: * CreatedTime

    Operations: GreaterThan, LessThan

  • Key: * LastModifiedBy

    Operations: Contains, Equals

  • Key: * LastModifiedTime

    Operations: GreaterThan, LessThan

  • Key: * Priority

    Operations: Equals

  • Key: Source

    *

    Operations: Contains, Equals

  • Key: Status

    Operations: * Equals

  • Key: Title*

    Operations: Equals,Contains

    *
  • Key: OperationalData**

    Operations: Equals

  • *

    Key: OperationalDataKey

    Operations: Equals

  • Key: * OperationalDataValue

    Operations: Equals, Contains

  • Key: * OpsItemId

    Operations: Equals

  • Key: ResourceId

    *

    Operations: Contains

  • Key: AutomationId

    Operations: * Equals

  • Key: AccountId

    Operations: Equals

  • *

*The Equals operator for Title matches the first 100 characters. If you * specify more than 100 characters, they system returns an error that the filter * value exceeds the length limit.

**If you filter the response by using the * OperationalData operator, specify a key-value pair by using the following JSON * format: {"key":"key_name","value":"a_value"}

*/ inline DescribeOpsItemsRequest& AddOpsItemFilters(OpsItemFilter&& value) { m_opsItemFiltersHasBeenSet = true; m_opsItemFilters.push_back(std::move(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 DescribeOpsItemsRequest& 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 DescribeOpsItemsRequest& 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 DescribeOpsItemsRequest& 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 DescribeOpsItemsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_opsItemFilters; bool m_opsItemFiltersHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws