AWS SDK for C++  1.8.152
AWS SDK for C++
DeleteFileEntry.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace CodeCommit
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetFilePath() const{ return m_filePath; }
44 
48  inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
49 
53  inline void SetFilePath(const Aws::String& value) { m_filePathHasBeenSet = true; m_filePath = value; }
54 
58  inline void SetFilePath(Aws::String&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); }
59 
63  inline void SetFilePath(const char* value) { m_filePathHasBeenSet = true; m_filePath.assign(value); }
64 
68  inline DeleteFileEntry& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;}
69 
73  inline DeleteFileEntry& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;}
74 
78  inline DeleteFileEntry& WithFilePath(const char* value) { SetFilePath(value); return *this;}
79 
80  private:
81 
82  Aws::String m_filePath;
83  bool m_filePathHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace CodeCommit
88 } // namespace Aws
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::DeleteFileEntry::SetFilePath
void SetFilePath(const Aws::String &value)
Definition: DeleteFileEntry.h:53
Aws::CodeCommit::Model::DeleteFileEntry::operator=
DeleteFileEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeCommit::Model::DeleteFileEntry::GetFilePath
const Aws::String & GetFilePath() const
Definition: DeleteFileEntry.h:43
Aws::CodeCommit::Model::DeleteFileEntry::WithFilePath
DeleteFileEntry & WithFilePath(const char *value)
Definition: DeleteFileEntry.h:78
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::DeleteFileEntry::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodeCommit::Model::DeleteFileEntry::WithFilePath
DeleteFileEntry & WithFilePath(const Aws::String &value)
Definition: DeleteFileEntry.h:68
Aws::CodeCommit::Model::DeleteFileEntry::WithFilePath
DeleteFileEntry & WithFilePath(Aws::String &&value)
Definition: DeleteFileEntry.h:73
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::DeleteFileEntry
Definition: DeleteFileEntry.h:32
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeCommit::Model::DeleteFileEntry::DeleteFileEntry
DeleteFileEntry(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeCommit::Model::DeleteFileEntry::DeleteFileEntry
DeleteFileEntry()
Aws::CodeCommit::Model::DeleteFileEntry::SetFilePath
void SetFilePath(Aws::String &&value)
Definition: DeleteFileEntry.h:58
Aws::CodeCommit::Model::DeleteFileEntry::FilePathHasBeenSet
bool FilePathHasBeenSet() const
Definition: DeleteFileEntry.h:48
Aws::CodeCommit::Model::DeleteFileEntry::SetFilePath
void SetFilePath(const char *value)
Definition: DeleteFileEntry.h:63