/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a repository.See Also:
AWS
* API Reference
The ID of the AWS account associated with the repository.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The ID of the AWS account associated with the repository.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The ID of the AWS account associated with the repository.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The ID of the AWS account associated with the repository.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The ID of the AWS account associated with the repository.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The ID of the AWS account associated with the repository.
*/ inline RepositoryMetadata& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The ID of the AWS account associated with the repository.
*/ inline RepositoryMetadata& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The ID of the AWS account associated with the repository.
*/ inline RepositoryMetadata& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *The ID of the repository.
*/ inline const Aws::String& GetRepositoryId() const{ return m_repositoryId; } /** *The ID of the repository.
*/ inline bool RepositoryIdHasBeenSet() const { return m_repositoryIdHasBeenSet; } /** *The ID of the repository.
*/ inline void SetRepositoryId(const Aws::String& value) { m_repositoryIdHasBeenSet = true; m_repositoryId = value; } /** *The ID of the repository.
*/ inline void SetRepositoryId(Aws::String&& value) { m_repositoryIdHasBeenSet = true; m_repositoryId = std::move(value); } /** *The ID of the repository.
*/ inline void SetRepositoryId(const char* value) { m_repositoryIdHasBeenSet = true; m_repositoryId.assign(value); } /** *The ID of the repository.
*/ inline RepositoryMetadata& WithRepositoryId(const Aws::String& value) { SetRepositoryId(value); return *this;} /** *The ID of the repository.
*/ inline RepositoryMetadata& WithRepositoryId(Aws::String&& value) { SetRepositoryId(std::move(value)); return *this;} /** *The ID of the repository.
*/ inline RepositoryMetadata& WithRepositoryId(const char* value) { SetRepositoryId(value); return *this;} /** *The repository's name.
*/ inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } /** *The repository's name.
*/ inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; } /** *The repository's name.
*/ inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } /** *The repository's name.
*/ inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); } /** *The repository's name.
*/ inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } /** *The repository's name.
*/ inline RepositoryMetadata& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} /** *The repository's name.
*/ inline RepositoryMetadata& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;} /** *The repository's name.
*/ inline RepositoryMetadata& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} /** *A comment or description about the repository.
*/ inline const Aws::String& GetRepositoryDescription() const{ return m_repositoryDescription; } /** *A comment or description about the repository.
*/ inline bool RepositoryDescriptionHasBeenSet() const { return m_repositoryDescriptionHasBeenSet; } /** *A comment or description about the repository.
*/ inline void SetRepositoryDescription(const Aws::String& value) { m_repositoryDescriptionHasBeenSet = true; m_repositoryDescription = value; } /** *A comment or description about the repository.
*/ inline void SetRepositoryDescription(Aws::String&& value) { m_repositoryDescriptionHasBeenSet = true; m_repositoryDescription = std::move(value); } /** *A comment or description about the repository.
*/ inline void SetRepositoryDescription(const char* value) { m_repositoryDescriptionHasBeenSet = true; m_repositoryDescription.assign(value); } /** *A comment or description about the repository.
*/ inline RepositoryMetadata& WithRepositoryDescription(const Aws::String& value) { SetRepositoryDescription(value); return *this;} /** *A comment or description about the repository.
*/ inline RepositoryMetadata& WithRepositoryDescription(Aws::String&& value) { SetRepositoryDescription(std::move(value)); return *this;} /** *A comment or description about the repository.
*/ inline RepositoryMetadata& WithRepositoryDescription(const char* value) { SetRepositoryDescription(value); return *this;} /** *The repository's default branch name.
*/ inline const Aws::String& GetDefaultBranch() const{ return m_defaultBranch; } /** *The repository's default branch name.
*/ inline bool DefaultBranchHasBeenSet() const { return m_defaultBranchHasBeenSet; } /** *The repository's default branch name.
*/ inline void SetDefaultBranch(const Aws::String& value) { m_defaultBranchHasBeenSet = true; m_defaultBranch = value; } /** *The repository's default branch name.
*/ inline void SetDefaultBranch(Aws::String&& value) { m_defaultBranchHasBeenSet = true; m_defaultBranch = std::move(value); } /** *The repository's default branch name.
*/ inline void SetDefaultBranch(const char* value) { m_defaultBranchHasBeenSet = true; m_defaultBranch.assign(value); } /** *The repository's default branch name.
*/ inline RepositoryMetadata& WithDefaultBranch(const Aws::String& value) { SetDefaultBranch(value); return *this;} /** *The repository's default branch name.
*/ inline RepositoryMetadata& WithDefaultBranch(Aws::String&& value) { SetDefaultBranch(std::move(value)); return *this;} /** *The repository's default branch name.
*/ inline RepositoryMetadata& WithDefaultBranch(const char* value) { SetDefaultBranch(value); return *this;} /** *The date and time the repository was last modified, in timestamp format.
*/ inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; } /** *The date and time the repository was last modified, in timestamp format.
*/ inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; } /** *The date and time the repository was last modified, in timestamp format.
*/ inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; } /** *The date and time the repository was last modified, in timestamp format.
*/ inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); } /** *The date and time the repository was last modified, in timestamp format.
*/ inline RepositoryMetadata& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;} /** *The date and time the repository was last modified, in timestamp format.
*/ inline RepositoryMetadata& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;} /** *The date and time the repository was created, in timestamp format.
*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *The date and time the repository was created, in timestamp format.
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *The date and time the repository was created, in timestamp format.
*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *The date and time the repository was created, in timestamp format.
*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *The date and time the repository was created, in timestamp format.
*/ inline RepositoryMetadata& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *The date and time the repository was created, in timestamp format.
*/ inline RepositoryMetadata& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *The URL to use for cloning the repository over HTTPS.
*/ inline const Aws::String& GetCloneUrlHttp() const{ return m_cloneUrlHttp; } /** *The URL to use for cloning the repository over HTTPS.
*/ inline bool CloneUrlHttpHasBeenSet() const { return m_cloneUrlHttpHasBeenSet; } /** *The URL to use for cloning the repository over HTTPS.
*/ inline void SetCloneUrlHttp(const Aws::String& value) { m_cloneUrlHttpHasBeenSet = true; m_cloneUrlHttp = value; } /** *The URL to use for cloning the repository over HTTPS.
*/ inline void SetCloneUrlHttp(Aws::String&& value) { m_cloneUrlHttpHasBeenSet = true; m_cloneUrlHttp = std::move(value); } /** *The URL to use for cloning the repository over HTTPS.
*/ inline void SetCloneUrlHttp(const char* value) { m_cloneUrlHttpHasBeenSet = true; m_cloneUrlHttp.assign(value); } /** *The URL to use for cloning the repository over HTTPS.
*/ inline RepositoryMetadata& WithCloneUrlHttp(const Aws::String& value) { SetCloneUrlHttp(value); return *this;} /** *The URL to use for cloning the repository over HTTPS.
*/ inline RepositoryMetadata& WithCloneUrlHttp(Aws::String&& value) { SetCloneUrlHttp(std::move(value)); return *this;} /** *The URL to use for cloning the repository over HTTPS.
*/ inline RepositoryMetadata& WithCloneUrlHttp(const char* value) { SetCloneUrlHttp(value); return *this;} /** *The URL to use for cloning the repository over SSH.
*/ inline const Aws::String& GetCloneUrlSsh() const{ return m_cloneUrlSsh; } /** *The URL to use for cloning the repository over SSH.
*/ inline bool CloneUrlSshHasBeenSet() const { return m_cloneUrlSshHasBeenSet; } /** *The URL to use for cloning the repository over SSH.
*/ inline void SetCloneUrlSsh(const Aws::String& value) { m_cloneUrlSshHasBeenSet = true; m_cloneUrlSsh = value; } /** *The URL to use for cloning the repository over SSH.
*/ inline void SetCloneUrlSsh(Aws::String&& value) { m_cloneUrlSshHasBeenSet = true; m_cloneUrlSsh = std::move(value); } /** *The URL to use for cloning the repository over SSH.
*/ inline void SetCloneUrlSsh(const char* value) { m_cloneUrlSshHasBeenSet = true; m_cloneUrlSsh.assign(value); } /** *The URL to use for cloning the repository over SSH.
*/ inline RepositoryMetadata& WithCloneUrlSsh(const Aws::String& value) { SetCloneUrlSsh(value); return *this;} /** *The URL to use for cloning the repository over SSH.
*/ inline RepositoryMetadata& WithCloneUrlSsh(Aws::String&& value) { SetCloneUrlSsh(std::move(value)); return *this;} /** *The URL to use for cloning the repository over SSH.
*/ inline RepositoryMetadata& WithCloneUrlSsh(const char* value) { SetCloneUrlSsh(value); return *this;} /** *The Amazon Resource Name (ARN) of the repository.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the repository.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the repository.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the repository.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the repository.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the repository.
*/ inline RepositoryMetadata& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the repository.
*/ inline RepositoryMetadata& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the repository.
*/ inline RepositoryMetadata& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_repositoryId; bool m_repositoryIdHasBeenSet = false; Aws::String m_repositoryName; bool m_repositoryNameHasBeenSet = false; Aws::String m_repositoryDescription; bool m_repositoryDescriptionHasBeenSet = false; Aws::String m_defaultBranch; bool m_defaultBranchHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedDate; bool m_lastModifiedDateHasBeenSet = false; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet = false; Aws::String m_cloneUrlHttp; bool m_cloneUrlHttpHasBeenSet = false; Aws::String m_cloneUrlSsh; bool m_cloneUrlSshHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; }; } // namespace Model } // namespace CodeCommit } // namespace Aws