/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies an authentication configuration for the private docker registry
* where your model image is hosted. Specify a value for this property only if you
* specified Vpc
as the value for the
* RepositoryAccessMode
field of the ImageConfig
object
* that you passed to a call to CreateModel
and the private Docker
* registry where the model image is hosted requires authentication.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of an Amazon Web Services Lambda function that * provides credentials to authenticate to the private Docker registry where your * model image is hosted. For information about how to create an Amazon Web * Services Lambda function, see Create * a Lambda function with the console in the Amazon Web Services Lambda * Developer Guide.
*/ inline const Aws::String& GetRepositoryCredentialsProviderArn() const{ return m_repositoryCredentialsProviderArn; } /** *The Amazon Resource Name (ARN) of an Amazon Web Services Lambda function that * provides credentials to authenticate to the private Docker registry where your * model image is hosted. For information about how to create an Amazon Web * Services Lambda function, see Create * a Lambda function with the console in the Amazon Web Services Lambda * Developer Guide.
*/ inline bool RepositoryCredentialsProviderArnHasBeenSet() const { return m_repositoryCredentialsProviderArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of an Amazon Web Services Lambda function that * provides credentials to authenticate to the private Docker registry where your * model image is hosted. For information about how to create an Amazon Web * Services Lambda function, see Create * a Lambda function with the console in the Amazon Web Services Lambda * Developer Guide.
*/ inline void SetRepositoryCredentialsProviderArn(const Aws::String& value) { m_repositoryCredentialsProviderArnHasBeenSet = true; m_repositoryCredentialsProviderArn = value; } /** *The Amazon Resource Name (ARN) of an Amazon Web Services Lambda function that * provides credentials to authenticate to the private Docker registry where your * model image is hosted. For information about how to create an Amazon Web * Services Lambda function, see Create * a Lambda function with the console in the Amazon Web Services Lambda * Developer Guide.
*/ inline void SetRepositoryCredentialsProviderArn(Aws::String&& value) { m_repositoryCredentialsProviderArnHasBeenSet = true; m_repositoryCredentialsProviderArn = std::move(value); } /** *The Amazon Resource Name (ARN) of an Amazon Web Services Lambda function that * provides credentials to authenticate to the private Docker registry where your * model image is hosted. For information about how to create an Amazon Web * Services Lambda function, see Create * a Lambda function with the console in the Amazon Web Services Lambda * Developer Guide.
*/ inline void SetRepositoryCredentialsProviderArn(const char* value) { m_repositoryCredentialsProviderArnHasBeenSet = true; m_repositoryCredentialsProviderArn.assign(value); } /** *The Amazon Resource Name (ARN) of an Amazon Web Services Lambda function that * provides credentials to authenticate to the private Docker registry where your * model image is hosted. For information about how to create an Amazon Web * Services Lambda function, see Create * a Lambda function with the console in the Amazon Web Services Lambda * Developer Guide.
*/ inline RepositoryAuthConfig& WithRepositoryCredentialsProviderArn(const Aws::String& value) { SetRepositoryCredentialsProviderArn(value); return *this;} /** *The Amazon Resource Name (ARN) of an Amazon Web Services Lambda function that * provides credentials to authenticate to the private Docker registry where your * model image is hosted. For information about how to create an Amazon Web * Services Lambda function, see Create * a Lambda function with the console in the Amazon Web Services Lambda * Developer Guide.
*/ inline RepositoryAuthConfig& WithRepositoryCredentialsProviderArn(Aws::String&& value) { SetRepositoryCredentialsProviderArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of an Amazon Web Services Lambda function that * provides credentials to authenticate to the private Docker registry where your * model image is hosted. For information about how to create an Amazon Web * Services Lambda function, see Create * a Lambda function with the console in the Amazon Web Services Lambda * Developer Guide.
*/ inline RepositoryAuthConfig& WithRepositoryCredentialsProviderArn(const char* value) { SetRepositoryCredentialsProviderArn(value); return *this;} private: Aws::String m_repositoryCredentialsProviderArn; bool m_repositoryCredentialsProviderArnHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws