7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
9#include <aws/logs/model/IndexSource.h>
20namespace CloudWatchLogs {
42 template <
typename LogGroupIdentifierT = Aws::String>
44 m_logGroupIdentifierHasBeenSet =
true;
45 m_logGroupIdentifier = std::forward<LogGroupIdentifierT>(value);
47 template <
typename LogGroupIdentifierT = Aws::String>
61 m_lastUpdateTimeHasBeenSet =
true;
62 m_lastUpdateTime = value;
76 template <
typename PolicyDocumentT = Aws::String>
78 m_policyDocumentHasBeenSet =
true;
79 m_policyDocument = std::forward<PolicyDocumentT>(value);
81 template <
typename PolicyDocumentT = Aws::String>
95 template <
typename PolicyNameT = Aws::String>
97 m_policyNameHasBeenSet =
true;
98 m_policyName = std::forward<PolicyNameT>(value);
100 template <
typename PolicyNameT = Aws::String>
115 m_sourceHasBeenSet =
true;
126 long long m_lastUpdateTime{0};
133 bool m_logGroupIdentifierHasBeenSet =
false;
134 bool m_lastUpdateTimeHasBeenSet =
false;
135 bool m_policyDocumentHasBeenSet =
false;
136 bool m_policyNameHasBeenSet =
false;
137 bool m_sourceHasBeenSet =
false;
bool PolicyDocumentHasBeenSet() const
void SetLogGroupIdentifier(LogGroupIdentifierT &&value)
bool LogGroupIdentifierHasBeenSet() const
void SetPolicyDocument(PolicyDocumentT &&value)
AWS_CLOUDWATCHLOGS_API IndexPolicy(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdateTime(long long value)
IndexPolicy & WithLastUpdateTime(long long value)
IndexPolicy & WithSource(IndexSource value)
void SetPolicyName(PolicyNameT &&value)
const Aws::String & GetLogGroupIdentifier() const
AWS_CLOUDWATCHLOGS_API IndexPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
IndexSource GetSource() const
bool PolicyNameHasBeenSet() const
const Aws::String & GetPolicyDocument() const
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
IndexPolicy & WithPolicyName(PolicyNameT &&value)
const Aws::String & GetPolicyName() const
bool LastUpdateTimeHasBeenSet() const
bool SourceHasBeenSet() const
long long GetLastUpdateTime() const
IndexPolicy & WithPolicyDocument(PolicyDocumentT &&value)
void SetSource(IndexSource value)
IndexPolicy & WithLogGroupIdentifier(LogGroupIdentifierT &&value)
AWS_CLOUDWATCHLOGS_API IndexPolicy()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue