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>
50 template<
typename FilePathT = Aws::String>
51 void SetFilePath(FilePathT&& value) { m_filePathHasBeenSet =
true; m_filePath = std::forward<FilePathT>(value); }
52 template<
typename FilePathT = Aws::String>
73 template<
typename ContentT = Aws::Utils::ByteBuffer>
74 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
75 template<
typename ContentT = Aws::Utils::ByteBuffer>
91 bool m_filePathHasBeenSet =
false;
94 bool m_replacementTypeHasBeenSet =
false;
97 bool m_contentHasBeenSet =
false;
100 bool m_fileModeHasBeenSet =
false;
bool FileModeHasBeenSet() const
ReplaceContentEntry & WithFilePath(FilePathT &&value)
void SetContent(ContentT &&value)
FileModeTypeEnum GetFileMode() const
ReplaceContentEntry & WithReplacementType(ReplacementTypeEnum value)
bool ReplacementTypeHasBeenSet() const
bool FilePathHasBeenSet() const
ReplaceContentEntry & WithContent(ContentT &&value)
ReplacementTypeEnum GetReplacementType() const
const Aws::String & GetFilePath() const
AWS_CODECOMMIT_API ReplaceContentEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFileMode(FileModeTypeEnum value)
bool ContentHasBeenSet() const
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::ByteBuffer & GetContent() const
void SetReplacementType(ReplacementTypeEnum value)
void SetFilePath(FilePathT &&value)
AWS_CODECOMMIT_API ReplaceContentEntry(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECOMMIT_API ReplaceContentEntry()=default
ReplaceContentEntry & WithFileMode(FileModeTypeEnum value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue