7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/codecommit/model/FileModeTypeEnum.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
30 AWS_CODECOMMIT_API
File() =
default;
41 template <
typename BlobIdT = Aws::String>
43 m_blobIdHasBeenSet =
true;
44 m_blobId = std::forward<BlobIdT>(value);
46 template <
typename BlobIdT = Aws::String>
59 template <
typename AbsolutePathT = Aws::String>
61 m_absolutePathHasBeenSet =
true;
62 m_absolutePath = std::forward<AbsolutePathT>(value);
64 template <
typename AbsolutePathT = Aws::String>
77 template <
typename RelativePathT = Aws::String>
79 m_relativePathHasBeenSet =
true;
80 m_relativePath = std::forward<RelativePathT>(value);
82 template <
typename RelativePathT = Aws::String>
97 m_fileModeHasBeenSet =
true;
113 bool m_blobIdHasBeenSet =
false;
114 bool m_absolutePathHasBeenSet =
false;
115 bool m_relativePathHasBeenSet =
false;
116 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