AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Volume.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace/model/VolumeType.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 finspace
23{
24namespace Model
25{
26
33 class Volume
34 {
35 public:
36 AWS_FINSPACE_API Volume() = default;
37 AWS_FINSPACE_API Volume(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FINSPACE_API Volume& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetVolumeName() const { return m_volumeName; }
47 inline bool VolumeNameHasBeenSet() const { return m_volumeNameHasBeenSet; }
48 template<typename VolumeNameT = Aws::String>
49 void SetVolumeName(VolumeNameT&& value) { m_volumeNameHasBeenSet = true; m_volumeName = std::forward<VolumeNameT>(value); }
50 template<typename VolumeNameT = Aws::String>
51 Volume& WithVolumeName(VolumeNameT&& value) { SetVolumeName(std::forward<VolumeNameT>(value)); return *this;}
53
55
59 inline VolumeType GetVolumeType() const { return m_volumeType; }
60 inline bool VolumeTypeHasBeenSet() const { return m_volumeTypeHasBeenSet; }
61 inline void SetVolumeType(VolumeType value) { m_volumeTypeHasBeenSet = true; m_volumeType = value; }
62 inline Volume& WithVolumeType(VolumeType value) { SetVolumeType(value); return *this;}
64 private:
65
66 Aws::String m_volumeName;
67 bool m_volumeNameHasBeenSet = false;
68
69 VolumeType m_volumeType{VolumeType::NOT_SET};
70 bool m_volumeTypeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace finspace
75} // namespace Aws
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
bool VolumeTypeHasBeenSet() const
Definition Volume.h:60
const Aws::String & GetVolumeName() const
Definition Volume.h:46
void SetVolumeName(VolumeNameT &&value)
Definition Volume.h:49
VolumeType GetVolumeType() const
Definition Volume.h:59
Volume & WithVolumeType(VolumeType value)
Definition Volume.h:62
void SetVolumeType(VolumeType value)
Definition Volume.h:61
bool VolumeNameHasBeenSet() const
Definition Volume.h:47
AWS_FINSPACE_API Volume()=default
AWS_FINSPACE_API Volume(Aws::Utils::Json::JsonView jsonValue)
Volume & WithVolumeName(VolumeNameT &&value)
Definition Volume.h:51
AWS_FINSPACE_API Volume & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue