AWS SDK for C++

AWS SDK for C++ Version 1.11.718

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CodeBuild {
21namespace Model {
22
32 public:
33 AWS_CODEBUILD_API ProjectFileSystemLocation() = default;
36 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline FileSystemType GetType() const { return m_type; }
44 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
45 inline void SetType(FileSystemType value) {
46 m_typeHasBeenSet = true;
47 m_type = value;
48 }
50 SetType(value);
51 return *this;
52 }
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) {
74 m_locationHasBeenSet = true;
75 m_location = std::forward<LocationT>(value);
76 }
77 template <typename LocationT = Aws::String>
79 SetLocation(std::forward<LocationT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetMountPoint() const { return m_mountPoint; }
89 inline bool MountPointHasBeenSet() const { return m_mountPointHasBeenSet; }
90 template <typename MountPointT = Aws::String>
91 void SetMountPoint(MountPointT&& value) {
92 m_mountPointHasBeenSet = true;
93 m_mountPoint = std::forward<MountPointT>(value);
94 }
95 template <typename MountPointT = Aws::String>
97 SetMountPoint(std::forward<MountPointT>(value));
98 return *this;
99 }
101
103
111 inline const Aws::String& GetIdentifier() const { return m_identifier; }
112 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
113 template <typename IdentifierT = Aws::String>
114 void SetIdentifier(IdentifierT&& value) {
115 m_identifierHasBeenSet = true;
116 m_identifier = std::forward<IdentifierT>(value);
117 }
118 template <typename IdentifierT = Aws::String>
120 SetIdentifier(std::forward<IdentifierT>(value));
121 return *this;
122 }
124
126
134 inline const Aws::String& GetMountOptions() const { return m_mountOptions; }
135 inline bool MountOptionsHasBeenSet() const { return m_mountOptionsHasBeenSet; }
136 template <typename MountOptionsT = Aws::String>
137 void SetMountOptions(MountOptionsT&& value) {
138 m_mountOptionsHasBeenSet = true;
139 m_mountOptions = std::forward<MountOptionsT>(value);
140 }
141 template <typename MountOptionsT = Aws::String>
143 SetMountOptions(std::forward<MountOptionsT>(value));
144 return *this;
145 }
147 private:
149
150 Aws::String m_location;
151
152 Aws::String m_mountPoint;
153
154 Aws::String m_identifier;
155
156 Aws::String m_mountOptions;
157 bool m_typeHasBeenSet = false;
158 bool m_locationHasBeenSet = false;
159 bool m_mountPointHasBeenSet = false;
160 bool m_identifierHasBeenSet = false;
161 bool m_mountOptionsHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace CodeBuild
166} // 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