AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
40 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const KxSavedownStorageType& GetType() const{ return m_type; }
50 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
51 inline void SetType(const KxSavedownStorageType& value) { m_typeHasBeenSet = true; m_type = value; }
52 inline void SetType(KxSavedownStorageType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
53 inline KxSavedownStorageConfiguration& WithType(const KxSavedownStorageType& value) { SetType(value); return *this;}
54 inline KxSavedownStorageConfiguration& WithType(KxSavedownStorageType&& value) { SetType(std::move(value)); return *this;}
56
58
61 inline int GetSize() const{ return m_size; }
62 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
63 inline void SetSize(int value) { m_sizeHasBeenSet = true; m_size = value; }
64 inline KxSavedownStorageConfiguration& WithSize(int value) { SetSize(value); return *this;}
66
68
72 inline const Aws::String& GetVolumeName() const{ return m_volumeName; }
73 inline bool VolumeNameHasBeenSet() const { return m_volumeNameHasBeenSet; }
74 inline void SetVolumeName(const Aws::String& value) { m_volumeNameHasBeenSet = true; m_volumeName = value; }
75 inline void SetVolumeName(Aws::String&& value) { m_volumeNameHasBeenSet = true; m_volumeName = std::move(value); }
76 inline void SetVolumeName(const char* value) { m_volumeNameHasBeenSet = true; m_volumeName.assign(value); }
77 inline KxSavedownStorageConfiguration& WithVolumeName(const Aws::String& value) { SetVolumeName(value); return *this;}
78 inline KxSavedownStorageConfiguration& WithVolumeName(Aws::String&& value) { SetVolumeName(std::move(value)); return *this;}
79 inline KxSavedownStorageConfiguration& WithVolumeName(const char* value) { SetVolumeName(value); return *this;}
81 private:
82
84 bool m_typeHasBeenSet = false;
85
86 int m_size;
87 bool m_sizeHasBeenSet = false;
88
89 Aws::String m_volumeName;
90 bool m_volumeNameHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace finspace
95} // namespace Aws
KxSavedownStorageConfiguration & WithVolumeName(const Aws::String &value)
AWS_FINSPACE_API KxSavedownStorageConfiguration(Aws::Utils::Json::JsonView jsonValue)
KxSavedownStorageConfiguration & WithType(KxSavedownStorageType &&value)
KxSavedownStorageConfiguration & WithVolumeName(Aws::String &&value)
KxSavedownStorageConfiguration & WithVolumeName(const char *value)
KxSavedownStorageConfiguration & WithType(const KxSavedownStorageType &value)
AWS_FINSPACE_API KxSavedownStorageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
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