AWS SDK for C++  1.9.97
AWS SDK for C++
ColdStorageOptions.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace ElasticsearchService
20 {
21 namespace Model
22 {
23 
30  {
31  public:
36 
37 
41  inline bool GetEnabled() const{ return m_enabled; }
42 
46  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
47 
51  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
52 
56  inline ColdStorageOptions& WithEnabled(bool value) { SetEnabled(value); return *this;}
57 
58  private:
59 
60  bool m_enabled;
61  bool m_enabledHasBeenSet;
62  };
63 
64 } // namespace Model
65 } // namespace ElasticsearchService
66 } // namespace Aws
Aws::ElasticsearchService::Model::ColdStorageOptions::WithEnabled
ColdStorageOptions & WithEnabled(bool value)
Definition: ColdStorageOptions.h:56
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::ColdStorageOptions::ColdStorageOptions
ColdStorageOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::ColdStorageOptions::ColdStorageOptions
ColdStorageOptions()
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::ColdStorageOptions::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: ColdStorageOptions.h:46
Aws::ElasticsearchService::Model::ColdStorageOptions::operator=
ColdStorageOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::ColdStorageOptions::SetEnabled
void SetEnabled(bool value)
Definition: ColdStorageOptions.h:51
Aws::ElasticsearchService::Model::ColdStorageOptions::GetEnabled
bool GetEnabled() const
Definition: ColdStorageOptions.h:41
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::ColdStorageOptions
Definition: ColdStorageOptions.h:30
Aws::ElasticsearchService::Model::ColdStorageOptions::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const