AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline FileSystemLocation& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline FileSystemLocation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline FileSystemLocation& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetPath() const{ return m_path; }
61 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
62 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
63 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
64 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
65 inline FileSystemLocation& WithPath(const Aws::String& value) { SetPath(value); return *this;}
66 inline FileSystemLocation& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
67 inline FileSystemLocation& WithPath(const char* value) { SetPath(value); return *this;}
69
71
74 inline const FileSystemLocationType& GetType() const{ return m_type; }
75 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
76 inline void SetType(const FileSystemLocationType& value) { m_typeHasBeenSet = true; m_type = value; }
77 inline void SetType(FileSystemLocationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
78 inline FileSystemLocation& WithType(const FileSystemLocationType& value) { SetType(value); return *this;}
79 inline FileSystemLocation& WithType(FileSystemLocationType&& value) { SetType(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85
86 Aws::String m_path;
87 bool m_pathHasBeenSet = false;
88
90 bool m_typeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace deadline
95} // namespace Aws
FileSystemLocation & WithPath(Aws::String &&value)
const FileSystemLocationType & GetType() const
FileSystemLocation & WithPath(const char *value)
void SetType(const FileSystemLocationType &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
FileSystemLocation & WithName(const char *value)
void SetType(FileSystemLocationType &&value)
AWS_DEADLINE_API FileSystemLocation(Aws::Utils::Json::JsonView jsonValue)
FileSystemLocation & WithName(const Aws::String &value)
void SetName(const Aws::String &value)
void SetPath(const Aws::String &value)
AWS_DEADLINE_API FileSystemLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
FileSystemLocation & WithName(Aws::String &&value)
FileSystemLocation & WithPath(const Aws::String &value)
FileSystemLocation & WithType(FileSystemLocationType &&value)
FileSystemLocation & WithType(const FileSystemLocationType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue