AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const FileSystemType& GetType() const{ return m_type; }
50 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
51 inline void SetType(const FileSystemType& value) { m_typeHasBeenSet = true; m_type = value; }
52 inline void SetType(FileSystemType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
53 inline ProjectFileSystemLocation& WithType(const FileSystemType& value) { SetType(value); return *this;}
54 inline ProjectFileSystemLocation& WithType(FileSystemType&& value) { SetType(std::move(value)); return *this;}
56
58
72 inline const Aws::String& GetLocation() const{ return m_location; }
73 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
74 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
75 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
76 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
77 inline ProjectFileSystemLocation& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
78 inline ProjectFileSystemLocation& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
79 inline ProjectFileSystemLocation& WithLocation(const char* value) { SetLocation(value); return *this;}
81
83
86 inline const Aws::String& GetMountPoint() const{ return m_mountPoint; }
87 inline bool MountPointHasBeenSet() const { return m_mountPointHasBeenSet; }
88 inline void SetMountPoint(const Aws::String& value) { m_mountPointHasBeenSet = true; m_mountPoint = value; }
89 inline void SetMountPoint(Aws::String&& value) { m_mountPointHasBeenSet = true; m_mountPoint = std::move(value); }
90 inline void SetMountPoint(const char* value) { m_mountPointHasBeenSet = true; m_mountPoint.assign(value); }
91 inline ProjectFileSystemLocation& WithMountPoint(const Aws::String& value) { SetMountPoint(value); return *this;}
92 inline ProjectFileSystemLocation& WithMountPoint(Aws::String&& value) { SetMountPoint(std::move(value)); return *this;}
93 inline ProjectFileSystemLocation& WithMountPoint(const char* value) { SetMountPoint(value); return *this;}
95
97
105 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
106 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
107 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
108 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
109 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
110 inline ProjectFileSystemLocation& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
111 inline ProjectFileSystemLocation& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
112 inline ProjectFileSystemLocation& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
114
116
124 inline const Aws::String& GetMountOptions() const{ return m_mountOptions; }
125 inline bool MountOptionsHasBeenSet() const { return m_mountOptionsHasBeenSet; }
126 inline void SetMountOptions(const Aws::String& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = value; }
127 inline void SetMountOptions(Aws::String&& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = std::move(value); }
128 inline void SetMountOptions(const char* value) { m_mountOptionsHasBeenSet = true; m_mountOptions.assign(value); }
129 inline ProjectFileSystemLocation& WithMountOptions(const Aws::String& value) { SetMountOptions(value); return *this;}
130 inline ProjectFileSystemLocation& WithMountOptions(Aws::String&& value) { SetMountOptions(std::move(value)); return *this;}
131 inline ProjectFileSystemLocation& WithMountOptions(const char* value) { SetMountOptions(value); return *this;}
133 private:
134
135 FileSystemType m_type;
136 bool m_typeHasBeenSet = false;
137
138 Aws::String m_location;
139 bool m_locationHasBeenSet = false;
140
141 Aws::String m_mountPoint;
142 bool m_mountPointHasBeenSet = false;
143
144 Aws::String m_identifier;
145 bool m_identifierHasBeenSet = false;
146
147 Aws::String m_mountOptions;
148 bool m_mountOptionsHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace CodeBuild
153} // namespace Aws
ProjectFileSystemLocation & WithMountPoint(Aws::String &&value)
ProjectFileSystemLocation & WithLocation(const Aws::String &value)
ProjectFileSystemLocation & WithMountOptions(Aws::String &&value)
ProjectFileSystemLocation & WithLocation(const char *value)
ProjectFileSystemLocation & WithMountOptions(const Aws::String &value)
ProjectFileSystemLocation & WithType(const FileSystemType &value)
ProjectFileSystemLocation & WithIdentifier(Aws::String &&value)
ProjectFileSystemLocation & WithIdentifier(const Aws::String &value)
ProjectFileSystemLocation & WithLocation(Aws::String &&value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectFileSystemLocation & WithType(FileSystemType &&value)
AWS_CODEBUILD_API ProjectFileSystemLocation(Aws::Utils::Json::JsonView jsonValue)
ProjectFileSystemLocation & WithMountOptions(const char *value)
AWS_CODEBUILD_API ProjectFileSystemLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
ProjectFileSystemLocation & WithIdentifier(const char *value)
ProjectFileSystemLocation & WithMountPoint(const char *value)
ProjectFileSystemLocation & WithMountPoint(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue