/** * 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 RolesAnywhere { namespace Model { /** */ class DisableCrlRequest : public RolesAnywhereRequest { public: AWS_ROLESANYWHERE_API DisableCrlRequest(); // 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 "DisableCrl"; } AWS_ROLESANYWHERE_API Aws::String SerializePayload() const override; /** *

The unique identifier of the certificate revocation list (CRL).

*/ inline const Aws::String& GetCrlId() const{ return m_crlId; } /** *

The unique identifier of the certificate revocation list (CRL).

*/ inline bool CrlIdHasBeenSet() const { return m_crlIdHasBeenSet; } /** *

The unique identifier of the certificate revocation list (CRL).

*/ inline void SetCrlId(const Aws::String& value) { m_crlIdHasBeenSet = true; m_crlId = value; } /** *

The unique identifier of the certificate revocation list (CRL).

*/ inline void SetCrlId(Aws::String&& value) { m_crlIdHasBeenSet = true; m_crlId = std::move(value); } /** *

The unique identifier of the certificate revocation list (CRL).

*/ inline void SetCrlId(const char* value) { m_crlIdHasBeenSet = true; m_crlId.assign(value); } /** *

The unique identifier of the certificate revocation list (CRL).

*/ inline DisableCrlRequest& WithCrlId(const Aws::String& value) { SetCrlId(value); return *this;} /** *

The unique identifier of the certificate revocation list (CRL).

*/ inline DisableCrlRequest& WithCrlId(Aws::String&& value) { SetCrlId(std::move(value)); return *this;} /** *

The unique identifier of the certificate revocation list (CRL).

*/ inline DisableCrlRequest& WithCrlId(const char* value) { SetCrlId(value); return *this;} private: Aws::String m_crlId; bool m_crlIdHasBeenSet = false; }; } // namespace Model } // namespace RolesAnywhere } // namespace Aws