7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codecommit/model/FileModeTypeEnum.h>
35 AWS_CODECOMMIT_API
File() =
default;
47 template<
typename BlobIdT = Aws::String>
48 void SetBlobId(BlobIdT&& value) { m_blobIdHasBeenSet =
true; m_blobId = std::forward<BlobIdT>(value); }
49 template<
typename BlobIdT = Aws::String>
59 template<
typename AbsolutePathT = Aws::String>
60 void SetAbsolutePath(AbsolutePathT&& value) { m_absolutePathHasBeenSet =
true; m_absolutePath = std::forward<AbsolutePathT>(value); }
61 template<
typename AbsolutePathT = Aws::String>
71 template<
typename RelativePathT = Aws::String>
72 void SetRelativePath(RelativePathT&& value) { m_relativePathHasBeenSet =
true; m_relativePath = std::forward<RelativePathT>(value); }
73 template<
typename RelativePathT = Aws::String>
90 bool m_blobIdHasBeenSet =
false;
93 bool m_absolutePathHasBeenSet =
false;
96 bool m_relativePathHasBeenSet =
false;
99 bool m_fileModeHasBeenSet =
false;
bool FileModeHasBeenSet() const
void SetFileMode(FileModeTypeEnum value)
const Aws::String & GetBlobId() const
FileModeTypeEnum GetFileMode() const
void SetBlobId(BlobIdT &&value)
AWS_CODECOMMIT_API File(Aws::Utils::Json::JsonView jsonValue)
File & WithAbsolutePath(AbsolutePathT &&value)
const Aws::String & GetAbsolutePath() const
bool AbsolutePathHasBeenSet() const
File & WithBlobId(BlobIdT &&value)
bool RelativePathHasBeenSet() const
File & WithRelativePath(RelativePathT &&value)
void SetAbsolutePath(AbsolutePathT &&value)
AWS_CODECOMMIT_API File & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECOMMIT_API File()=default
void SetRelativePath(RelativePathT &&value)
File & WithFileMode(FileModeTypeEnum value)
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
bool BlobIdHasBeenSet() const
const Aws::String & GetRelativePath() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue