7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
9#include <aws/logs/model/OpenSearchResourceStatus.h>
20namespace CloudWatchLogs {
47 template <
typename PolicyNameT = Aws::String>
49 m_policyNameHasBeenSet =
true;
50 m_policyName = std::forward<PolicyNameT>(value);
52 template <
typename PolicyNameT = Aws::String>
66 template <
typename StatusT = OpenSearchResourceStatus>
68 m_statusHasBeenSet =
true;
69 m_status = std::forward<StatusT>(value);
71 template <
typename StatusT = OpenSearchResourceStatus>
81 bool m_policyNameHasBeenSet =
false;
82 bool m_statusHasBeenSet =
false;
AWS_CLOUDWATCHLOGS_API OpenSearchLifecyclePolicy()=default
AWS_CLOUDWATCHLOGS_API OpenSearchLifecyclePolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
OpenSearchLifecyclePolicy & WithStatus(StatusT &&value)
const Aws::String & GetPolicyName() const
const OpenSearchResourceStatus & GetStatus() const
bool PolicyNameHasBeenSet() const
void SetStatus(StatusT &&value)
bool StatusHasBeenSet() const
OpenSearchLifecyclePolicy & WithPolicyName(PolicyNameT &&value)
AWS_CLOUDWATCHLOGS_API OpenSearchLifecyclePolicy(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPolicyName(PolicyNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue