AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FileSystemLocation.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/FileSystemLocationType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace deadline
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DEADLINE_API FileSystemLocation() = default;
39 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 FileSystemLocation& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetPath() const { return m_path; }
59 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
60 template<typename PathT = Aws::String>
61 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
62 template<typename PathT = Aws::String>
63 FileSystemLocation& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
65
67
70 inline FileSystemLocationType GetType() const { return m_type; }
71 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
72 inline void SetType(FileSystemLocationType value) { m_typeHasBeenSet = true; m_type = value; }
73 inline FileSystemLocation& WithType(FileSystemLocationType value) { SetType(value); return *this;}
75 private:
76
77 Aws::String m_name;
78 bool m_nameHasBeenSet = false;
79
80 Aws::String m_path;
81 bool m_pathHasBeenSet = false;
82
84 bool m_typeHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace deadline
89} // namespace Aws
FileSystemLocation & WithName(NameT &&value)
void SetType(FileSystemLocationType value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
FileSystemLocation & WithType(FileSystemLocationType value)
AWS_DEADLINE_API FileSystemLocation(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API FileSystemLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API FileSystemLocation()=default
FileSystemLocationType GetType() const
FileSystemLocation & WithPath(PathT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue