/** * 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 EntityResolution { namespace Model { /** */ class GetMatchIdRequest : public EntityResolutionRequest { public: AWS_ENTITYRESOLUTION_API GetMatchIdRequest(); // 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 "GetMatchId"; } AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override; /** *

The record to fetch the Match ID for.

*/ inline const Aws::Map& GetRecord() const{ return m_record; } /** *

The record to fetch the Match ID for.

*/ inline bool RecordHasBeenSet() const { return m_recordHasBeenSet; } /** *

The record to fetch the Match ID for.

*/ inline void SetRecord(const Aws::Map& value) { m_recordHasBeenSet = true; m_record = value; } /** *

The record to fetch the Match ID for.

*/ inline void SetRecord(Aws::Map&& value) { m_recordHasBeenSet = true; m_record = std::move(value); } /** *

The record to fetch the Match ID for.

*/ inline GetMatchIdRequest& WithRecord(const Aws::Map& value) { SetRecord(value); return *this;} /** *

The record to fetch the Match ID for.

*/ inline GetMatchIdRequest& WithRecord(Aws::Map&& value) { SetRecord(std::move(value)); return *this;} /** *

The record to fetch the Match ID for.

*/ inline GetMatchIdRequest& AddRecord(const Aws::String& key, const Aws::String& value) { m_recordHasBeenSet = true; m_record.emplace(key, value); return *this; } /** *

The record to fetch the Match ID for.

*/ inline GetMatchIdRequest& AddRecord(Aws::String&& key, const Aws::String& value) { m_recordHasBeenSet = true; m_record.emplace(std::move(key), value); return *this; } /** *

The record to fetch the Match ID for.

*/ inline GetMatchIdRequest& AddRecord(const Aws::String& key, Aws::String&& value) { m_recordHasBeenSet = true; m_record.emplace(key, std::move(value)); return *this; } /** *

The record to fetch the Match ID for.

*/ inline GetMatchIdRequest& AddRecord(Aws::String&& key, Aws::String&& value) { m_recordHasBeenSet = true; m_record.emplace(std::move(key), std::move(value)); return *this; } /** *

The record to fetch the Match ID for.

*/ inline GetMatchIdRequest& AddRecord(const char* key, Aws::String&& value) { m_recordHasBeenSet = true; m_record.emplace(key, std::move(value)); return *this; } /** *

The record to fetch the Match ID for.

*/ inline GetMatchIdRequest& AddRecord(Aws::String&& key, const char* value) { m_recordHasBeenSet = true; m_record.emplace(std::move(key), value); return *this; } /** *

The record to fetch the Match ID for.

*/ inline GetMatchIdRequest& AddRecord(const char* key, const char* value) { m_recordHasBeenSet = true; m_record.emplace(key, value); return *this; } /** *

The name of the workflow.

*/ inline const Aws::String& GetWorkflowName() const{ return m_workflowName; } /** *

The name of the workflow.

*/ inline bool WorkflowNameHasBeenSet() const { return m_workflowNameHasBeenSet; } /** *

The name of the workflow.

*/ inline void SetWorkflowName(const Aws::String& value) { m_workflowNameHasBeenSet = true; m_workflowName = value; } /** *

The name of the workflow.

*/ inline void SetWorkflowName(Aws::String&& value) { m_workflowNameHasBeenSet = true; m_workflowName = std::move(value); } /** *

The name of the workflow.

*/ inline void SetWorkflowName(const char* value) { m_workflowNameHasBeenSet = true; m_workflowName.assign(value); } /** *

The name of the workflow.

*/ inline GetMatchIdRequest& WithWorkflowName(const Aws::String& value) { SetWorkflowName(value); return *this;} /** *

The name of the workflow.

*/ inline GetMatchIdRequest& WithWorkflowName(Aws::String&& value) { SetWorkflowName(std::move(value)); return *this;} /** *

The name of the workflow.

*/ inline GetMatchIdRequest& WithWorkflowName(const char* value) { SetWorkflowName(value); return *this;} private: Aws::Map m_record; bool m_recordHasBeenSet = false; Aws::String m_workflowName; bool m_workflowNameHasBeenSet = false; }; } // namespace Model } // namespace EntityResolution } // namespace Aws