7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename CommitIdT = Aws::String>
48 void SetCommitId(CommitIdT&& value) { m_commitIdHasBeenSet =
true; m_commitId = std::forward<CommitIdT>(value); }
49 template<
typename CommitIdT = Aws::String>
60 template<
typename ErrorCodeT = Aws::String>
61 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet =
true; m_errorCode = std::forward<ErrorCodeT>(value); }
62 template<
typename ErrorCodeT = Aws::String>
73 template<
typename ErrorMessageT = Aws::String>
74 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
75 template<
typename ErrorMessageT = Aws::String>
81 bool m_commitIdHasBeenSet =
false;
84 bool m_errorCodeHasBeenSet =
false;
87 bool m_errorMessageHasBeenSet =
false;
BatchGetCommitsError & WithErrorMessage(ErrorMessageT &&value)
bool ErrorCodeHasBeenSet() const
const Aws::String & GetErrorMessage() const
BatchGetCommitsError & WithCommitId(CommitIdT &&value)
BatchGetCommitsError & WithErrorCode(ErrorCodeT &&value)
AWS_CODECOMMIT_API BatchGetCommitsError(Aws::Utils::Json::JsonView jsonValue)
void SetCommitId(CommitIdT &&value)
void SetErrorCode(ErrorCodeT &&value)
const Aws::String & GetCommitId() const
bool ErrorMessageHasBeenSet() const
void SetErrorMessage(ErrorMessageT &&value)
const Aws::String & GetErrorCode() const
AWS_CODECOMMIT_API BatchGetCommitsError & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECOMMIT_API BatchGetCommitsError()=default
bool CommitIdHasBeenSet() const
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue