AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
KxSavedownStorageConfiguration.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/finspace/model/KxSavedownStorageType.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 finspace
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_FINSPACE_API KxSavedownStorageConfiguration() = default;
40 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline KxSavedownStorageType GetType() const { return m_type; }
50 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
51 inline void SetType(KxSavedownStorageType value) { m_typeHasBeenSet = true; m_type = value; }
54
56
59 inline int GetSize() const { return m_size; }
60 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
61 inline void SetSize(int value) { m_sizeHasBeenSet = true; m_size = value; }
62 inline KxSavedownStorageConfiguration& WithSize(int value) { SetSize(value); return *this;}
64
66
70 inline const Aws::String& GetVolumeName() const { return m_volumeName; }
71 inline bool VolumeNameHasBeenSet() const { return m_volumeNameHasBeenSet; }
72 template<typename VolumeNameT = Aws::String>
73 void SetVolumeName(VolumeNameT&& value) { m_volumeNameHasBeenSet = true; m_volumeName = std::forward<VolumeNameT>(value); }
74 template<typename VolumeNameT = Aws::String>
75 KxSavedownStorageConfiguration& WithVolumeName(VolumeNameT&& value) { SetVolumeName(std::forward<VolumeNameT>(value)); return *this;}
77 private:
78
80 bool m_typeHasBeenSet = false;
81
82 int m_size{0};
83 bool m_sizeHasBeenSet = false;
84
85 Aws::String m_volumeName;
86 bool m_volumeNameHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace finspace
91} // namespace Aws
KxSavedownStorageConfiguration & WithType(KxSavedownStorageType value)
AWS_FINSPACE_API KxSavedownStorageConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACE_API KxSavedownStorageConfiguration()=default
AWS_FINSPACE_API KxSavedownStorageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
KxSavedownStorageConfiguration & WithVolumeName(VolumeNameT &&value)
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue