/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The repository credentials for private registry authentication.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the secret containing the private * repository credentials.
When you use the Amazon ECS API, CLI, or * Amazon Web Services SDK, if the secret exists in the same Region as the task * that you're launching then you can use either the full ARN or the name of the * secret. When you use the Amazon Web Services Management Console, you must * specify the full ARN of the secret.
*/ inline const Aws::String& GetCredentialsParameter() const{ return m_credentialsParameter; } /** *The Amazon Resource Name (ARN) of the secret containing the private * repository credentials.
When you use the Amazon ECS API, CLI, or * Amazon Web Services SDK, if the secret exists in the same Region as the task * that you're launching then you can use either the full ARN or the name of the * secret. When you use the Amazon Web Services Management Console, you must * specify the full ARN of the secret.
*/ inline bool CredentialsParameterHasBeenSet() const { return m_credentialsParameterHasBeenSet; } /** *The Amazon Resource Name (ARN) of the secret containing the private * repository credentials.
When you use the Amazon ECS API, CLI, or * Amazon Web Services SDK, if the secret exists in the same Region as the task * that you're launching then you can use either the full ARN or the name of the * secret. When you use the Amazon Web Services Management Console, you must * specify the full ARN of the secret.
*/ inline void SetCredentialsParameter(const Aws::String& value) { m_credentialsParameterHasBeenSet = true; m_credentialsParameter = value; } /** *The Amazon Resource Name (ARN) of the secret containing the private * repository credentials.
When you use the Amazon ECS API, CLI, or * Amazon Web Services SDK, if the secret exists in the same Region as the task * that you're launching then you can use either the full ARN or the name of the * secret. When you use the Amazon Web Services Management Console, you must * specify the full ARN of the secret.
*/ inline void SetCredentialsParameter(Aws::String&& value) { m_credentialsParameterHasBeenSet = true; m_credentialsParameter = std::move(value); } /** *The Amazon Resource Name (ARN) of the secret containing the private * repository credentials.
When you use the Amazon ECS API, CLI, or * Amazon Web Services SDK, if the secret exists in the same Region as the task * that you're launching then you can use either the full ARN or the name of the * secret. When you use the Amazon Web Services Management Console, you must * specify the full ARN of the secret.
*/ inline void SetCredentialsParameter(const char* value) { m_credentialsParameterHasBeenSet = true; m_credentialsParameter.assign(value); } /** *The Amazon Resource Name (ARN) of the secret containing the private * repository credentials.
When you use the Amazon ECS API, CLI, or * Amazon Web Services SDK, if the secret exists in the same Region as the task * that you're launching then you can use either the full ARN or the name of the * secret. When you use the Amazon Web Services Management Console, you must * specify the full ARN of the secret.
*/ inline RepositoryCredentials& WithCredentialsParameter(const Aws::String& value) { SetCredentialsParameter(value); return *this;} /** *The Amazon Resource Name (ARN) of the secret containing the private * repository credentials.
When you use the Amazon ECS API, CLI, or * Amazon Web Services SDK, if the secret exists in the same Region as the task * that you're launching then you can use either the full ARN or the name of the * secret. When you use the Amazon Web Services Management Console, you must * specify the full ARN of the secret.
*/ inline RepositoryCredentials& WithCredentialsParameter(Aws::String&& value) { SetCredentialsParameter(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the secret containing the private * repository credentials.
When you use the Amazon ECS API, CLI, or * Amazon Web Services SDK, if the secret exists in the same Region as the task * that you're launching then you can use either the full ARN or the name of the * secret. When you use the Amazon Web Services Management Console, you must * specify the full ARN of the secret.
*/ inline RepositoryCredentials& WithCredentialsParameter(const char* value) { SetCredentialsParameter(value); return *this;} private: Aws::String m_credentialsParameter; bool m_credentialsParameterHasBeenSet = false; }; } // namespace Model } // namespace ECS } // namespace Aws