AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ProjectFileSystemLocation.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/FileSystemType.h>
9#include <aws/core/utils/memory/stl/AWSString.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 CodeBuild
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_CODEBUILD_API ProjectFileSystemLocation() = default;
41 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline FileSystemType GetType() const { return m_type; }
50 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
51 inline void SetType(FileSystemType value) { m_typeHasBeenSet = true; m_type = value; }
52 inline ProjectFileSystemLocation& WithType(FileSystemType value) { SetType(value); return *this;}
54
56
70 inline const Aws::String& GetLocation() const { return m_location; }
71 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
72 template<typename LocationT = Aws::String>
73 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
74 template<typename LocationT = Aws::String>
75 ProjectFileSystemLocation& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
77
79
82 inline const Aws::String& GetMountPoint() const { return m_mountPoint; }
83 inline bool MountPointHasBeenSet() const { return m_mountPointHasBeenSet; }
84 template<typename MountPointT = Aws::String>
85 void SetMountPoint(MountPointT&& value) { m_mountPointHasBeenSet = true; m_mountPoint = std::forward<MountPointT>(value); }
86 template<typename MountPointT = Aws::String>
87 ProjectFileSystemLocation& WithMountPoint(MountPointT&& value) { SetMountPoint(std::forward<MountPointT>(value)); return *this;}
89
91
99 inline const Aws::String& GetIdentifier() const { return m_identifier; }
100 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
101 template<typename IdentifierT = Aws::String>
102 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
103 template<typename IdentifierT = Aws::String>
104 ProjectFileSystemLocation& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
106
108
116 inline const Aws::String& GetMountOptions() const { return m_mountOptions; }
117 inline bool MountOptionsHasBeenSet() const { return m_mountOptionsHasBeenSet; }
118 template<typename MountOptionsT = Aws::String>
119 void SetMountOptions(MountOptionsT&& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = std::forward<MountOptionsT>(value); }
120 template<typename MountOptionsT = Aws::String>
121 ProjectFileSystemLocation& WithMountOptions(MountOptionsT&& value) { SetMountOptions(std::forward<MountOptionsT>(value)); return *this;}
123 private:
124
126 bool m_typeHasBeenSet = false;
127
128 Aws::String m_location;
129 bool m_locationHasBeenSet = false;
130
131 Aws::String m_mountPoint;
132 bool m_mountPointHasBeenSet = false;
133
134 Aws::String m_identifier;
135 bool m_identifierHasBeenSet = false;
136
137 Aws::String m_mountOptions;
138 bool m_mountOptionsHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace CodeBuild
143} // namespace Aws
ProjectFileSystemLocation & WithMountOptions(MountOptionsT &&value)
ProjectFileSystemLocation & WithIdentifier(IdentifierT &&value)
ProjectFileSystemLocation & WithLocation(LocationT &&value)
ProjectFileSystemLocation & WithMountPoint(MountPointT &&value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEBUILD_API ProjectFileSystemLocation(Aws::Utils::Json::JsonView jsonValue)
ProjectFileSystemLocation & WithType(FileSystemType value)
AWS_CODEBUILD_API ProjectFileSystemLocation()=default
AWS_CODEBUILD_API ProjectFileSystemLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue