/** * 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 Detective { namespace Model { /** */ class BatchGetMembershipDatasourcesRequest : public DetectiveRequest { public: AWS_DETECTIVE_API BatchGetMembershipDatasourcesRequest(); // 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 "BatchGetMembershipDatasources"; } AWS_DETECTIVE_API Aws::String SerializePayload() const override; /** *

The ARN of the behavior graph.

*/ inline const Aws::Vector& GetGraphArns() const{ return m_graphArns; } /** *

The ARN of the behavior graph.

*/ inline bool GraphArnsHasBeenSet() const { return m_graphArnsHasBeenSet; } /** *

The ARN of the behavior graph.

*/ inline void SetGraphArns(const Aws::Vector& value) { m_graphArnsHasBeenSet = true; m_graphArns = value; } /** *

The ARN of the behavior graph.

*/ inline void SetGraphArns(Aws::Vector&& value) { m_graphArnsHasBeenSet = true; m_graphArns = std::move(value); } /** *

The ARN of the behavior graph.

*/ inline BatchGetMembershipDatasourcesRequest& WithGraphArns(const Aws::Vector& value) { SetGraphArns(value); return *this;} /** *

The ARN of the behavior graph.

*/ inline BatchGetMembershipDatasourcesRequest& WithGraphArns(Aws::Vector&& value) { SetGraphArns(std::move(value)); return *this;} /** *

The ARN of the behavior graph.

*/ inline BatchGetMembershipDatasourcesRequest& AddGraphArns(const Aws::String& value) { m_graphArnsHasBeenSet = true; m_graphArns.push_back(value); return *this; } /** *

The ARN of the behavior graph.

*/ inline BatchGetMembershipDatasourcesRequest& AddGraphArns(Aws::String&& value) { m_graphArnsHasBeenSet = true; m_graphArns.push_back(std::move(value)); return *this; } /** *

The ARN of the behavior graph.

*/ inline BatchGetMembershipDatasourcesRequest& AddGraphArns(const char* value) { m_graphArnsHasBeenSet = true; m_graphArns.push_back(value); return *this; } private: Aws::Vector m_graphArns; bool m_graphArnsHasBeenSet = false; }; } // namespace Model } // namespace Detective } // namespace Aws