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

A list of Amazon * resource names (ARNs) that identify the views you want details for.

*/ inline const Aws::Vector& GetViewArns() const{ return m_viewArns; } /** *

A list of Amazon * resource names (ARNs) that identify the views you want details for.

*/ inline bool ViewArnsHasBeenSet() const { return m_viewArnsHasBeenSet; } /** *

A list of Amazon * resource names (ARNs) that identify the views you want details for.

*/ inline void SetViewArns(const Aws::Vector& value) { m_viewArnsHasBeenSet = true; m_viewArns = value; } /** *

A list of Amazon * resource names (ARNs) that identify the views you want details for.

*/ inline void SetViewArns(Aws::Vector&& value) { m_viewArnsHasBeenSet = true; m_viewArns = std::move(value); } /** *

A list of Amazon * resource names (ARNs) that identify the views you want details for.

*/ inline BatchGetViewRequest& WithViewArns(const Aws::Vector& value) { SetViewArns(value); return *this;} /** *

A list of Amazon * resource names (ARNs) that identify the views you want details for.

*/ inline BatchGetViewRequest& WithViewArns(Aws::Vector&& value) { SetViewArns(std::move(value)); return *this;} /** *

A list of Amazon * resource names (ARNs) that identify the views you want details for.

*/ inline BatchGetViewRequest& AddViewArns(const Aws::String& value) { m_viewArnsHasBeenSet = true; m_viewArns.push_back(value); return *this; } /** *

A list of Amazon * resource names (ARNs) that identify the views you want details for.

*/ inline BatchGetViewRequest& AddViewArns(Aws::String&& value) { m_viewArnsHasBeenSet = true; m_viewArns.push_back(std::move(value)); return *this; } /** *

A list of Amazon * resource names (ARNs) that identify the views you want details for.

*/ inline BatchGetViewRequest& AddViewArns(const char* value) { m_viewArnsHasBeenSet = true; m_viewArns.push_back(value); return *this; } private: Aws::Vector m_viewArns; bool m_viewArnsHasBeenSet = false; }; } // namespace Model } // namespace ResourceExplorer2 } // namespace Aws