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

The ARN of the Git repository.

*/ inline const Aws::String& GetCodeRepositoryArn() const{ return m_codeRepositoryArn; } /** *

The ARN of the Git repository.

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

The ARN of the Git repository.

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

The ARN of the Git repository.

*/ inline void SetCodeRepositoryArn(const char* value) { m_codeRepositoryArn.assign(value); } /** *

The ARN of the Git repository.

*/ inline UpdateCodeRepositoryResult& WithCodeRepositoryArn(const Aws::String& value) { SetCodeRepositoryArn(value); return *this;} /** *

The ARN of the Git repository.

*/ inline UpdateCodeRepositoryResult& WithCodeRepositoryArn(Aws::String&& value) { SetCodeRepositoryArn(std::move(value)); return *this;} /** *

The ARN of the Git repository.

*/ inline UpdateCodeRepositoryResult& WithCodeRepositoryArn(const char* value) { SetCodeRepositoryArn(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 UpdateCodeRepositoryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateCodeRepositoryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateCodeRepositoryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_codeRepositoryArn; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws