AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFilePath(const Aws::String& value) { m_filePathHasBeenSet = true; m_filePath = value; }
48 inline void SetFilePath(Aws::String&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); }
49 inline void SetFilePath(const char* value) { m_filePathHasBeenSet = true; m_filePath.assign(value); }
50 inline SourceFileSpecifier& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;}
51 inline SourceFileSpecifier& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;}
52 inline SourceFileSpecifier& WithFilePath(const char* value) { SetFilePath(value); return *this;}
54
56
59 inline bool GetIsMove() const{ return m_isMove; }
60 inline bool IsMoveHasBeenSet() const { return m_isMoveHasBeenSet; }
61 inline void SetIsMove(bool value) { m_isMoveHasBeenSet = true; m_isMove = value; }
62 inline SourceFileSpecifier& WithIsMove(bool value) { SetIsMove(value); return *this;}
64 private:
65
66 Aws::String m_filePath;
67 bool m_filePathHasBeenSet = false;
68
69 bool m_isMove;
70 bool m_isMoveHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace CodeCommit
75} // namespace Aws
SourceFileSpecifier & WithFilePath(Aws::String &&value)
AWS_CODECOMMIT_API SourceFileSpecifier(Aws::Utils::Json::JsonView jsonValue)
SourceFileSpecifier & WithFilePath(const Aws::String &value)
AWS_CODECOMMIT_API SourceFileSpecifier & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
SourceFileSpecifier & WithIsMove(bool value)
SourceFileSpecifier & WithFilePath(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue