/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace IoT { namespace Model { /** *

The input for the CreateKeysAndCertificate operation.

Requires * permission to access the CreateKeysAndCertificateRequest * action.

See Also:

AWS * API Reference

*/ class CreateKeysAndCertificateRequest : public IoTRequest { public: AWS_IOT_API CreateKeysAndCertificateRequest(); // 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 "CreateKeysAndCertificate"; } AWS_IOT_API Aws::String SerializePayload() const override; AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

Specifies whether the certificate is active.

*/ inline bool GetSetAsActive() const{ return m_setAsActive; } /** *

Specifies whether the certificate is active.

*/ inline bool SetAsActiveHasBeenSet() const { return m_setAsActiveHasBeenSet; } /** *

Specifies whether the certificate is active.

*/ inline void SetSetAsActive(bool value) { m_setAsActiveHasBeenSet = true; m_setAsActive = value; } /** *

Specifies whether the certificate is active.

*/ inline CreateKeysAndCertificateRequest& WithSetAsActive(bool value) { SetSetAsActive(value); return *this;} private: bool m_setAsActive; bool m_setAsActiveHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws