7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
13template <
typename RESULT_TYPE>
14class AmazonWebServiceResult;
21namespace CloudWatchLogs {
34 template <
typename LogGroupIdentifierT = Aws::String>
36 m_logGroupIdentifierHasBeenSet =
true;
37 m_logGroupIdentifier = std::forward<LogGroupIdentifierT>(value);
39 template <
typename LogGroupIdentifierT = Aws::String>
51 template <
typename PolicyDocumentT = Aws::String>
53 m_policyDocumentHasBeenSet =
true;
54 m_policyDocument = std::forward<PolicyDocumentT>(value);
56 template <
typename PolicyDocumentT = Aws::String>
69 m_lastUpdatedTimeHasBeenSet =
true;
70 m_lastUpdatedTime = value;
81 template <
typename RequestIdT = Aws::String>
83 m_requestIdHasBeenSet =
true;
84 m_requestId = std::forward<RequestIdT>(value);
86 template <
typename RequestIdT = Aws::String>
97 long long m_lastUpdatedTime{0};
100 bool m_logGroupIdentifierHasBeenSet =
false;
101 bool m_policyDocumentHasBeenSet =
false;
102 bool m_lastUpdatedTimeHasBeenSet =
false;
103 bool m_requestIdHasBeenSet =
false;
AWS_CLOUDWATCHLOGS_API GetDataProtectionPolicyResult()=default
GetDataProtectionPolicyResult & WithLastUpdatedTime(long long value)
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
AWS_CLOUDWATCHLOGS_API GetDataProtectionPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPolicyDocument(PolicyDocumentT &&value)
long long GetLastUpdatedTime() const
GetDataProtectionPolicyResult & WithRequestId(RequestIdT &&value)
void SetLastUpdatedTime(long long value)
AWS_CLOUDWATCHLOGS_API GetDataProtectionPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLogGroupIdentifier(LogGroupIdentifierT &&value)
const Aws::String & GetPolicyDocument() const
GetDataProtectionPolicyResult & WithPolicyDocument(PolicyDocumentT &&value)
const Aws::String & GetLogGroupIdentifier() const
GetDataProtectionPolicyResult & WithLogGroupIdentifier(LogGroupIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue