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

Details about the issuer of a license.

See Also:

AWS * API Reference

*/ class Issuer { public: AWS_LICENSEMANAGER_API Issuer(); AWS_LICENSEMANAGER_API Issuer(Aws::Utils::Json::JsonView jsonValue); AWS_LICENSEMANAGER_API Issuer& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Issuer name.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

Issuer name.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

Issuer name.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

Issuer name.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

Issuer name.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

Issuer name.

*/ inline Issuer& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

Issuer name.

*/ inline Issuer& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

Issuer name.

*/ inline Issuer& WithName(const char* value) { SetName(value); return *this;} /** *

Asymmetric KMS key from Key Management Service. The KMS key must have a key * usage of sign and verify, and support the RSASSA-PSS SHA-256 signing * algorithm.

*/ inline const Aws::String& GetSignKey() const{ return m_signKey; } /** *

Asymmetric KMS key from Key Management Service. The KMS key must have a key * usage of sign and verify, and support the RSASSA-PSS SHA-256 signing * algorithm.

*/ inline bool SignKeyHasBeenSet() const { return m_signKeyHasBeenSet; } /** *

Asymmetric KMS key from Key Management Service. The KMS key must have a key * usage of sign and verify, and support the RSASSA-PSS SHA-256 signing * algorithm.

*/ inline void SetSignKey(const Aws::String& value) { m_signKeyHasBeenSet = true; m_signKey = value; } /** *

Asymmetric KMS key from Key Management Service. The KMS key must have a key * usage of sign and verify, and support the RSASSA-PSS SHA-256 signing * algorithm.

*/ inline void SetSignKey(Aws::String&& value) { m_signKeyHasBeenSet = true; m_signKey = std::move(value); } /** *

Asymmetric KMS key from Key Management Service. The KMS key must have a key * usage of sign and verify, and support the RSASSA-PSS SHA-256 signing * algorithm.

*/ inline void SetSignKey(const char* value) { m_signKeyHasBeenSet = true; m_signKey.assign(value); } /** *

Asymmetric KMS key from Key Management Service. The KMS key must have a key * usage of sign and verify, and support the RSASSA-PSS SHA-256 signing * algorithm.

*/ inline Issuer& WithSignKey(const Aws::String& value) { SetSignKey(value); return *this;} /** *

Asymmetric KMS key from Key Management Service. The KMS key must have a key * usage of sign and verify, and support the RSASSA-PSS SHA-256 signing * algorithm.

*/ inline Issuer& WithSignKey(Aws::String&& value) { SetSignKey(std::move(value)); return *this;} /** *

Asymmetric KMS key from Key Management Service. The KMS key must have a key * usage of sign and verify, and support the RSASSA-PSS SHA-256 signing * algorithm.

*/ inline Issuer& WithSignKey(const char* value) { SetSignKey(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_signKey; bool m_signKeyHasBeenSet = false; }; } // namespace Model } // namespace LicenseManager } // namespace Aws