7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codecommit/model/FileMetadata.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
45 inline void SetCommitId(
const char* value) { m_commitId.assign(value); }
59 inline void SetTreeId(
const char* value) { m_treeId.assign(value); }
109 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
CreateCommitResult & WithRequestId(Aws::String &&value)
CreateCommitResult & WithFilesAdded(Aws::Vector< FileMetadata > &&value)
CreateCommitResult & WithRequestId(const char *value)
CreateCommitResult & AddFilesAdded(const FileMetadata &value)
CreateCommitResult & WithCommitId(const Aws::String &value)
CreateCommitResult & WithTreeId(const char *value)
void SetCommitId(const Aws::String &value)
CreateCommitResult & WithCommitId(const char *value)
const Aws::String & GetCommitId() const
void SetRequestId(const char *value)
AWS_CODECOMMIT_API CreateCommitResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFilesAdded(const Aws::Vector< FileMetadata > &value)
CreateCommitResult & WithFilesAdded(const Aws::Vector< FileMetadata > &value)
void SetTreeId(const char *value)
CreateCommitResult & AddFilesUpdated(FileMetadata &&value)
CreateCommitResult & WithFilesUpdated(const Aws::Vector< FileMetadata > &value)
CreateCommitResult & AddFilesDeleted(FileMetadata &&value)
AWS_CODECOMMIT_API CreateCommitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
void SetFilesDeleted(const Aws::Vector< FileMetadata > &value)
AWS_CODECOMMIT_API CreateCommitResult()
void SetCommitId(Aws::String &&value)
CreateCommitResult & WithFilesDeleted(Aws::Vector< FileMetadata > &&value)
void SetTreeId(const Aws::String &value)
CreateCommitResult & WithRequestId(const Aws::String &value)
void SetCommitId(const char *value)
void SetFilesUpdated(Aws::Vector< FileMetadata > &&value)
void SetFilesUpdated(const Aws::Vector< FileMetadata > &value)
CreateCommitResult & WithFilesDeleted(const Aws::Vector< FileMetadata > &value)
CreateCommitResult & AddFilesAdded(FileMetadata &&value)
const Aws::Vector< FileMetadata > & GetFilesAdded() const
CreateCommitResult & WithTreeId(Aws::String &&value)
const Aws::String & GetTreeId() const
CreateCommitResult & WithTreeId(const Aws::String &value)
void SetFilesDeleted(Aws::Vector< FileMetadata > &&value)
CreateCommitResult & AddFilesDeleted(const FileMetadata &value)
const Aws::Vector< FileMetadata > & GetFilesUpdated() const
void SetTreeId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
const Aws::Vector< FileMetadata > & GetFilesDeleted() const
void SetRequestId(Aws::String &&value)
void SetFilesAdded(Aws::Vector< FileMetadata > &&value)
CreateCommitResult & WithCommitId(Aws::String &&value)
CreateCommitResult & AddFilesUpdated(const FileMetadata &value)
CreateCommitResult & WithFilesUpdated(Aws::Vector< FileMetadata > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue