7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetBranchName(
const char* value) { m_branchNameHasBeenSet =
true; m_branchName.assign(value); }
62 inline void SetCommitId(
const char* value) { m_commitIdHasBeenSet =
true; m_commitId.assign(value); }
70 bool m_branchNameHasBeenSet =
false;
73 bool m_commitIdHasBeenSet =
false;
AWS_CODECOMMIT_API BranchInfo()
void SetBranchName(const char *value)
bool CommitIdHasBeenSet() const
BranchInfo & WithBranchName(Aws::String &&value)
const Aws::String & GetBranchName() const
BranchInfo & WithBranchName(const Aws::String &value)
void SetBranchName(const Aws::String &value)
void SetBranchName(Aws::String &&value)
BranchInfo & WithBranchName(const char *value)
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
BranchInfo & WithCommitId(const char *value)
void SetCommitId(Aws::String &&value)
AWS_CODECOMMIT_API BranchInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
BranchInfo & WithCommitId(Aws::String &&value)
AWS_CODECOMMIT_API BranchInfo(Aws::Utils::Json::JsonView jsonValue)
bool BranchNameHasBeenSet() const
const Aws::String & GetCommitId() const
BranchInfo & WithCommitId(const Aws::String &value)
void SetCommitId(const Aws::String &value)
void SetCommitId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue