AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
KxDataviewSegmentConfiguration.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.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
37 {
38 public:
39 AWS_FINSPACE_API KxDataviewSegmentConfiguration() = default;
42 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const Aws::Vector<Aws::String>& GetDbPaths() const { return m_dbPaths; }
52 inline bool DbPathsHasBeenSet() const { return m_dbPathsHasBeenSet; }
53 template<typename DbPathsT = Aws::Vector<Aws::String>>
54 void SetDbPaths(DbPathsT&& value) { m_dbPathsHasBeenSet = true; m_dbPaths = std::forward<DbPathsT>(value); }
55 template<typename DbPathsT = Aws::Vector<Aws::String>>
56 KxDataviewSegmentConfiguration& WithDbPaths(DbPathsT&& value) { SetDbPaths(std::forward<DbPathsT>(value)); return *this;}
57 template<typename DbPathsT = Aws::String>
58 KxDataviewSegmentConfiguration& AddDbPaths(DbPathsT&& value) { m_dbPathsHasBeenSet = true; m_dbPaths.emplace_back(std::forward<DbPathsT>(value)); return *this; }
60
62
65 inline const Aws::String& GetVolumeName() const { return m_volumeName; }
66 inline bool VolumeNameHasBeenSet() const { return m_volumeNameHasBeenSet; }
67 template<typename VolumeNameT = Aws::String>
68 void SetVolumeName(VolumeNameT&& value) { m_volumeNameHasBeenSet = true; m_volumeName = std::forward<VolumeNameT>(value); }
69 template<typename VolumeNameT = Aws::String>
70 KxDataviewSegmentConfiguration& WithVolumeName(VolumeNameT&& value) { SetVolumeName(std::forward<VolumeNameT>(value)); return *this;}
72
74
81 inline bool GetOnDemand() const { return m_onDemand; }
82 inline bool OnDemandHasBeenSet() const { return m_onDemandHasBeenSet; }
83 inline void SetOnDemand(bool value) { m_onDemandHasBeenSet = true; m_onDemand = value; }
84 inline KxDataviewSegmentConfiguration& WithOnDemand(bool value) { SetOnDemand(value); return *this;}
86 private:
87
89 bool m_dbPathsHasBeenSet = false;
90
91 Aws::String m_volumeName;
92 bool m_volumeNameHasBeenSet = false;
93
94 bool m_onDemand{false};
95 bool m_onDemandHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace finspace
100} // namespace Aws
AWS_FINSPACE_API KxDataviewSegmentConfiguration()=default
AWS_FINSPACE_API KxDataviewSegmentConfiguration(Aws::Utils::Json::JsonView jsonValue)
KxDataviewSegmentConfiguration & WithVolumeName(VolumeNameT &&value)
KxDataviewSegmentConfiguration & WithOnDemand(bool value)
KxDataviewSegmentConfiguration & WithDbPaths(DbPathsT &&value)
AWS_FINSPACE_API KxDataviewSegmentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
KxDataviewSegmentConfiguration & AddDbPaths(DbPathsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue