/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace MTurk { namespace Model { /** */ class AcceptQualificationRequestRequest : public MTurkRequest { public: AWS_MTURK_API AcceptQualificationRequestRequest(); // 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 "AcceptQualificationRequest"; } AWS_MTURK_API Aws::String SerializePayload() const override; AWS_MTURK_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the Qualification request, as returned by the * GetQualificationRequests operation.

*/ inline const Aws::String& GetQualificationRequestId() const{ return m_qualificationRequestId; } /** *

The ID of the Qualification request, as returned by the * GetQualificationRequests operation.

*/ inline bool QualificationRequestIdHasBeenSet() const { return m_qualificationRequestIdHasBeenSet; } /** *

The ID of the Qualification request, as returned by the * GetQualificationRequests operation.

*/ inline void SetQualificationRequestId(const Aws::String& value) { m_qualificationRequestIdHasBeenSet = true; m_qualificationRequestId = value; } /** *

The ID of the Qualification request, as returned by the * GetQualificationRequests operation.

*/ inline void SetQualificationRequestId(Aws::String&& value) { m_qualificationRequestIdHasBeenSet = true; m_qualificationRequestId = std::move(value); } /** *

The ID of the Qualification request, as returned by the * GetQualificationRequests operation.

*/ inline void SetQualificationRequestId(const char* value) { m_qualificationRequestIdHasBeenSet = true; m_qualificationRequestId.assign(value); } /** *

The ID of the Qualification request, as returned by the * GetQualificationRequests operation.

*/ inline AcceptQualificationRequestRequest& WithQualificationRequestId(const Aws::String& value) { SetQualificationRequestId(value); return *this;} /** *

The ID of the Qualification request, as returned by the * GetQualificationRequests operation.

*/ inline AcceptQualificationRequestRequest& WithQualificationRequestId(Aws::String&& value) { SetQualificationRequestId(std::move(value)); return *this;} /** *

The ID of the Qualification request, as returned by the * GetQualificationRequests operation.

*/ inline AcceptQualificationRequestRequest& WithQualificationRequestId(const char* value) { SetQualificationRequestId(value); return *this;} /** *

The value of the Qualification. You can omit this value if you are using the * presence or absence of the Qualification as the basis for a HIT requirement. *

*/ inline int GetIntegerValue() const{ return m_integerValue; } /** *

The value of the Qualification. You can omit this value if you are using the * presence or absence of the Qualification as the basis for a HIT requirement. *

*/ inline bool IntegerValueHasBeenSet() const { return m_integerValueHasBeenSet; } /** *

The value of the Qualification. You can omit this value if you are using the * presence or absence of the Qualification as the basis for a HIT requirement. *

*/ inline void SetIntegerValue(int value) { m_integerValueHasBeenSet = true; m_integerValue = value; } /** *

The value of the Qualification. You can omit this value if you are using the * presence or absence of the Qualification as the basis for a HIT requirement. *

*/ inline AcceptQualificationRequestRequest& WithIntegerValue(int value) { SetIntegerValue(value); return *this;} private: Aws::String m_qualificationRequestId; bool m_qualificationRequestIdHasBeenSet = false; int m_integerValue; bool m_integerValueHasBeenSet = false; }; } // namespace Model } // namespace MTurk } // namespace Aws