AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ColdStorageOptions.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace OpenSearchService {
17namespace Model {
18
28 public:
29 AWS_OPENSEARCHSERVICE_API ColdStorageOptions() = default;
30 AWS_OPENSEARCHSERVICE_API ColdStorageOptions(Aws::Utils::Json::JsonView jsonValue);
31 AWS_OPENSEARCHSERVICE_API ColdStorageOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline bool GetEnabled() const { return m_enabled; }
40 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
41 inline void SetEnabled(bool value) {
42 m_enabledHasBeenSet = true;
43 m_enabled = value;
44 }
45 inline ColdStorageOptions& WithEnabled(bool value) {
46 SetEnabled(value);
47 return *this;
48 }
50 private:
51 bool m_enabled{false};
52 bool m_enabledHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace OpenSearchService
57} // namespace Aws
AWS_OPENSEARCHSERVICE_API ColdStorageOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API ColdStorageOptions()=default
AWS_OPENSEARCHSERVICE_API ColdStorageOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue