AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RootDirectory.h
1
6#pragma once
7#include <aws/elasticfilesystem/EFS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticfilesystem/model/CreationInfo.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 EFS
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_EFS_API RootDirectory() = default;
43
44
46
52 inline const Aws::String& GetPath() const { return m_path; }
53 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
54 template<typename PathT = Aws::String>
55 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
56 template<typename PathT = Aws::String>
57 RootDirectory& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
59
61
72 inline const CreationInfo& GetCreationInfo() const { return m_creationInfo; }
73 inline bool CreationInfoHasBeenSet() const { return m_creationInfoHasBeenSet; }
74 template<typename CreationInfoT = CreationInfo>
75 void SetCreationInfo(CreationInfoT&& value) { m_creationInfoHasBeenSet = true; m_creationInfo = std::forward<CreationInfoT>(value); }
76 template<typename CreationInfoT = CreationInfo>
77 RootDirectory& WithCreationInfo(CreationInfoT&& value) { SetCreationInfo(std::forward<CreationInfoT>(value)); return *this;}
79 private:
80
81 Aws::String m_path;
82 bool m_pathHasBeenSet = false;
83
84 CreationInfo m_creationInfo;
85 bool m_creationInfoHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace EFS
90} // namespace Aws
RootDirectory & WithPath(PathT &&value)
AWS_EFS_API RootDirectory()=default
RootDirectory & WithCreationInfo(CreationInfoT &&value)
const CreationInfo & GetCreationInfo() const
AWS_EFS_API RootDirectory & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPath() const
AWS_EFS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationInfo(CreationInfoT &&value)
AWS_EFS_API RootDirectory(Aws::Utils::Json::JsonView jsonValue)
void SetPath(PathT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue