/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace ResourceExplorer2 { namespace Model { /** */ class UpdateViewRequest : public ResourceExplorer2Request { public: AWS_RESOURCEEXPLORER2_API UpdateViewRequest(); // 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 "UpdateView"; } AWS_RESOURCEEXPLORER2_API Aws::String SerializePayload() const override; /** *

An array of strings that specify which resources are included in the results * of queries made using this view. When you use this view in a Search * operation, the filter string is combined with the search's * QueryString parameter using a logical AND * operator.

For information about the supported syntax, see Search * query reference for Resource Explorer in the Amazon Web Services Resource * Explorer User Guide.

This query string in the context of * this operation supports only filter * prefixes with optional operators. * It doesn't support free-form text. For example, the string region:us* * service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any * Amazon Web Services Region that begins with the letters us and is * not tagged with a key Stage that has the value * prod.

*/ inline const SearchFilter& GetFilters() const{ return m_filters; } /** *

An array of strings that specify which resources are included in the results * of queries made using this view. When you use this view in a Search * operation, the filter string is combined with the search's * QueryString parameter using a logical AND * operator.

For information about the supported syntax, see Search * query reference for Resource Explorer in the Amazon Web Services Resource * Explorer User Guide.

This query string in the context of * this operation supports only filter * prefixes with optional operators. * It doesn't support free-form text. For example, the string region:us* * service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any * Amazon Web Services Region that begins with the letters us and is * not tagged with a key Stage that has the value * prod.

*/ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *

An array of strings that specify which resources are included in the results * of queries made using this view. When you use this view in a Search * operation, the filter string is combined with the search's * QueryString parameter using a logical AND * operator.

For information about the supported syntax, see Search * query reference for Resource Explorer in the Amazon Web Services Resource * Explorer User Guide.

This query string in the context of * this operation supports only filter * prefixes with optional operators. * It doesn't support free-form text. For example, the string region:us* * service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any * Amazon Web Services Region that begins with the letters us and is * not tagged with a key Stage that has the value * prod.

*/ inline void SetFilters(const SearchFilter& value) { m_filtersHasBeenSet = true; m_filters = value; } /** *

An array of strings that specify which resources are included in the results * of queries made using this view. When you use this view in a Search * operation, the filter string is combined with the search's * QueryString parameter using a logical AND * operator.

For information about the supported syntax, see Search * query reference for Resource Explorer in the Amazon Web Services Resource * Explorer User Guide.

This query string in the context of * this operation supports only filter * prefixes with optional operators. * It doesn't support free-form text. For example, the string region:us* * service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any * Amazon Web Services Region that begins with the letters us and is * not tagged with a key Stage that has the value * prod.

*/ inline void SetFilters(SearchFilter&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } /** *

An array of strings that specify which resources are included in the results * of queries made using this view. When you use this view in a Search * operation, the filter string is combined with the search's * QueryString parameter using a logical AND * operator.

For information about the supported syntax, see Search * query reference for Resource Explorer in the Amazon Web Services Resource * Explorer User Guide.

This query string in the context of * this operation supports only filter * prefixes with optional operators. * It doesn't support free-form text. For example, the string region:us* * service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any * Amazon Web Services Region that begins with the letters us and is * not tagged with a key Stage that has the value * prod.

*/ inline UpdateViewRequest& WithFilters(const SearchFilter& value) { SetFilters(value); return *this;} /** *

An array of strings that specify which resources are included in the results * of queries made using this view. When you use this view in a Search * operation, the filter string is combined with the search's * QueryString parameter using a logical AND * operator.

For information about the supported syntax, see Search * query reference for Resource Explorer in the Amazon Web Services Resource * Explorer User Guide.

This query string in the context of * this operation supports only filter * prefixes with optional operators. * It doesn't support free-form text. For example, the string region:us* * service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any * Amazon Web Services Region that begins with the letters us and is * not tagged with a key Stage that has the value * prod.

*/ inline UpdateViewRequest& WithFilters(SearchFilter&& value) { SetFilters(std::move(value)); return *this;} /** *

Specifies optional fields that you want included in search results from this * view. It is a list of objects that each describe a field to include.

The * default is an empty list, with no optional fields included in the results.

*/ inline const Aws::Vector& GetIncludedProperties() const{ return m_includedProperties; } /** *

Specifies optional fields that you want included in search results from this * view. It is a list of objects that each describe a field to include.

The * default is an empty list, with no optional fields included in the results.

*/ inline bool IncludedPropertiesHasBeenSet() const { return m_includedPropertiesHasBeenSet; } /** *

Specifies optional fields that you want included in search results from this * view. It is a list of objects that each describe a field to include.

The * default is an empty list, with no optional fields included in the results.

*/ inline void SetIncludedProperties(const Aws::Vector& value) { m_includedPropertiesHasBeenSet = true; m_includedProperties = value; } /** *

Specifies optional fields that you want included in search results from this * view. It is a list of objects that each describe a field to include.

The * default is an empty list, with no optional fields included in the results.

*/ inline void SetIncludedProperties(Aws::Vector&& value) { m_includedPropertiesHasBeenSet = true; m_includedProperties = std::move(value); } /** *

Specifies optional fields that you want included in search results from this * view. It is a list of objects that each describe a field to include.

The * default is an empty list, with no optional fields included in the results.

*/ inline UpdateViewRequest& WithIncludedProperties(const Aws::Vector& value) { SetIncludedProperties(value); return *this;} /** *

Specifies optional fields that you want included in search results from this * view. It is a list of objects that each describe a field to include.

The * default is an empty list, with no optional fields included in the results.

*/ inline UpdateViewRequest& WithIncludedProperties(Aws::Vector&& value) { SetIncludedProperties(std::move(value)); return *this;} /** *

Specifies optional fields that you want included in search results from this * view. It is a list of objects that each describe a field to include.

The * default is an empty list, with no optional fields included in the results.

*/ inline UpdateViewRequest& AddIncludedProperties(const IncludedProperty& value) { m_includedPropertiesHasBeenSet = true; m_includedProperties.push_back(value); return *this; } /** *

Specifies optional fields that you want included in search results from this * view. It is a list of objects that each describe a field to include.

The * default is an empty list, with no optional fields included in the results.

*/ inline UpdateViewRequest& AddIncludedProperties(IncludedProperty&& value) { m_includedPropertiesHasBeenSet = true; m_includedProperties.push_back(std::move(value)); return *this; } /** *

The Amazon * resource name (ARN) of the view that you want to modify.

*/ inline const Aws::String& GetViewArn() const{ return m_viewArn; } /** *

The Amazon * resource name (ARN) of the view that you want to modify.

*/ inline bool ViewArnHasBeenSet() const { return m_viewArnHasBeenSet; } /** *

The Amazon * resource name (ARN) of the view that you want to modify.

*/ inline void SetViewArn(const Aws::String& value) { m_viewArnHasBeenSet = true; m_viewArn = value; } /** *

The Amazon * resource name (ARN) of the view that you want to modify.

*/ inline void SetViewArn(Aws::String&& value) { m_viewArnHasBeenSet = true; m_viewArn = std::move(value); } /** *

The Amazon * resource name (ARN) of the view that you want to modify.

*/ inline void SetViewArn(const char* value) { m_viewArnHasBeenSet = true; m_viewArn.assign(value); } /** *

The Amazon * resource name (ARN) of the view that you want to modify.

*/ inline UpdateViewRequest& WithViewArn(const Aws::String& value) { SetViewArn(value); return *this;} /** *

The Amazon * resource name (ARN) of the view that you want to modify.

*/ inline UpdateViewRequest& WithViewArn(Aws::String&& value) { SetViewArn(std::move(value)); return *this;} /** *

The Amazon * resource name (ARN) of the view that you want to modify.

*/ inline UpdateViewRequest& WithViewArn(const char* value) { SetViewArn(value); return *this;} private: SearchFilter m_filters; bool m_filtersHasBeenSet = false; Aws::Vector m_includedProperties; bool m_includedPropertiesHasBeenSet = false; Aws::String m_viewArn; bool m_viewArnHasBeenSet = false; }; } // namespace Model } // namespace ResourceExplorer2 } // namespace Aws