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 {
48 template <
typename PolicyNameT = Aws::String>
50 m_policyNameHasBeenSet =
true;
51 m_policyName = std::forward<PolicyNameT>(value);
53 template <
typename PolicyNameT = Aws::String>
67 template <
typename StatusT = OpenSearchResourceStatus>
69 m_statusHasBeenSet =
true;
70 m_status = std::forward<StatusT>(value);
72 template <
typename StatusT = OpenSearchResourceStatus>
82 bool m_policyNameHasBeenSet =
false;
83 bool m_statusHasBeenSet =
false;
AWS_CLOUDWATCHLOGS_API OpenSearchDataAccessPolicy(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API OpenSearchDataAccessPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
const OpenSearchResourceStatus & GetStatus() const
bool PolicyNameHasBeenSet() const
OpenSearchDataAccessPolicy & WithStatus(StatusT &&value)
OpenSearchDataAccessPolicy & WithPolicyName(PolicyNameT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusHasBeenSet() const
AWS_CLOUDWATCHLOGS_API OpenSearchDataAccessPolicy()=default
void SetPolicyName(PolicyNameT &&value)
const Aws::String & GetPolicyName() const
void SetStatus(StatusT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue