AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
FileSystemLocation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/deadline/Deadline_EXPORTS.h>
9#include <aws/deadline/model/FileSystemLocationType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace deadline {
21namespace Model {
22
30 public:
31 AWS_DEADLINE_API FileSystemLocation() = default;
34 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
48 FileSystemLocation& WithName(NameT&& value) {
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
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) {
62 m_pathHasBeenSet = true;
63 m_path = std::forward<PathT>(value);
64 }
65 template <typename PathT = Aws::String>
66 FileSystemLocation& WithPath(PathT&& value) {
67 SetPath(std::forward<PathT>(value));
68 return *this;
69 }
71
73
76 inline FileSystemLocationType GetType() const { return m_type; }
77 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
78 inline void SetType(FileSystemLocationType value) {
79 m_typeHasBeenSet = true;
80 m_type = value;
81 }
83 SetType(value);
84 return *this;
85 }
87 private:
88 Aws::String m_name;
89
90 Aws::String m_path;
91
93 bool m_nameHasBeenSet = false;
94 bool m_pathHasBeenSet = false;
95 bool m_typeHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace deadline
100} // 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