/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The credentials for access to a private registry.See Also:
* AWS
* API Reference
The Amazon Resource Name (ARN) or name of credentials created using AWS * Secrets Manager.
The credential can use the name of the * credentials only if they exist in your current AWS Region.
*/ inline const Aws::String& GetCredential() const{ return m_credential; } /** *The Amazon Resource Name (ARN) or name of credentials created using AWS * Secrets Manager.
The credential can use the name of the * credentials only if they exist in your current AWS Region.
*/ inline bool CredentialHasBeenSet() const { return m_credentialHasBeenSet; } /** *The Amazon Resource Name (ARN) or name of credentials created using AWS * Secrets Manager.
The credential can use the name of the * credentials only if they exist in your current AWS Region.
*/ inline void SetCredential(const Aws::String& value) { m_credentialHasBeenSet = true; m_credential = value; } /** *The Amazon Resource Name (ARN) or name of credentials created using AWS * Secrets Manager.
The credential can use the name of the * credentials only if they exist in your current AWS Region.
*/ inline void SetCredential(Aws::String&& value) { m_credentialHasBeenSet = true; m_credential = std::move(value); } /** *The Amazon Resource Name (ARN) or name of credentials created using AWS * Secrets Manager.
The credential can use the name of the * credentials only if they exist in your current AWS Region.
*/ inline void SetCredential(const char* value) { m_credentialHasBeenSet = true; m_credential.assign(value); } /** *The Amazon Resource Name (ARN) or name of credentials created using AWS * Secrets Manager.
The credential can use the name of the * credentials only if they exist in your current AWS Region.
*/ inline AwsCodeBuildProjectEnvironmentRegistryCredential& WithCredential(const Aws::String& value) { SetCredential(value); return *this;} /** *The Amazon Resource Name (ARN) or name of credentials created using AWS * Secrets Manager.
The credential can use the name of the * credentials only if they exist in your current AWS Region.
*/ inline AwsCodeBuildProjectEnvironmentRegistryCredential& WithCredential(Aws::String&& value) { SetCredential(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) or name of credentials created using AWS * Secrets Manager.
The credential can use the name of the * credentials only if they exist in your current AWS Region.
*/ inline AwsCodeBuildProjectEnvironmentRegistryCredential& WithCredential(const char* value) { SetCredential(value); return *this;} /** *The service that created the credentials to access a private Docker * registry.
The valid value, SECRETS_MANAGER, is for AWS
* Secrets Manager.
The service that created the credentials to access a private Docker * registry.
The valid value, SECRETS_MANAGER, is for AWS
* Secrets Manager.
The service that created the credentials to access a private Docker * registry.
The valid value, SECRETS_MANAGER, is for AWS
* Secrets Manager.
The service that created the credentials to access a private Docker * registry.
The valid value, SECRETS_MANAGER, is for AWS
* Secrets Manager.
The service that created the credentials to access a private Docker * registry.
The valid value, SECRETS_MANAGER, is for AWS
* Secrets Manager.
The service that created the credentials to access a private Docker * registry.
The valid value, SECRETS_MANAGER, is for AWS
* Secrets Manager.
The service that created the credentials to access a private Docker * registry.
The valid value, SECRETS_MANAGER, is for AWS
* Secrets Manager.
The service that created the credentials to access a private Docker * registry.
The valid value, SECRETS_MANAGER, is for AWS
* Secrets Manager.