/** * 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 Inspector { namespace Model { /** */ class DescribeExclusionsRequest : public InspectorRequest { public: AWS_INSPECTOR_API DescribeExclusionsRequest(); // 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 "DescribeExclusions"; } AWS_INSPECTOR_API Aws::String SerializePayload() const override; AWS_INSPECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The list of ARNs that specify the exclusions that you want to describe.

*/ inline const Aws::Vector& GetExclusionArns() const{ return m_exclusionArns; } /** *

The list of ARNs that specify the exclusions that you want to describe.

*/ inline bool ExclusionArnsHasBeenSet() const { return m_exclusionArnsHasBeenSet; } /** *

The list of ARNs that specify the exclusions that you want to describe.

*/ inline void SetExclusionArns(const Aws::Vector& value) { m_exclusionArnsHasBeenSet = true; m_exclusionArns = value; } /** *

The list of ARNs that specify the exclusions that you want to describe.

*/ inline void SetExclusionArns(Aws::Vector&& value) { m_exclusionArnsHasBeenSet = true; m_exclusionArns = std::move(value); } /** *

The list of ARNs that specify the exclusions that you want to describe.

*/ inline DescribeExclusionsRequest& WithExclusionArns(const Aws::Vector& value) { SetExclusionArns(value); return *this;} /** *

The list of ARNs that specify the exclusions that you want to describe.

*/ inline DescribeExclusionsRequest& WithExclusionArns(Aws::Vector&& value) { SetExclusionArns(std::move(value)); return *this;} /** *

The list of ARNs that specify the exclusions that you want to describe.

*/ inline DescribeExclusionsRequest& AddExclusionArns(const Aws::String& value) { m_exclusionArnsHasBeenSet = true; m_exclusionArns.push_back(value); return *this; } /** *

The list of ARNs that specify the exclusions that you want to describe.

*/ inline DescribeExclusionsRequest& AddExclusionArns(Aws::String&& value) { m_exclusionArnsHasBeenSet = true; m_exclusionArns.push_back(std::move(value)); return *this; } /** *

The list of ARNs that specify the exclusions that you want to describe.

*/ inline DescribeExclusionsRequest& AddExclusionArns(const char* value) { m_exclusionArnsHasBeenSet = true; m_exclusionArns.push_back(value); return *this; } /** *

The locale into which you want to translate the exclusion's title, * description, and recommendation.

*/ inline const Locale& GetLocale() const{ return m_locale; } /** *

The locale into which you want to translate the exclusion's title, * description, and recommendation.

*/ inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; } /** *

The locale into which you want to translate the exclusion's title, * description, and recommendation.

*/ inline void SetLocale(const Locale& value) { m_localeHasBeenSet = true; m_locale = value; } /** *

The locale into which you want to translate the exclusion's title, * description, and recommendation.

*/ inline void SetLocale(Locale&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); } /** *

The locale into which you want to translate the exclusion's title, * description, and recommendation.

*/ inline DescribeExclusionsRequest& WithLocale(const Locale& value) { SetLocale(value); return *this;} /** *

The locale into which you want to translate the exclusion's title, * description, and recommendation.

*/ inline DescribeExclusionsRequest& WithLocale(Locale&& value) { SetLocale(std::move(value)); return *this;} private: Aws::Vector m_exclusionArns; bool m_exclusionArnsHasBeenSet = false; Locale m_locale; bool m_localeHasBeenSet = false; }; } // namespace Model } // namespace Inspector } // namespace Aws