AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OptionStatus.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/es/model/OptionState.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 ElasticsearchService
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_ELASTICSEARCHSERVICE_API OptionStatus();
36 AWS_ELASTICSEARCHSERVICE_API OptionStatus(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ELASTICSEARCHSERVICE_API OptionStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
46 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
47 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
48 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
49 inline OptionStatus& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
50 inline OptionStatus& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetUpdateDate() const{ return m_updateDate; }
58 inline bool UpdateDateHasBeenSet() const { return m_updateDateHasBeenSet; }
59 inline void SetUpdateDate(const Aws::Utils::DateTime& value) { m_updateDateHasBeenSet = true; m_updateDate = value; }
60 inline void SetUpdateDate(Aws::Utils::DateTime&& value) { m_updateDateHasBeenSet = true; m_updateDate = std::move(value); }
61 inline OptionStatus& WithUpdateDate(const Aws::Utils::DateTime& value) { SetUpdateDate(value); return *this;}
62 inline OptionStatus& WithUpdateDate(Aws::Utils::DateTime&& value) { SetUpdateDate(std::move(value)); return *this;}
64
66
69 inline int GetUpdateVersion() const{ return m_updateVersion; }
70 inline bool UpdateVersionHasBeenSet() const { return m_updateVersionHasBeenSet; }
71 inline void SetUpdateVersion(int value) { m_updateVersionHasBeenSet = true; m_updateVersion = value; }
72 inline OptionStatus& WithUpdateVersion(int value) { SetUpdateVersion(value); return *this;}
74
76
79 inline const OptionState& GetState() const{ return m_state; }
80 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
81 inline void SetState(const OptionState& value) { m_stateHasBeenSet = true; m_state = value; }
82 inline void SetState(OptionState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
83 inline OptionStatus& WithState(const OptionState& value) { SetState(value); return *this;}
84 inline OptionStatus& WithState(OptionState&& value) { SetState(std::move(value)); return *this;}
86
88
91 inline bool GetPendingDeletion() const{ return m_pendingDeletion; }
92 inline bool PendingDeletionHasBeenSet() const { return m_pendingDeletionHasBeenSet; }
93 inline void SetPendingDeletion(bool value) { m_pendingDeletionHasBeenSet = true; m_pendingDeletion = value; }
94 inline OptionStatus& WithPendingDeletion(bool value) { SetPendingDeletion(value); return *this;}
96 private:
97
98 Aws::Utils::DateTime m_creationDate;
99 bool m_creationDateHasBeenSet = false;
100
101 Aws::Utils::DateTime m_updateDate;
102 bool m_updateDateHasBeenSet = false;
103
104 int m_updateVersion;
105 bool m_updateVersionHasBeenSet = false;
106
107 OptionState m_state;
108 bool m_stateHasBeenSet = false;
109
110 bool m_pendingDeletion;
111 bool m_pendingDeletionHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace ElasticsearchService
116} // namespace Aws
void SetState(const OptionState &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetUpdateDate(const Aws::Utils::DateTime &value)
AWS_ELASTICSEARCHSERVICE_API OptionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationDate() const
OptionStatus & WithUpdateDate(const Aws::Utils::DateTime &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
OptionStatus & WithPendingDeletion(bool value)
AWS_ELASTICSEARCHSERVICE_API OptionStatus()
OptionStatus & WithUpdateDate(Aws::Utils::DateTime &&value)
void SetUpdateDate(Aws::Utils::DateTime &&value)
AWS_ELASTICSEARCHSERVICE_API OptionStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
OptionStatus & WithCreationDate(Aws::Utils::DateTime &&value)
OptionStatus & WithCreationDate(const Aws::Utils::DateTime &value)
OptionStatus & WithState(OptionState &&value)
OptionStatus & WithState(const OptionState &value)
const Aws::Utils::DateTime & GetUpdateDate() const
Aws::Utils::Json::JsonValue JsonValue