AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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
38 {
39 public:
40 AWS_EFS_API RootDirectory();
44
45
47
53 inline const Aws::String& GetPath() const{ return m_path; }
54 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
55 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
56 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
57 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
58 inline RootDirectory& WithPath(const Aws::String& value) { SetPath(value); return *this;}
59 inline RootDirectory& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
60 inline RootDirectory& WithPath(const char* value) { SetPath(value); return *this;}
62
64
75 inline const CreationInfo& GetCreationInfo() const{ return m_creationInfo; }
76 inline bool CreationInfoHasBeenSet() const { return m_creationInfoHasBeenSet; }
77 inline void SetCreationInfo(const CreationInfo& value) { m_creationInfoHasBeenSet = true; m_creationInfo = value; }
78 inline void SetCreationInfo(CreationInfo&& value) { m_creationInfoHasBeenSet = true; m_creationInfo = std::move(value); }
79 inline RootDirectory& WithCreationInfo(const CreationInfo& value) { SetCreationInfo(value); return *this;}
80 inline RootDirectory& WithCreationInfo(CreationInfo&& value) { SetCreationInfo(std::move(value)); return *this;}
82 private:
83
84 Aws::String m_path;
85 bool m_pathHasBeenSet = false;
86
87 CreationInfo m_creationInfo;
88 bool m_creationInfoHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace EFS
93} // namespace Aws
void SetPath(const char *value)
RootDirectory & WithCreationInfo(const CreationInfo &value)
const CreationInfo & GetCreationInfo() const
void SetCreationInfo(CreationInfo &&value)
AWS_EFS_API RootDirectory & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPath(Aws::String &&value)
RootDirectory & WithPath(Aws::String &&value)
RootDirectory & WithCreationInfo(CreationInfo &&value)
RootDirectory & WithPath(const char *value)
const Aws::String & GetPath() const
RootDirectory & WithPath(const Aws::String &value)
AWS_EFS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationInfo(const CreationInfo &value)
void SetPath(const Aws::String &value)
AWS_EFS_API RootDirectory(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue