AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
KxDataviewSegmentConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/finspace/Finspace_EXPORTS.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
33 public:
34 AWS_FINSPACE_API KxDataviewSegmentConfiguration() = default;
37 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
45 inline const Aws::Vector<Aws::String>& GetDbPaths() const { return m_dbPaths; }
46 inline bool DbPathsHasBeenSet() const { return m_dbPathsHasBeenSet; }
47 template <typename DbPathsT = Aws::Vector<Aws::String>>
48 void SetDbPaths(DbPathsT&& value) {
49 m_dbPathsHasBeenSet = true;
50 m_dbPaths = std::forward<DbPathsT>(value);
51 }
52 template <typename DbPathsT = Aws::Vector<Aws::String>>
54 SetDbPaths(std::forward<DbPathsT>(value));
55 return *this;
56 }
57 template <typename DbPathsT = Aws::String>
59 m_dbPathsHasBeenSet = true;
60 m_dbPaths.emplace_back(std::forward<DbPathsT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetVolumeName() const { return m_volumeName; }
70 inline bool VolumeNameHasBeenSet() const { return m_volumeNameHasBeenSet; }
71 template <typename VolumeNameT = Aws::String>
72 void SetVolumeName(VolumeNameT&& value) {
73 m_volumeNameHasBeenSet = true;
74 m_volumeName = std::forward<VolumeNameT>(value);
75 }
76 template <typename VolumeNameT = Aws::String>
78 SetVolumeName(std::forward<VolumeNameT>(value));
79 return *this;
80 }
82
84
91 inline bool GetOnDemand() const { return m_onDemand; }
92 inline bool OnDemandHasBeenSet() const { return m_onDemandHasBeenSet; }
93 inline void SetOnDemand(bool value) {
94 m_onDemandHasBeenSet = true;
95 m_onDemand = value;
96 }
98 SetOnDemand(value);
99 return *this;
100 }
102 private:
103 Aws::Vector<Aws::String> m_dbPaths;
104
105 Aws::String m_volumeName;
106
107 bool m_onDemand{false};
108 bool m_dbPathsHasBeenSet = false;
109 bool m_volumeNameHasBeenSet = false;
110 bool m_onDemandHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace finspace
115} // 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