AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SourceFileSpecifier.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeCommit
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CODECOMMIT_API SourceFileSpecifier() = default;
36 AWS_CODECOMMIT_API SourceFileSpecifier(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetFilePath() const { return m_filePath; }
46 inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
47 template<typename FilePathT = Aws::String>
48 void SetFilePath(FilePathT&& value) { m_filePathHasBeenSet = true; m_filePath = std::forward<FilePathT>(value); }
49 template<typename FilePathT = Aws::String>
50 SourceFileSpecifier& WithFilePath(FilePathT&& value) { SetFilePath(std::forward<FilePathT>(value)); return *this;}
52
54
57 inline bool GetIsMove() const { return m_isMove; }
58 inline bool IsMoveHasBeenSet() const { return m_isMoveHasBeenSet; }
59 inline void SetIsMove(bool value) { m_isMoveHasBeenSet = true; m_isMove = value; }
60 inline SourceFileSpecifier& WithIsMove(bool value) { SetIsMove(value); return *this;}
62 private:
63
64 Aws::String m_filePath;
65 bool m_filePathHasBeenSet = false;
66
67 bool m_isMove{false};
68 bool m_isMoveHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace CodeCommit
73} // namespace Aws
AWS_CODECOMMIT_API SourceFileSpecifier(Aws::Utils::Json::JsonView jsonValue)
SourceFileSpecifier & WithFilePath(FilePathT &&value)
AWS_CODECOMMIT_API SourceFileSpecifier & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECOMMIT_API SourceFileSpecifier()=default
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
SourceFileSpecifier & WithIsMove(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue