AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
KxSavedownStorageConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/finspace/Finspace_EXPORTS.h>
9#include <aws/finspace/model/KxSavedownStorageType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace finspace {
21namespace Model {
22
31 public:
32 AWS_FINSPACE_API KxSavedownStorageConfiguration() = default;
35 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline KxSavedownStorageType GetType() const { return m_type; }
44 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
45 inline void SetType(KxSavedownStorageType value) {
46 m_typeHasBeenSet = true;
47 m_type = value;
48 }
50 SetType(value);
51 return *this;
52 }
54
56
59 inline int GetSize() const { return m_size; }
60 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
61 inline void SetSize(int value) {
62 m_sizeHasBeenSet = true;
63 m_size = value;
64 }
66 SetSize(value);
67 return *this;
68 }
70
72
76 inline const Aws::String& GetVolumeName() const { return m_volumeName; }
77 inline bool VolumeNameHasBeenSet() const { return m_volumeNameHasBeenSet; }
78 template <typename VolumeNameT = Aws::String>
79 void SetVolumeName(VolumeNameT&& value) {
80 m_volumeNameHasBeenSet = true;
81 m_volumeName = std::forward<VolumeNameT>(value);
82 }
83 template <typename VolumeNameT = Aws::String>
85 SetVolumeName(std::forward<VolumeNameT>(value));
86 return *this;
87 }
89 private:
91
92 int m_size{0};
93
94 Aws::String m_volumeName;
95 bool m_typeHasBeenSet = false;
96 bool m_sizeHasBeenSet = false;
97 bool m_volumeNameHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace finspace
102} // 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