/** * 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 { /** *

See Also:

AWS * API Reference

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

The unique identifier for the Trusted Advisor check to refresh.

*

Specifying the check ID of a check that is automatically refreshed causes an * InvalidParameterValue error.

*/ inline const Aws::String& GetCheckId() const{ return m_checkId; } /** *

The unique identifier for the Trusted Advisor check to refresh.

*

Specifying the check ID of a check that is automatically refreshed causes an * InvalidParameterValue error.

*/ inline bool CheckIdHasBeenSet() const { return m_checkIdHasBeenSet; } /** *

The unique identifier for the Trusted Advisor check to refresh.

*

Specifying the check ID of a check that is automatically refreshed causes an * InvalidParameterValue error.

*/ inline void SetCheckId(const Aws::String& value) { m_checkIdHasBeenSet = true; m_checkId = value; } /** *

The unique identifier for the Trusted Advisor check to refresh.

*

Specifying the check ID of a check that is automatically refreshed causes an * InvalidParameterValue error.

*/ inline void SetCheckId(Aws::String&& value) { m_checkIdHasBeenSet = true; m_checkId = std::move(value); } /** *

The unique identifier for the Trusted Advisor check to refresh.

*

Specifying the check ID of a check that is automatically refreshed causes an * InvalidParameterValue error.

*/ inline void SetCheckId(const char* value) { m_checkIdHasBeenSet = true; m_checkId.assign(value); } /** *

The unique identifier for the Trusted Advisor check to refresh.

*

Specifying the check ID of a check that is automatically refreshed causes an * InvalidParameterValue error.

*/ inline RefreshTrustedAdvisorCheckRequest& WithCheckId(const Aws::String& value) { SetCheckId(value); return *this;} /** *

The unique identifier for the Trusted Advisor check to refresh.

*

Specifying the check ID of a check that is automatically refreshed causes an * InvalidParameterValue error.

*/ inline RefreshTrustedAdvisorCheckRequest& WithCheckId(Aws::String&& value) { SetCheckId(std::move(value)); return *this;} /** *

The unique identifier for the Trusted Advisor check to refresh.

*

Specifying the check ID of a check that is automatically refreshed causes an * InvalidParameterValue error.

*/ inline RefreshTrustedAdvisorCheckRequest& WithCheckId(const char* value) { SetCheckId(value); return *this;} private: Aws::String m_checkId; bool m_checkIdHasBeenSet = false; }; } // namespace Model } // namespace Support } // namespace Aws