/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { class ListCodeRepositoriesResult { public: AWS_SAGEMAKER_API ListCodeRepositoriesResult(); AWS_SAGEMAKER_API ListCodeRepositoriesResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API ListCodeRepositoriesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Gets a list of summaries of the Git repositories. Each summary specifies the * following values for the repository:

  • Name

  • *

    Amazon Resource Name (ARN)

  • Creation time

  • *

    Last modified time

  • Configuration information, including the * URL location of the repository and the ARN of the Amazon Web Services Secrets * Manager secret that contains the credentials used to access the repository.

    *
*/ inline const Aws::Vector& GetCodeRepositorySummaryList() const{ return m_codeRepositorySummaryList; } /** *

Gets a list of summaries of the Git repositories. Each summary specifies the * following values for the repository:

  • Name

  • *

    Amazon Resource Name (ARN)

  • Creation time

  • *

    Last modified time

  • Configuration information, including the * URL location of the repository and the ARN of the Amazon Web Services Secrets * Manager secret that contains the credentials used to access the repository.

    *
*/ inline void SetCodeRepositorySummaryList(const Aws::Vector& value) { m_codeRepositorySummaryList = value; } /** *

Gets a list of summaries of the Git repositories. Each summary specifies the * following values for the repository:

  • Name

  • *

    Amazon Resource Name (ARN)

  • Creation time

  • *

    Last modified time

  • Configuration information, including the * URL location of the repository and the ARN of the Amazon Web Services Secrets * Manager secret that contains the credentials used to access the repository.

    *
*/ inline void SetCodeRepositorySummaryList(Aws::Vector&& value) { m_codeRepositorySummaryList = std::move(value); } /** *

Gets a list of summaries of the Git repositories. Each summary specifies the * following values for the repository:

  • Name

  • *

    Amazon Resource Name (ARN)

  • Creation time

  • *

    Last modified time

  • Configuration information, including the * URL location of the repository and the ARN of the Amazon Web Services Secrets * Manager secret that contains the credentials used to access the repository.

    *
*/ inline ListCodeRepositoriesResult& WithCodeRepositorySummaryList(const Aws::Vector& value) { SetCodeRepositorySummaryList(value); return *this;} /** *

Gets a list of summaries of the Git repositories. Each summary specifies the * following values for the repository:

  • Name

  • *

    Amazon Resource Name (ARN)

  • Creation time

  • *

    Last modified time

  • Configuration information, including the * URL location of the repository and the ARN of the Amazon Web Services Secrets * Manager secret that contains the credentials used to access the repository.

    *
*/ inline ListCodeRepositoriesResult& WithCodeRepositorySummaryList(Aws::Vector&& value) { SetCodeRepositorySummaryList(std::move(value)); return *this;} /** *

Gets a list of summaries of the Git repositories. Each summary specifies the * following values for the repository:

  • Name

  • *

    Amazon Resource Name (ARN)

  • Creation time

  • *

    Last modified time

  • Configuration information, including the * URL location of the repository and the ARN of the Amazon Web Services Secrets * Manager secret that contains the credentials used to access the repository.

    *
*/ inline ListCodeRepositoriesResult& AddCodeRepositorySummaryList(const CodeRepositorySummary& value) { m_codeRepositorySummaryList.push_back(value); return *this; } /** *

Gets a list of summaries of the Git repositories. Each summary specifies the * following values for the repository:

  • Name

  • *

    Amazon Resource Name (ARN)

  • Creation time

  • *

    Last modified time

  • Configuration information, including the * URL location of the repository and the ARN of the Amazon Web Services Secrets * Manager secret that contains the credentials used to access the repository.

    *
*/ inline ListCodeRepositoriesResult& AddCodeRepositorySummaryList(CodeRepositorySummary&& value) { m_codeRepositorySummaryList.push_back(std::move(value)); return *this; } /** *

If the result of a ListCodeRepositoriesOutput request was * truncated, the response includes a NextToken. To get the next set * of Git repositories, use the token in the next request.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

If the result of a ListCodeRepositoriesOutput request was * truncated, the response includes a NextToken. To get the next set * of Git repositories, use the token in the next request.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

If the result of a ListCodeRepositoriesOutput request was * truncated, the response includes a NextToken. To get the next set * of Git repositories, use the token in the next request.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

If the result of a ListCodeRepositoriesOutput request was * truncated, the response includes a NextToken. To get the next set * of Git repositories, use the token in the next request.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

If the result of a ListCodeRepositoriesOutput request was * truncated, the response includes a NextToken. To get the next set * of Git repositories, use the token in the next request.

*/ inline ListCodeRepositoriesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

If the result of a ListCodeRepositoriesOutput request was * truncated, the response includes a NextToken. To get the next set * of Git repositories, use the token in the next request.

*/ inline ListCodeRepositoriesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

If the result of a ListCodeRepositoriesOutput request was * truncated, the response includes a NextToken. To get the next set * of Git repositories, use the token in the next request.

*/ inline ListCodeRepositoriesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListCodeRepositoriesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListCodeRepositoriesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListCodeRepositoriesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_codeRepositorySummaryList; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws