AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetDbPaths(const Aws::Vector<Aws::String>& value) { m_dbPathsHasBeenSet = true; m_dbPaths = value; }
54 inline void SetDbPaths(Aws::Vector<Aws::String>&& value) { m_dbPathsHasBeenSet = true; m_dbPaths = std::move(value); }
56 inline KxDataviewSegmentConfiguration& WithDbPaths(Aws::Vector<Aws::String>&& value) { SetDbPaths(std::move(value)); return *this;}
57 inline KxDataviewSegmentConfiguration& AddDbPaths(const Aws::String& value) { m_dbPathsHasBeenSet = true; m_dbPaths.push_back(value); return *this; }
58 inline KxDataviewSegmentConfiguration& AddDbPaths(Aws::String&& value) { m_dbPathsHasBeenSet = true; m_dbPaths.push_back(std::move(value)); return *this; }
59 inline KxDataviewSegmentConfiguration& AddDbPaths(const char* value) { m_dbPathsHasBeenSet = true; m_dbPaths.push_back(value); return *this; }
61
63
66 inline const Aws::String& GetVolumeName() const{ return m_volumeName; }
67 inline bool VolumeNameHasBeenSet() const { return m_volumeNameHasBeenSet; }
68 inline void SetVolumeName(const Aws::String& value) { m_volumeNameHasBeenSet = true; m_volumeName = value; }
69 inline void SetVolumeName(Aws::String&& value) { m_volumeNameHasBeenSet = true; m_volumeName = std::move(value); }
70 inline void SetVolumeName(const char* value) { m_volumeNameHasBeenSet = true; m_volumeName.assign(value); }
71 inline KxDataviewSegmentConfiguration& WithVolumeName(const Aws::String& value) { SetVolumeName(value); return *this;}
72 inline KxDataviewSegmentConfiguration& WithVolumeName(Aws::String&& value) { SetVolumeName(std::move(value)); return *this;}
73 inline KxDataviewSegmentConfiguration& WithVolumeName(const char* value) { SetVolumeName(value); return *this;}
75
77
84 inline bool GetOnDemand() const{ return m_onDemand; }
85 inline bool OnDemandHasBeenSet() const { return m_onDemandHasBeenSet; }
86 inline void SetOnDemand(bool value) { m_onDemandHasBeenSet = true; m_onDemand = value; }
87 inline KxDataviewSegmentConfiguration& WithOnDemand(bool value) { SetOnDemand(value); return *this;}
89 private:
90
92 bool m_dbPathsHasBeenSet = false;
93
94 Aws::String m_volumeName;
95 bool m_volumeNameHasBeenSet = false;
96
97 bool m_onDemand;
98 bool m_onDemandHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace finspace
103} // namespace Aws
KxDataviewSegmentConfiguration & WithDbPaths(Aws::Vector< Aws::String > &&value)
KxDataviewSegmentConfiguration & WithVolumeName(Aws::String &&value)
KxDataviewSegmentConfiguration & WithVolumeName(const char *value)
KxDataviewSegmentConfiguration & WithVolumeName(const Aws::String &value)
AWS_FINSPACE_API KxDataviewSegmentConfiguration(Aws::Utils::Json::JsonView jsonValue)
KxDataviewSegmentConfiguration & AddDbPaths(Aws::String &&value)
KxDataviewSegmentConfiguration & AddDbPaths(const char *value)
KxDataviewSegmentConfiguration & WithOnDemand(bool value)
void SetDbPaths(const Aws::Vector< Aws::String > &value)
KxDataviewSegmentConfiguration & AddDbPaths(const Aws::String &value)
AWS_FINSPACE_API KxDataviewSegmentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
KxDataviewSegmentConfiguration & WithDbPaths(const Aws::Vector< Aws::String > &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