7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codecommit/model/ReplacementTypeEnum.h>
10#include <aws/core/utils/Array.h>
11#include <aws/codecommit/model/FileModeTypeEnum.h>
52 inline void SetFilePath(
const char* value) { m_filePathHasBeenSet =
true; m_filePath.assign(value); }
97 bool m_filePathHasBeenSet =
false;
100 bool m_replacementTypeHasBeenSet =
false;
103 bool m_contentHasBeenSet =
false;
106 bool m_fileModeHasBeenSet =
false;
bool FileModeHasBeenSet() const
void SetReplacementType(const ReplacementTypeEnum &value)
ReplaceContentEntry & WithFilePath(const char *value)
const ReplacementTypeEnum & GetReplacementType() const
ReplaceContentEntry & WithContent(Aws::Utils::ByteBuffer &&value)
ReplaceContentEntry & WithContent(const Aws::Utils::ByteBuffer &value)
bool ReplacementTypeHasBeenSet() const
ReplaceContentEntry & WithFileMode(const FileModeTypeEnum &value)
ReplaceContentEntry & WithReplacementType(ReplacementTypeEnum &&value)
bool FilePathHasBeenSet() const
void SetFilePath(const char *value)
void SetFileMode(const FileModeTypeEnum &value)
ReplaceContentEntry & WithFileMode(FileModeTypeEnum &&value)
void SetContent(const Aws::Utils::ByteBuffer &value)
ReplaceContentEntry & WithFilePath(Aws::String &&value)
const Aws::String & GetFilePath() const
void SetReplacementType(ReplacementTypeEnum &&value)
AWS_CODECOMMIT_API ReplaceContentEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
const FileModeTypeEnum & GetFileMode() const
void SetFilePath(Aws::String &&value)
AWS_CODECOMMIT_API ReplaceContentEntry()
void SetContent(Aws::Utils::ByteBuffer &&value)
bool ContentHasBeenSet() const
ReplaceContentEntry & WithReplacementType(const ReplacementTypeEnum &value)
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::ByteBuffer & GetContent() const
ReplaceContentEntry & WithFilePath(const Aws::String &value)
void SetFilePath(const Aws::String &value)
AWS_CODECOMMIT_API ReplaceContentEntry(Aws::Utils::Json::JsonView jsonValue)
void SetFileMode(FileModeTypeEnum &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue