/** * 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 Support { namespace Model { /** */ class ResolveCaseRequest : public SupportRequest { public: AWS_SUPPORT_API ResolveCaseRequest(); // 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 "ResolveCase"; } AWS_SUPPORT_API Aws::String SerializePayload() const override; AWS_SUPPORT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The support case ID requested or returned in the call. The case ID is an * alphanumeric string formatted as shown in this example: * case-12345678910-2013-c4c1d2bf33c5cf47

*/ inline const Aws::String& GetCaseId() const{ return m_caseId; } /** *

The support case ID requested or returned in the call. The case ID is an * alphanumeric string formatted as shown in this example: * case-12345678910-2013-c4c1d2bf33c5cf47

*/ inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; } /** *

The support case ID requested or returned in the call. The case ID is an * alphanumeric string formatted as shown in this example: * case-12345678910-2013-c4c1d2bf33c5cf47

*/ inline void SetCaseId(const Aws::String& value) { m_caseIdHasBeenSet = true; m_caseId = value; } /** *

The support case ID requested or returned in the call. The case ID is an * alphanumeric string formatted as shown in this example: * case-12345678910-2013-c4c1d2bf33c5cf47

*/ inline void SetCaseId(Aws::String&& value) { m_caseIdHasBeenSet = true; m_caseId = std::move(value); } /** *

The support case ID requested or returned in the call. The case ID is an * alphanumeric string formatted as shown in this example: * case-12345678910-2013-c4c1d2bf33c5cf47

*/ inline void SetCaseId(const char* value) { m_caseIdHasBeenSet = true; m_caseId.assign(value); } /** *

The support case ID requested or returned in the call. The case ID is an * alphanumeric string formatted as shown in this example: * case-12345678910-2013-c4c1d2bf33c5cf47

*/ inline ResolveCaseRequest& WithCaseId(const Aws::String& value) { SetCaseId(value); return *this;} /** *

The support case ID requested or returned in the call. The case ID is an * alphanumeric string formatted as shown in this example: * case-12345678910-2013-c4c1d2bf33c5cf47

*/ inline ResolveCaseRequest& WithCaseId(Aws::String&& value) { SetCaseId(std::move(value)); return *this;} /** *

The support case ID requested or returned in the call. The case ID is an * alphanumeric string formatted as shown in this example: * case-12345678910-2013-c4c1d2bf33c5cf47

*/ inline ResolveCaseRequest& WithCaseId(const char* value) { SetCaseId(value); return *this;} private: Aws::String m_caseId; bool m_caseIdHasBeenSet = false; }; } // namespace Model } // namespace Support } // namespace Aws