/** * 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 Transfer { namespace Model { /** */ class DescribeCertificateRequest : public TransferRequest { public: AWS_TRANSFER_API DescribeCertificateRequest(); // 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 "DescribeCertificate"; } AWS_TRANSFER_API Aws::String SerializePayload() const override; AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

An array of identifiers for the imported certificates. You use this * identifier for working with profiles and partner profiles.

*/ inline const Aws::String& GetCertificateId() const{ return m_certificateId; } /** *

An array of identifiers for the imported certificates. You use this * identifier for working with profiles and partner profiles.

*/ inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; } /** *

An array of identifiers for the imported certificates. You use this * identifier for working with profiles and partner profiles.

*/ inline void SetCertificateId(const Aws::String& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; } /** *

An array of identifiers for the imported certificates. You use this * identifier for working with profiles and partner profiles.

*/ inline void SetCertificateId(Aws::String&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::move(value); } /** *

An array of identifiers for the imported certificates. You use this * identifier for working with profiles and partner profiles.

*/ inline void SetCertificateId(const char* value) { m_certificateIdHasBeenSet = true; m_certificateId.assign(value); } /** *

An array of identifiers for the imported certificates. You use this * identifier for working with profiles and partner profiles.

*/ inline DescribeCertificateRequest& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;} /** *

An array of identifiers for the imported certificates. You use this * identifier for working with profiles and partner profiles.

*/ inline DescribeCertificateRequest& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;} /** *

An array of identifiers for the imported certificates. You use this * identifier for working with profiles and partner profiles.

*/ inline DescribeCertificateRequest& WithCertificateId(const char* value) { SetCertificateId(value); return *this;} private: Aws::String m_certificateId; bool m_certificateIdHasBeenSet = false; }; } // namespace Model } // namespace Transfer } // namespace Aws