/** * 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 BatchGetGraphMemberDatasourcesRequest : public DetectiveRequest { public: AWS_DETECTIVE_API BatchGetGraphMemberDatasourcesRequest(); // 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 "BatchGetGraphMemberDatasources"; } AWS_DETECTIVE_API Aws::String SerializePayload() const override; /** *

The ARN of the behavior graph.

*/ inline const Aws::String& GetGraphArn() const{ return m_graphArn; } /** *

The ARN of the behavior graph.

*/ inline bool GraphArnHasBeenSet() const { return m_graphArnHasBeenSet; } /** *

The ARN of the behavior graph.

*/ inline void SetGraphArn(const Aws::String& value) { m_graphArnHasBeenSet = true; m_graphArn = value; } /** *

The ARN of the behavior graph.

*/ inline void SetGraphArn(Aws::String&& value) { m_graphArnHasBeenSet = true; m_graphArn = std::move(value); } /** *

The ARN of the behavior graph.

*/ inline void SetGraphArn(const char* value) { m_graphArnHasBeenSet = true; m_graphArn.assign(value); } /** *

The ARN of the behavior graph.

*/ inline BatchGetGraphMemberDatasourcesRequest& WithGraphArn(const Aws::String& value) { SetGraphArn(value); return *this;} /** *

The ARN of the behavior graph.

*/ inline BatchGetGraphMemberDatasourcesRequest& WithGraphArn(Aws::String&& value) { SetGraphArn(std::move(value)); return *this;} /** *

The ARN of the behavior graph.

*/ inline BatchGetGraphMemberDatasourcesRequest& WithGraphArn(const char* value) { SetGraphArn(value); return *this;} /** *

The list of Amazon Web Services accounts to get data source package * information on.

*/ inline const Aws::Vector& GetAccountIds() const{ return m_accountIds; } /** *

The list of Amazon Web Services accounts to get data source package * information on.

*/ inline bool AccountIdsHasBeenSet() const { return m_accountIdsHasBeenSet; } /** *

The list of Amazon Web Services accounts to get data source package * information on.

*/ inline void SetAccountIds(const Aws::Vector& value) { m_accountIdsHasBeenSet = true; m_accountIds = value; } /** *

The list of Amazon Web Services accounts to get data source package * information on.

*/ inline void SetAccountIds(Aws::Vector&& value) { m_accountIdsHasBeenSet = true; m_accountIds = std::move(value); } /** *

The list of Amazon Web Services accounts to get data source package * information on.

*/ inline BatchGetGraphMemberDatasourcesRequest& WithAccountIds(const Aws::Vector& value) { SetAccountIds(value); return *this;} /** *

The list of Amazon Web Services accounts to get data source package * information on.

*/ inline BatchGetGraphMemberDatasourcesRequest& WithAccountIds(Aws::Vector&& value) { SetAccountIds(std::move(value)); return *this;} /** *

The list of Amazon Web Services accounts to get data source package * information on.

*/ inline BatchGetGraphMemberDatasourcesRequest& AddAccountIds(const Aws::String& value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(value); return *this; } /** *

The list of Amazon Web Services accounts to get data source package * information on.

*/ inline BatchGetGraphMemberDatasourcesRequest& AddAccountIds(Aws::String&& value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(std::move(value)); return *this; } /** *

The list of Amazon Web Services accounts to get data source package * information on.

*/ inline BatchGetGraphMemberDatasourcesRequest& AddAccountIds(const char* value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(value); return *this; } private: Aws::String m_graphArn; bool m_graphArnHasBeenSet = false; Aws::Vector m_accountIds; bool m_accountIdsHasBeenSet = false; }; } // namespace Model } // namespace Detective } // namespace Aws