/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about a Code
* signing configuration. See Also:
AWS
* API Reference
Unique identifer for the Code signing configuration.
*/ inline const Aws::String& GetCodeSigningConfigId() const{ return m_codeSigningConfigId; } /** *Unique identifer for the Code signing configuration.
*/ inline bool CodeSigningConfigIdHasBeenSet() const { return m_codeSigningConfigIdHasBeenSet; } /** *Unique identifer for the Code signing configuration.
*/ inline void SetCodeSigningConfigId(const Aws::String& value) { m_codeSigningConfigIdHasBeenSet = true; m_codeSigningConfigId = value; } /** *Unique identifer for the Code signing configuration.
*/ inline void SetCodeSigningConfigId(Aws::String&& value) { m_codeSigningConfigIdHasBeenSet = true; m_codeSigningConfigId = std::move(value); } /** *Unique identifer for the Code signing configuration.
*/ inline void SetCodeSigningConfigId(const char* value) { m_codeSigningConfigIdHasBeenSet = true; m_codeSigningConfigId.assign(value); } /** *Unique identifer for the Code signing configuration.
*/ inline CodeSigningConfig& WithCodeSigningConfigId(const Aws::String& value) { SetCodeSigningConfigId(value); return *this;} /** *Unique identifer for the Code signing configuration.
*/ inline CodeSigningConfig& WithCodeSigningConfigId(Aws::String&& value) { SetCodeSigningConfigId(std::move(value)); return *this;} /** *Unique identifer for the Code signing configuration.
*/ inline CodeSigningConfig& WithCodeSigningConfigId(const char* value) { SetCodeSigningConfigId(value); return *this;} /** *The Amazon Resource Name (ARN) of the Code signing configuration.
*/ inline const Aws::String& GetCodeSigningConfigArn() const{ return m_codeSigningConfigArn; } /** *The Amazon Resource Name (ARN) of the Code signing configuration.
*/ inline bool CodeSigningConfigArnHasBeenSet() const { return m_codeSigningConfigArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the Code signing configuration.
*/ inline void SetCodeSigningConfigArn(const Aws::String& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = value; } /** *The Amazon Resource Name (ARN) of the Code signing configuration.
*/ inline void SetCodeSigningConfigArn(Aws::String&& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the Code signing configuration.
*/ inline void SetCodeSigningConfigArn(const char* value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn.assign(value); } /** *The Amazon Resource Name (ARN) of the Code signing configuration.
*/ inline CodeSigningConfig& WithCodeSigningConfigArn(const Aws::String& value) { SetCodeSigningConfigArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Code signing configuration.
*/ inline CodeSigningConfig& WithCodeSigningConfigArn(Aws::String&& value) { SetCodeSigningConfigArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Code signing configuration.
*/ inline CodeSigningConfig& WithCodeSigningConfigArn(const char* value) { SetCodeSigningConfigArn(value); return *this;} /** *Code signing configuration description.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *Code signing configuration description.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *Code signing configuration description.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *Code signing configuration description.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *Code signing configuration description.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *Code signing configuration description.
*/ inline CodeSigningConfig& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *Code signing configuration description.
*/ inline CodeSigningConfig& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *Code signing configuration description.
*/ inline CodeSigningConfig& WithDescription(const char* value) { SetDescription(value); return *this;} /** *List of allowed publishers.
*/ inline const AllowedPublishers& GetAllowedPublishers() const{ return m_allowedPublishers; } /** *List of allowed publishers.
*/ inline bool AllowedPublishersHasBeenSet() const { return m_allowedPublishersHasBeenSet; } /** *List of allowed publishers.
*/ inline void SetAllowedPublishers(const AllowedPublishers& value) { m_allowedPublishersHasBeenSet = true; m_allowedPublishers = value; } /** *List of allowed publishers.
*/ inline void SetAllowedPublishers(AllowedPublishers&& value) { m_allowedPublishersHasBeenSet = true; m_allowedPublishers = std::move(value); } /** *List of allowed publishers.
*/ inline CodeSigningConfig& WithAllowedPublishers(const AllowedPublishers& value) { SetAllowedPublishers(value); return *this;} /** *List of allowed publishers.
*/ inline CodeSigningConfig& WithAllowedPublishers(AllowedPublishers&& value) { SetAllowedPublishers(std::move(value)); return *this;} /** *The code signing policy controls the validation failure action for signature * mismatch or expiry.
*/ inline const CodeSigningPolicies& GetCodeSigningPolicies() const{ return m_codeSigningPolicies; } /** *The code signing policy controls the validation failure action for signature * mismatch or expiry.
*/ inline bool CodeSigningPoliciesHasBeenSet() const { return m_codeSigningPoliciesHasBeenSet; } /** *The code signing policy controls the validation failure action for signature * mismatch or expiry.
*/ inline void SetCodeSigningPolicies(const CodeSigningPolicies& value) { m_codeSigningPoliciesHasBeenSet = true; m_codeSigningPolicies = value; } /** *The code signing policy controls the validation failure action for signature * mismatch or expiry.
*/ inline void SetCodeSigningPolicies(CodeSigningPolicies&& value) { m_codeSigningPoliciesHasBeenSet = true; m_codeSigningPolicies = std::move(value); } /** *The code signing policy controls the validation failure action for signature * mismatch or expiry.
*/ inline CodeSigningConfig& WithCodeSigningPolicies(const CodeSigningPolicies& value) { SetCodeSigningPolicies(value); return *this;} /** *The code signing policy controls the validation failure action for signature * mismatch or expiry.
*/ inline CodeSigningConfig& WithCodeSigningPolicies(CodeSigningPolicies&& value) { SetCodeSigningPolicies(std::move(value)); return *this;} /** *The date and time that the Code signing configuration was last modified, in * ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline const Aws::String& GetLastModified() const{ return m_lastModified; } /** *The date and time that the Code signing configuration was last modified, in * ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; } /** *The date and time that the Code signing configuration was last modified, in * ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline void SetLastModified(const Aws::String& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; } /** *The date and time that the Code signing configuration was last modified, in * ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline void SetLastModified(Aws::String&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); } /** *The date and time that the Code signing configuration was last modified, in * ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline void SetLastModified(const char* value) { m_lastModifiedHasBeenSet = true; m_lastModified.assign(value); } /** *The date and time that the Code signing configuration was last modified, in * ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline CodeSigningConfig& WithLastModified(const Aws::String& value) { SetLastModified(value); return *this;} /** *The date and time that the Code signing configuration was last modified, in * ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline CodeSigningConfig& WithLastModified(Aws::String&& value) { SetLastModified(std::move(value)); return *this;} /** *The date and time that the Code signing configuration was last modified, in * ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline CodeSigningConfig& WithLastModified(const char* value) { SetLastModified(value); return *this;} private: Aws::String m_codeSigningConfigId; bool m_codeSigningConfigIdHasBeenSet = false; Aws::String m_codeSigningConfigArn; bool m_codeSigningConfigArnHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; AllowedPublishers m_allowedPublishers; bool m_allowedPublishersHasBeenSet = false; CodeSigningPolicies m_codeSigningPolicies; bool m_codeSigningPoliciesHasBeenSet = false; Aws::String m_lastModified; bool m_lastModifiedHasBeenSet = false; }; } // namespace Model } // namespace Lambda } // namespace Aws