AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
RootDirectory.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticfilesystem/EFS_EXPORTS.h>
9#include <aws/elasticfilesystem/model/CreationInfo.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EFS {
21namespace Model {
22
33 public:
34 AWS_EFS_API RootDirectory() = default;
38
40
46 inline const Aws::String& GetPath() const { return m_path; }
47 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
48 template <typename PathT = Aws::String>
49 void SetPath(PathT&& value) {
50 m_pathHasBeenSet = true;
51 m_path = std::forward<PathT>(value);
52 }
53 template <typename PathT = Aws::String>
54 RootDirectory& WithPath(PathT&& value) {
55 SetPath(std::forward<PathT>(value));
56 return *this;
57 }
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) {
76 m_creationInfoHasBeenSet = true;
77 m_creationInfo = std::forward<CreationInfoT>(value);
78 }
79 template <typename CreationInfoT = CreationInfo>
80 RootDirectory& WithCreationInfo(CreationInfoT&& value) {
81 SetCreationInfo(std::forward<CreationInfoT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_path;
87
88 CreationInfo m_creationInfo;
89 bool m_pathHasBeenSet = false;
90 bool m_creationInfoHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace EFS
95} // 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