7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codecommit/model/FileModeTypeEnum.h>
10#include <aws/core/utils/Array.h>
11#include <aws/codecommit/model/SourceFileSpecifier.h>
53 inline void SetFilePath(
const char* value) { m_filePathHasBeenSet =
true; m_filePath.assign(value); }
99 bool m_filePathHasBeenSet =
false;
102 bool m_fileModeHasBeenSet =
false;
105 bool m_fileContentHasBeenSet =
false;
108 bool m_sourceFileHasBeenSet =
false;
void SetFileContent(Aws::Utils::ByteBuffer &&value)
PutFileEntry & WithSourceFile(const SourceFileSpecifier &value)
AWS_CODECOMMIT_API PutFileEntry()
PutFileEntry & WithFileContent(const Aws::Utils::ByteBuffer &value)
void SetFilePath(const char *value)
void SetSourceFile(const SourceFileSpecifier &value)
const SourceFileSpecifier & GetSourceFile() const
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFileMode(const FileModeTypeEnum &value)
bool FilePathHasBeenSet() const
void SetSourceFile(SourceFileSpecifier &&value)
bool SourceFileHasBeenSet() const
bool FileModeHasBeenSet() const
const FileModeTypeEnum & GetFileMode() const
bool FileContentHasBeenSet() const
AWS_CODECOMMIT_API PutFileEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
PutFileEntry & WithFileContent(Aws::Utils::ByteBuffer &&value)
PutFileEntry & WithFilePath(const Aws::String &value)
PutFileEntry & WithFileMode(const FileModeTypeEnum &value)
void SetFileMode(FileModeTypeEnum &&value)
PutFileEntry & WithFilePath(const char *value)
void SetFilePath(const Aws::String &value)
void SetFilePath(Aws::String &&value)
PutFileEntry & WithSourceFile(SourceFileSpecifier &&value)
const Aws::Utils::ByteBuffer & GetFileContent() const
void SetFileContent(const Aws::Utils::ByteBuffer &value)
PutFileEntry & WithFileMode(FileModeTypeEnum &&value)
PutFileEntry & WithFilePath(Aws::String &&value)
AWS_CODECOMMIT_API PutFileEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFilePath() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue