7#include <aws/codeconnections/CodeConnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codeconnections/model/ProviderType.h>
22namespace CodeConnections
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;
const Aws::String & GetOwnerId() const
bool ShaHasBeenSet() const
void SetDirectory(const Aws::String &value)
Revision & WithRepositoryName(const Aws::String &value)
bool BranchHasBeenSet() const
AWS_CODECONNECTIONS_API Revision()
void SetSha(const Aws::String &value)
const Aws::String & GetDirectory() const
Revision & WithSha(const Aws::String &value)
Revision & WithRepositoryName(const char *value)
const Aws::String & GetSha() const
Revision & WithRepositoryName(Aws::String &&value)
AWS_CODECONNECTIONS_API Revision(Aws::Utils::Json::JsonView jsonValue)
void SetSha(const char *value)
const Aws::String & GetRepositoryName() const
void SetSha(Aws::String &&value)
bool OwnerIdHasBeenSet() const
Revision & WithBranch(Aws::String &&value)
Revision & WithSha(Aws::String &&value)
bool DirectoryHasBeenSet() const
Revision & WithDirectory(const char *value)
AWS_CODECONNECTIONS_API Revision & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDirectory(const char *value)
void SetOwnerId(const char *value)
void SetBranch(const char *value)
void SetDirectory(Aws::String &&value)
void SetOwnerId(Aws::String &&value)
void SetBranch(const Aws::String &value)
void SetOwnerId(const Aws::String &value)
void SetProviderType(ProviderType &&value)
Revision & WithOwnerId(Aws::String &&value)
const ProviderType & GetProviderType() const
Revision & WithBranch(const Aws::String &value)
void SetRepositoryName(const Aws::String &value)
Revision & WithOwnerId(const Aws::String &value)
void SetBranch(Aws::String &&value)
Revision & WithBranch(const char *value)
void SetProviderType(const ProviderType &value)
Revision & WithDirectory(Aws::String &&value)
bool RepositoryNameHasBeenSet() const
Revision & WithOwnerId(const char *value)
Revision & WithProviderType(ProviderType &&value)
Revision & WithSha(const char *value)
Revision & WithProviderType(const ProviderType &value)
void SetRepositoryName(const char *value)
void SetRepositoryName(Aws::String &&value)
bool ProviderTypeHasBeenSet() const
const Aws::String & GetBranch() const
Revision & WithDirectory(const Aws::String &value)
AWS_CODECONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue