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

Contains information about the ACM certificates and code signing * configuration parameters that can be used by a given code signing * user.

See Also:

AWS * API Reference

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

The name of the signing profile.

*/ inline const Aws::String& GetProfileName() const{ return m_profileName; } /** *

The name of the signing profile.

*/ inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; } /** *

The name of the signing profile.

*/ inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; } /** *

The name of the signing profile.

*/ inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); } /** *

The name of the signing profile.

*/ inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); } /** *

The name of the signing profile.

*/ inline SigningProfile& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;} /** *

The name of the signing profile.

*/ inline SigningProfile& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;} /** *

The name of the signing profile.

*/ inline SigningProfile& WithProfileName(const char* value) { SetProfileName(value); return *this;} /** *

The version of a signing profile.

*/ inline const Aws::String& GetProfileVersion() const{ return m_profileVersion; } /** *

The version of a signing profile.

*/ inline bool ProfileVersionHasBeenSet() const { return m_profileVersionHasBeenSet; } /** *

The version of a signing profile.

*/ inline void SetProfileVersion(const Aws::String& value) { m_profileVersionHasBeenSet = true; m_profileVersion = value; } /** *

The version of a signing profile.

*/ inline void SetProfileVersion(Aws::String&& value) { m_profileVersionHasBeenSet = true; m_profileVersion = std::move(value); } /** *

The version of a signing profile.

*/ inline void SetProfileVersion(const char* value) { m_profileVersionHasBeenSet = true; m_profileVersion.assign(value); } /** *

The version of a signing profile.

*/ inline SigningProfile& WithProfileVersion(const Aws::String& value) { SetProfileVersion(value); return *this;} /** *

The version of a signing profile.

*/ inline SigningProfile& WithProfileVersion(Aws::String&& value) { SetProfileVersion(std::move(value)); return *this;} /** *

The version of a signing profile.

*/ inline SigningProfile& WithProfileVersion(const char* value) { SetProfileVersion(value); return *this;} /** *

The ARN of a signing profile, including the profile version.

*/ inline const Aws::String& GetProfileVersionArn() const{ return m_profileVersionArn; } /** *

The ARN of a signing profile, including the profile version.

*/ inline bool ProfileVersionArnHasBeenSet() const { return m_profileVersionArnHasBeenSet; } /** *

The ARN of a signing profile, including the profile version.

*/ inline void SetProfileVersionArn(const Aws::String& value) { m_profileVersionArnHasBeenSet = true; m_profileVersionArn = value; } /** *

The ARN of a signing profile, including the profile version.

*/ inline void SetProfileVersionArn(Aws::String&& value) { m_profileVersionArnHasBeenSet = true; m_profileVersionArn = std::move(value); } /** *

The ARN of a signing profile, including the profile version.

*/ inline void SetProfileVersionArn(const char* value) { m_profileVersionArnHasBeenSet = true; m_profileVersionArn.assign(value); } /** *

The ARN of a signing profile, including the profile version.

*/ inline SigningProfile& WithProfileVersionArn(const Aws::String& value) { SetProfileVersionArn(value); return *this;} /** *

The ARN of a signing profile, including the profile version.

*/ inline SigningProfile& WithProfileVersionArn(Aws::String&& value) { SetProfileVersionArn(std::move(value)); return *this;} /** *

The ARN of a signing profile, including the profile version.

*/ inline SigningProfile& WithProfileVersionArn(const char* value) { SetProfileVersionArn(value); return *this;} /** *

The ACM certificate that is available for use by a signing profile.

*/ inline const SigningMaterial& GetSigningMaterial() const{ return m_signingMaterial; } /** *

The ACM certificate that is available for use by a signing profile.

*/ inline bool SigningMaterialHasBeenSet() const { return m_signingMaterialHasBeenSet; } /** *

The ACM certificate that is available for use by a signing profile.

*/ inline void SetSigningMaterial(const SigningMaterial& value) { m_signingMaterialHasBeenSet = true; m_signingMaterial = value; } /** *

The ACM certificate that is available for use by a signing profile.

*/ inline void SetSigningMaterial(SigningMaterial&& value) { m_signingMaterialHasBeenSet = true; m_signingMaterial = std::move(value); } /** *

The ACM certificate that is available for use by a signing profile.

*/ inline SigningProfile& WithSigningMaterial(const SigningMaterial& value) { SetSigningMaterial(value); return *this;} /** *

The ACM certificate that is available for use by a signing profile.

*/ inline SigningProfile& WithSigningMaterial(SigningMaterial&& value) { SetSigningMaterial(std::move(value)); return *this;} /** *

The validity period for a signing job created using this signing profile.

*/ inline const SignatureValidityPeriod& GetSignatureValidityPeriod() const{ return m_signatureValidityPeriod; } /** *

The validity period for a signing job created using this signing profile.

*/ inline bool SignatureValidityPeriodHasBeenSet() const { return m_signatureValidityPeriodHasBeenSet; } /** *

The validity period for a signing job created using this signing profile.

*/ inline void SetSignatureValidityPeriod(const SignatureValidityPeriod& value) { m_signatureValidityPeriodHasBeenSet = true; m_signatureValidityPeriod = value; } /** *

The validity period for a signing job created using this signing profile.

*/ inline void SetSignatureValidityPeriod(SignatureValidityPeriod&& value) { m_signatureValidityPeriodHasBeenSet = true; m_signatureValidityPeriod = std::move(value); } /** *

The validity period for a signing job created using this signing profile.

*/ inline SigningProfile& WithSignatureValidityPeriod(const SignatureValidityPeriod& value) { SetSignatureValidityPeriod(value); return *this;} /** *

The validity period for a signing job created using this signing profile.

*/ inline SigningProfile& WithSignatureValidityPeriod(SignatureValidityPeriod&& value) { SetSignatureValidityPeriod(std::move(value)); return *this;} /** *

The ID of a platform that is available for use by a signing profile.

*/ inline const Aws::String& GetPlatformId() const{ return m_platformId; } /** *

The ID of a platform that is available for use by a signing profile.

*/ inline bool PlatformIdHasBeenSet() const { return m_platformIdHasBeenSet; } /** *

The ID of a platform that is available for use by a signing profile.

*/ inline void SetPlatformId(const Aws::String& value) { m_platformIdHasBeenSet = true; m_platformId = value; } /** *

The ID of a platform that is available for use by a signing profile.

*/ inline void SetPlatformId(Aws::String&& value) { m_platformIdHasBeenSet = true; m_platformId = std::move(value); } /** *

The ID of a platform that is available for use by a signing profile.

*/ inline void SetPlatformId(const char* value) { m_platformIdHasBeenSet = true; m_platformId.assign(value); } /** *

The ID of a platform that is available for use by a signing profile.

*/ inline SigningProfile& WithPlatformId(const Aws::String& value) { SetPlatformId(value); return *this;} /** *

The ID of a platform that is available for use by a signing profile.

*/ inline SigningProfile& WithPlatformId(Aws::String&& value) { SetPlatformId(std::move(value)); return *this;} /** *

The ID of a platform that is available for use by a signing profile.

*/ inline SigningProfile& WithPlatformId(const char* value) { SetPlatformId(value); return *this;} /** *

The name of the signing platform.

*/ inline const Aws::String& GetPlatformDisplayName() const{ return m_platformDisplayName; } /** *

The name of the signing platform.

*/ inline bool PlatformDisplayNameHasBeenSet() const { return m_platformDisplayNameHasBeenSet; } /** *

The name of the signing platform.

*/ inline void SetPlatformDisplayName(const Aws::String& value) { m_platformDisplayNameHasBeenSet = true; m_platformDisplayName = value; } /** *

The name of the signing platform.

*/ inline void SetPlatformDisplayName(Aws::String&& value) { m_platformDisplayNameHasBeenSet = true; m_platformDisplayName = std::move(value); } /** *

The name of the signing platform.

*/ inline void SetPlatformDisplayName(const char* value) { m_platformDisplayNameHasBeenSet = true; m_platformDisplayName.assign(value); } /** *

The name of the signing platform.

*/ inline SigningProfile& WithPlatformDisplayName(const Aws::String& value) { SetPlatformDisplayName(value); return *this;} /** *

The name of the signing platform.

*/ inline SigningProfile& WithPlatformDisplayName(Aws::String&& value) { SetPlatformDisplayName(std::move(value)); return *this;} /** *

The name of the signing platform.

*/ inline SigningProfile& WithPlatformDisplayName(const char* value) { SetPlatformDisplayName(value); return *this;} /** *

The parameters that are available for use by a code signing user.

*/ inline const Aws::Map& GetSigningParameters() const{ return m_signingParameters; } /** *

The parameters that are available for use by a code signing user.

*/ inline bool SigningParametersHasBeenSet() const { return m_signingParametersHasBeenSet; } /** *

The parameters that are available for use by a code signing user.

*/ inline void SetSigningParameters(const Aws::Map& value) { m_signingParametersHasBeenSet = true; m_signingParameters = value; } /** *

The parameters that are available for use by a code signing user.

*/ inline void SetSigningParameters(Aws::Map&& value) { m_signingParametersHasBeenSet = true; m_signingParameters = std::move(value); } /** *

The parameters that are available for use by a code signing user.

*/ inline SigningProfile& WithSigningParameters(const Aws::Map& value) { SetSigningParameters(value); return *this;} /** *

The parameters that are available for use by a code signing user.

*/ inline SigningProfile& WithSigningParameters(Aws::Map&& value) { SetSigningParameters(std::move(value)); return *this;} /** *

The parameters that are available for use by a code signing user.

*/ inline SigningProfile& AddSigningParameters(const Aws::String& key, const Aws::String& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(key, value); return *this; } /** *

The parameters that are available for use by a code signing user.

*/ inline SigningProfile& AddSigningParameters(Aws::String&& key, const Aws::String& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(std::move(key), value); return *this; } /** *

The parameters that are available for use by a code signing user.

*/ inline SigningProfile& AddSigningParameters(const Aws::String& key, Aws::String&& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(key, std::move(value)); return *this; } /** *

The parameters that are available for use by a code signing user.

*/ inline SigningProfile& AddSigningParameters(Aws::String&& key, Aws::String&& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(std::move(key), std::move(value)); return *this; } /** *

The parameters that are available for use by a code signing user.

*/ inline SigningProfile& AddSigningParameters(const char* key, Aws::String&& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(key, std::move(value)); return *this; } /** *

The parameters that are available for use by a code signing user.

*/ inline SigningProfile& AddSigningParameters(Aws::String&& key, const char* value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(std::move(key), value); return *this; } /** *

The parameters that are available for use by a code signing user.

*/ inline SigningProfile& AddSigningParameters(const char* key, const char* value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(key, value); return *this; } /** *

The status of a code signing profile.

*/ inline const SigningProfileStatus& GetStatus() const{ return m_status; } /** *

The status of a code signing profile.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of a code signing profile.

*/ inline void SetStatus(const SigningProfileStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of a code signing profile.

*/ inline void SetStatus(SigningProfileStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of a code signing profile.

*/ inline SigningProfile& WithStatus(const SigningProfileStatus& value) { SetStatus(value); return *this;} /** *

The status of a code signing profile.

*/ inline SigningProfile& WithStatus(SigningProfileStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the signing profile.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) for the signing profile.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the signing profile.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) for the signing profile.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the signing profile.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) for the signing profile.

*/ inline SigningProfile& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the signing profile.

*/ inline SigningProfile& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the signing profile.

*/ inline SigningProfile& WithArn(const char* value) { SetArn(value); return *this;} /** *

A list of tags associated with the signing profile.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

A list of tags associated with the signing profile.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

A list of tags associated with the signing profile.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

A list of tags associated with the signing profile.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

A list of tags associated with the signing profile.

*/ inline SigningProfile& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

A list of tags associated with the signing profile.

*/ inline SigningProfile& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

A list of tags associated with the signing profile.

*/ inline SigningProfile& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

A list of tags associated with the signing profile.

*/ inline SigningProfile& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

A list of tags associated with the signing profile.

*/ inline SigningProfile& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

A list of tags associated with the signing profile.

*/ inline SigningProfile& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

A list of tags associated with the signing profile.

*/ inline SigningProfile& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

A list of tags associated with the signing profile.

*/ inline SigningProfile& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

A list of tags associated with the signing profile.

*/ inline SigningProfile& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_profileName; bool m_profileNameHasBeenSet = false; Aws::String m_profileVersion; bool m_profileVersionHasBeenSet = false; Aws::String m_profileVersionArn; bool m_profileVersionArnHasBeenSet = false; SigningMaterial m_signingMaterial; bool m_signingMaterialHasBeenSet = false; SignatureValidityPeriod m_signatureValidityPeriod; bool m_signatureValidityPeriodHasBeenSet = false; Aws::String m_platformId; bool m_platformIdHasBeenSet = false; Aws::String m_platformDisplayName; bool m_platformDisplayNameHasBeenSet = false; Aws::Map m_signingParameters; bool m_signingParametersHasBeenSet = false; SigningProfileStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace signer } // namespace Aws