/** * 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 SecurityHub { namespace Model { /** *

The private repository authentication credentials to use.

See * Also:

AWS * API Reference

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

The ARN of the secret that contains the private repository credentials.

*/ inline const Aws::String& GetCredentialsParameter() const{ return m_credentialsParameter; } /** *

The ARN of the secret that contains the private repository credentials.

*/ inline bool CredentialsParameterHasBeenSet() const { return m_credentialsParameterHasBeenSet; } /** *

The ARN of the secret that contains the private repository credentials.

*/ inline void SetCredentialsParameter(const Aws::String& value) { m_credentialsParameterHasBeenSet = true; m_credentialsParameter = value; } /** *

The ARN of the secret that contains the private repository credentials.

*/ inline void SetCredentialsParameter(Aws::String&& value) { m_credentialsParameterHasBeenSet = true; m_credentialsParameter = std::move(value); } /** *

The ARN of the secret that contains the private repository credentials.

*/ inline void SetCredentialsParameter(const char* value) { m_credentialsParameterHasBeenSet = true; m_credentialsParameter.assign(value); } /** *

The ARN of the secret that contains the private repository credentials.

*/ inline AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails& WithCredentialsParameter(const Aws::String& value) { SetCredentialsParameter(value); return *this;} /** *

The ARN of the secret that contains the private repository credentials.

*/ inline AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails& WithCredentialsParameter(Aws::String&& value) { SetCredentialsParameter(std::move(value)); return *this;} /** *

The ARN of the secret that contains the private repository credentials.

*/ inline AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails& WithCredentialsParameter(const char* value) { SetCredentialsParameter(value); return *this;} private: Aws::String m_credentialsParameter; bool m_credentialsParameterHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws