AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVolumeName(const Aws::String& value) { m_volumeNameHasBeenSet = true; m_volumeName = value; }
49 inline void SetVolumeName(Aws::String&& value) { m_volumeNameHasBeenSet = true; m_volumeName = std::move(value); }
50 inline void SetVolumeName(const char* value) { m_volumeNameHasBeenSet = true; m_volumeName.assign(value); }
51 inline Volume& WithVolumeName(const Aws::String& value) { SetVolumeName(value); return *this;}
52 inline Volume& WithVolumeName(Aws::String&& value) { SetVolumeName(std::move(value)); return *this;}
53 inline Volume& WithVolumeName(const char* value) { SetVolumeName(value); return *this;}
55
57
61 inline const VolumeType& GetVolumeType() const{ return m_volumeType; }
62 inline bool VolumeTypeHasBeenSet() const { return m_volumeTypeHasBeenSet; }
63 inline void SetVolumeType(const VolumeType& value) { m_volumeTypeHasBeenSet = true; m_volumeType = value; }
64 inline void SetVolumeType(VolumeType&& value) { m_volumeTypeHasBeenSet = true; m_volumeType = std::move(value); }
65 inline Volume& WithVolumeType(const VolumeType& value) { SetVolumeType(value); return *this;}
66 inline Volume& WithVolumeType(VolumeType&& value) { SetVolumeType(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_volumeName;
71 bool m_volumeNameHasBeenSet = false;
72
73 VolumeType m_volumeType;
74 bool m_volumeTypeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace finspace
79} // namespace Aws
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
bool VolumeTypeHasBeenSet() const
Definition Volume.h:62
const Aws::String & GetVolumeName() const
Definition Volume.h:46
AWS_FINSPACE_API Volume()
void SetVolumeName(const char *value)
Definition Volume.h:50
Volume & WithVolumeName(Aws::String &&value)
Definition Volume.h:52
Volume & WithVolumeName(const char *value)
Definition Volume.h:53
void SetVolumeName(Aws::String &&value)
Definition Volume.h:49
Volume & WithVolumeType(VolumeType &&value)
Definition Volume.h:66
void SetVolumeType(VolumeType &&value)
Definition Volume.h:64
void SetVolumeType(const VolumeType &value)
Definition Volume.h:63
bool VolumeNameHasBeenSet() const
Definition Volume.h:47
void SetVolumeName(const Aws::String &value)
Definition Volume.h:48
Volume & WithVolumeName(const Aws::String &value)
Definition Volume.h:51
const VolumeType & GetVolumeType() const
Definition Volume.h:61
Volume & WithVolumeType(const VolumeType &value)
Definition Volume.h:65
AWS_FINSPACE_API Volume(Aws::Utils::Json::JsonView jsonValue)
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