AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KxDatabaseConfiguration.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/finspace/model/KxDataviewConfiguration.h>
11#include <aws/finspace/model/KxDatabaseCacheConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace finspace
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_FINSPACE_API KxDatabaseConfiguration();
41 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
50 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
51 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
52 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
53 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
54 inline KxDatabaseConfiguration& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
55 inline KxDatabaseConfiguration& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
56 inline KxDatabaseConfiguration& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
58
60
64 inline const Aws::Vector<KxDatabaseCacheConfiguration>& GetCacheConfigurations() const{ return m_cacheConfigurations; }
65 inline bool CacheConfigurationsHasBeenSet() const { return m_cacheConfigurationsHasBeenSet; }
66 inline void SetCacheConfigurations(const Aws::Vector<KxDatabaseCacheConfiguration>& value) { m_cacheConfigurationsHasBeenSet = true; m_cacheConfigurations = value; }
67 inline void SetCacheConfigurations(Aws::Vector<KxDatabaseCacheConfiguration>&& value) { m_cacheConfigurationsHasBeenSet = true; m_cacheConfigurations = std::move(value); }
70 inline KxDatabaseConfiguration& AddCacheConfigurations(const KxDatabaseCacheConfiguration& value) { m_cacheConfigurationsHasBeenSet = true; m_cacheConfigurations.push_back(value); return *this; }
71 inline KxDatabaseConfiguration& AddCacheConfigurations(KxDatabaseCacheConfiguration&& value) { m_cacheConfigurationsHasBeenSet = true; m_cacheConfigurations.push_back(std::move(value)); return *this; }
73
75
78 inline const Aws::String& GetChangesetId() const{ return m_changesetId; }
79 inline bool ChangesetIdHasBeenSet() const { return m_changesetIdHasBeenSet; }
80 inline void SetChangesetId(const Aws::String& value) { m_changesetIdHasBeenSet = true; m_changesetId = value; }
81 inline void SetChangesetId(Aws::String&& value) { m_changesetIdHasBeenSet = true; m_changesetId = std::move(value); }
82 inline void SetChangesetId(const char* value) { m_changesetIdHasBeenSet = true; m_changesetId.assign(value); }
83 inline KxDatabaseConfiguration& WithChangesetId(const Aws::String& value) { SetChangesetId(value); return *this;}
84 inline KxDatabaseConfiguration& WithChangesetId(Aws::String&& value) { SetChangesetId(std::move(value)); return *this;}
85 inline KxDatabaseConfiguration& WithChangesetId(const char* value) { SetChangesetId(value); return *this;}
87
89
93 inline const Aws::String& GetDataviewName() const{ return m_dataviewName; }
94 inline bool DataviewNameHasBeenSet() const { return m_dataviewNameHasBeenSet; }
95 inline void SetDataviewName(const Aws::String& value) { m_dataviewNameHasBeenSet = true; m_dataviewName = value; }
96 inline void SetDataviewName(Aws::String&& value) { m_dataviewNameHasBeenSet = true; m_dataviewName = std::move(value); }
97 inline void SetDataviewName(const char* value) { m_dataviewNameHasBeenSet = true; m_dataviewName.assign(value); }
98 inline KxDatabaseConfiguration& WithDataviewName(const Aws::String& value) { SetDataviewName(value); return *this;}
99 inline KxDatabaseConfiguration& WithDataviewName(Aws::String&& value) { SetDataviewName(std::move(value)); return *this;}
100 inline KxDatabaseConfiguration& WithDataviewName(const char* value) { SetDataviewName(value); return *this;}
102
104
107 inline const KxDataviewConfiguration& GetDataviewConfiguration() const{ return m_dataviewConfiguration; }
108 inline bool DataviewConfigurationHasBeenSet() const { return m_dataviewConfigurationHasBeenSet; }
109 inline void SetDataviewConfiguration(const KxDataviewConfiguration& value) { m_dataviewConfigurationHasBeenSet = true; m_dataviewConfiguration = value; }
110 inline void SetDataviewConfiguration(KxDataviewConfiguration&& value) { m_dataviewConfigurationHasBeenSet = true; m_dataviewConfiguration = std::move(value); }
114 private:
115
116 Aws::String m_databaseName;
117 bool m_databaseNameHasBeenSet = false;
118
119 Aws::Vector<KxDatabaseCacheConfiguration> m_cacheConfigurations;
120 bool m_cacheConfigurationsHasBeenSet = false;
121
122 Aws::String m_changesetId;
123 bool m_changesetIdHasBeenSet = false;
124
125 Aws::String m_dataviewName;
126 bool m_dataviewNameHasBeenSet = false;
127
128 KxDataviewConfiguration m_dataviewConfiguration;
129 bool m_dataviewConfigurationHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace finspace
134} // namespace Aws
KxDatabaseConfiguration & AddCacheConfigurations(KxDatabaseCacheConfiguration &&value)
void SetCacheConfigurations(Aws::Vector< KxDatabaseCacheConfiguration > &&value)
KxDatabaseConfiguration & WithChangesetId(const Aws::String &value)
void SetDataviewConfiguration(KxDataviewConfiguration &&value)
KxDatabaseConfiguration & WithCacheConfigurations(const Aws::Vector< KxDatabaseCacheConfiguration > &value)
AWS_FINSPACE_API KxDatabaseConfiguration(Aws::Utils::Json::JsonView jsonValue)
KxDatabaseConfiguration & WithDatabaseName(Aws::String &&value)
const Aws::Vector< KxDatabaseCacheConfiguration > & GetCacheConfigurations() const
const KxDataviewConfiguration & GetDataviewConfiguration() const
KxDatabaseConfiguration & WithChangesetId(const char *value)
AWS_FINSPACE_API KxDatabaseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
KxDatabaseConfiguration & AddCacheConfigurations(const KxDatabaseCacheConfiguration &value)
KxDatabaseConfiguration & WithDataviewConfiguration(const KxDataviewConfiguration &value)
KxDatabaseConfiguration & WithDataviewName(const Aws::String &value)
void SetDataviewConfiguration(const KxDataviewConfiguration &value)
void SetCacheConfigurations(const Aws::Vector< KxDatabaseCacheConfiguration > &value)
KxDatabaseConfiguration & WithCacheConfigurations(Aws::Vector< KxDatabaseCacheConfiguration > &&value)
KxDatabaseConfiguration & WithDatabaseName(const char *value)
KxDatabaseConfiguration & WithDataviewConfiguration(KxDataviewConfiguration &&value)
KxDatabaseConfiguration & WithChangesetId(Aws::String &&value)
KxDatabaseConfiguration & WithDataviewName(const char *value)
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
KxDatabaseConfiguration & WithDataviewName(Aws::String &&value)
KxDatabaseConfiguration & WithDatabaseName(const 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