7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codestar-connections/model/ProviderType.h>
22namespace CodeStarconnections
50 inline void SetBranch(
const char* value) { m_branchHasBeenSet =
true; m_branch.assign(value); }
64 inline void SetDirectory(
const char* value) { m_directoryHasBeenSet =
true; m_directory.assign(value); }
79 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
93 inline void SetRepositoryName(
const char* value) { m_repositoryNameHasBeenSet =
true; m_repositoryName.assign(value); }
119 inline void SetSha(
const char* value) { m_shaHasBeenSet =
true; m_sha.assign(value); }
127 bool m_branchHasBeenSet =
false;
130 bool m_directoryHasBeenSet =
false;
133 bool m_ownerIdHasBeenSet =
false;
136 bool m_repositoryNameHasBeenSet =
false;
139 bool m_providerTypeHasBeenSet =
false;
142 bool m_shaHasBeenSet =
false;
Revision & WithOwnerId(const Aws::String &value)
Revision & WithProviderType(const ProviderType &value)
bool OwnerIdHasBeenSet() const
bool BranchHasBeenSet() const
Revision & WithSha(const char *value)
const Aws::String & GetDirectory() const
void SetDirectory(const char *value)
AWS_CODESTARCONNECTIONS_API Revision(Aws::Utils::Json::JsonView jsonValue)
void SetDirectory(Aws::String &&value)
Revision & WithOwnerId(Aws::String &&value)
Revision & WithRepositoryName(Aws::String &&value)
void SetProviderType(ProviderType &&value)
Revision & WithDirectory(const Aws::String &value)
void SetSha(Aws::String &&value)
void SetSha(const Aws::String &value)
Revision & WithOwnerId(const char *value)
void SetBranch(const char *value)
const Aws::String & GetSha() const
void SetBranch(Aws::String &&value)
AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOwnerId(const char *value)
Revision & WithBranch(const char *value)
AWS_CODESTARCONNECTIONS_API Revision()
const Aws::String & GetRepositoryName() const
const ProviderType & GetProviderType() const
const Aws::String & GetOwnerId() const
void SetBranch(const Aws::String &value)
void SetDirectory(const Aws::String &value)
Revision & WithBranch(const Aws::String &value)
bool ShaHasBeenSet() const
Revision & WithDirectory(const char *value)
void SetRepositoryName(const Aws::String &value)
bool ProviderTypeHasBeenSet() const
void SetOwnerId(const Aws::String &value)
void SetRepositoryName(const char *value)
void SetOwnerId(Aws::String &&value)
Revision & WithRepositoryName(const char *value)
void SetRepositoryName(Aws::String &&value)
Revision & WithSha(Aws::String &&value)
Revision & WithDirectory(Aws::String &&value)
bool RepositoryNameHasBeenSet() const
AWS_CODESTARCONNECTIONS_API Revision & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSha(const char *value)
bool DirectoryHasBeenSet() const
const Aws::String & GetBranch() const
Revision & WithRepositoryName(const Aws::String &value)
Revision & WithSha(const Aws::String &value)
Revision & WithBranch(Aws::String &&value)
void SetProviderType(const ProviderType &value)
Revision & WithProviderType(ProviderType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue