/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Lambda { namespace Model { /** *

List of signing profiles that can sign a code package.

See * Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) for each of the signing profiles. A signing * profile defines a trusted user who can sign a code package.

*/ inline const Aws::Vector& GetSigningProfileVersionArns() const{ return m_signingProfileVersionArns; } /** *

The Amazon Resource Name (ARN) for each of the signing profiles. A signing * profile defines a trusted user who can sign a code package.

*/ inline bool SigningProfileVersionArnsHasBeenSet() const { return m_signingProfileVersionArnsHasBeenSet; } /** *

The Amazon Resource Name (ARN) for each of the signing profiles. A signing * profile defines a trusted user who can sign a code package.

*/ inline void SetSigningProfileVersionArns(const Aws::Vector& value) { m_signingProfileVersionArnsHasBeenSet = true; m_signingProfileVersionArns = value; } /** *

The Amazon Resource Name (ARN) for each of the signing profiles. A signing * profile defines a trusted user who can sign a code package.

*/ inline void SetSigningProfileVersionArns(Aws::Vector&& value) { m_signingProfileVersionArnsHasBeenSet = true; m_signingProfileVersionArns = std::move(value); } /** *

The Amazon Resource Name (ARN) for each of the signing profiles. A signing * profile defines a trusted user who can sign a code package.

*/ inline AllowedPublishers& WithSigningProfileVersionArns(const Aws::Vector& value) { SetSigningProfileVersionArns(value); return *this;} /** *

The Amazon Resource Name (ARN) for each of the signing profiles. A signing * profile defines a trusted user who can sign a code package.

*/ inline AllowedPublishers& WithSigningProfileVersionArns(Aws::Vector&& value) { SetSigningProfileVersionArns(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for each of the signing profiles. A signing * profile defines a trusted user who can sign a code package.

*/ inline AllowedPublishers& AddSigningProfileVersionArns(const Aws::String& value) { m_signingProfileVersionArnsHasBeenSet = true; m_signingProfileVersionArns.push_back(value); return *this; } /** *

The Amazon Resource Name (ARN) for each of the signing profiles. A signing * profile defines a trusted user who can sign a code package.

*/ inline AllowedPublishers& AddSigningProfileVersionArns(Aws::String&& value) { m_signingProfileVersionArnsHasBeenSet = true; m_signingProfileVersionArns.push_back(std::move(value)); return *this; } /** *

The Amazon Resource Name (ARN) for each of the signing profiles. A signing * profile defines a trusted user who can sign a code package.

*/ inline AllowedPublishers& AddSigningProfileVersionArns(const char* value) { m_signingProfileVersionArnsHasBeenSet = true; m_signingProfileVersionArns.push_back(value); return *this; } private: Aws::Vector m_signingProfileVersionArns; bool m_signingProfileVersionArnsHasBeenSet = false; }; } // namespace Model } // namespace Lambda } // namespace Aws