AWS SDK for C++

AWS SDK for C++ Version 1.11.741

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CodeCommit {
20namespace Model {
21
29 public:
30 AWS_CODECOMMIT_API SourceFileSpecifier() = default;
31 AWS_CODECOMMIT_API SourceFileSpecifier(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetFilePath() const { return m_filePath; }
40 inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
41 template <typename FilePathT = Aws::String>
42 void SetFilePath(FilePathT&& value) {
43 m_filePathHasBeenSet = true;
44 m_filePath = std::forward<FilePathT>(value);
45 }
46 template <typename FilePathT = Aws::String>
47 SourceFileSpecifier& WithFilePath(FilePathT&& value) {
48 SetFilePath(std::forward<FilePathT>(value));
49 return *this;
50 }
52
54
57 inline bool GetIsMove() const { return m_isMove; }
58 inline bool IsMoveHasBeenSet() const { return m_isMoveHasBeenSet; }
59 inline void SetIsMove(bool value) {
60 m_isMoveHasBeenSet = true;
61 m_isMove = value;
62 }
63 inline SourceFileSpecifier& WithIsMove(bool value) {
64 SetIsMove(value);
65 return *this;
66 }
68 private:
69 Aws::String m_filePath;
70
71 bool m_isMove{false};
72 bool m_filePathHasBeenSet = false;
73 bool m_isMoveHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace CodeCommit
78} // 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