/** * 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 CloudHSM { namespace Model { /** */ class ModifyLunaClientRequest : public CloudHSMRequest { public: AWS_CLOUDHSM_API ModifyLunaClientRequest(); // 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 "ModifyLunaClient"; } AWS_CLOUDHSM_API Aws::String SerializePayload() const override; AWS_CLOUDHSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ARN of the client.

*/ inline const Aws::String& GetClientArn() const{ return m_clientArn; } /** *

The ARN of the client.

*/ inline bool ClientArnHasBeenSet() const { return m_clientArnHasBeenSet; } /** *

The ARN of the client.

*/ inline void SetClientArn(const Aws::String& value) { m_clientArnHasBeenSet = true; m_clientArn = value; } /** *

The ARN of the client.

*/ inline void SetClientArn(Aws::String&& value) { m_clientArnHasBeenSet = true; m_clientArn = std::move(value); } /** *

The ARN of the client.

*/ inline void SetClientArn(const char* value) { m_clientArnHasBeenSet = true; m_clientArn.assign(value); } /** *

The ARN of the client.

*/ inline ModifyLunaClientRequest& WithClientArn(const Aws::String& value) { SetClientArn(value); return *this;} /** *

The ARN of the client.

*/ inline ModifyLunaClientRequest& WithClientArn(Aws::String&& value) { SetClientArn(std::move(value)); return *this;} /** *

The ARN of the client.

*/ inline ModifyLunaClientRequest& WithClientArn(const char* value) { SetClientArn(value); return *this;} /** *

The new certificate for the client.

*/ inline const Aws::String& GetCertificate() const{ return m_certificate; } /** *

The new certificate for the client.

*/ inline bool CertificateHasBeenSet() const { return m_certificateHasBeenSet; } /** *

The new certificate for the client.

*/ inline void SetCertificate(const Aws::String& value) { m_certificateHasBeenSet = true; m_certificate = value; } /** *

The new certificate for the client.

*/ inline void SetCertificate(Aws::String&& value) { m_certificateHasBeenSet = true; m_certificate = std::move(value); } /** *

The new certificate for the client.

*/ inline void SetCertificate(const char* value) { m_certificateHasBeenSet = true; m_certificate.assign(value); } /** *

The new certificate for the client.

*/ inline ModifyLunaClientRequest& WithCertificate(const Aws::String& value) { SetCertificate(value); return *this;} /** *

The new certificate for the client.

*/ inline ModifyLunaClientRequest& WithCertificate(Aws::String&& value) { SetCertificate(std::move(value)); return *this;} /** *

The new certificate for the client.

*/ inline ModifyLunaClientRequest& WithCertificate(const char* value) { SetCertificate(value); return *this;} private: Aws::String m_clientArn; bool m_clientArnHasBeenSet = false; Aws::String m_certificate; bool m_certificateHasBeenSet = false; }; } // namespace Model } // namespace CloudHSM } // namespace Aws