7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
13template<
typename RESULT_TYPE>
14class AmazonWebServiceResult;
23namespace CloudWatchLogs
40 template<
typename LogGroupIdentifierT = Aws::String>
41 void SetLogGroupIdentifier(LogGroupIdentifierT&& value) { m_logGroupIdentifierHasBeenSet =
true; m_logGroupIdentifier = std::forward<LogGroupIdentifierT>(value); }
42 template<
typename LogGroupIdentifierT = Aws::String>
51 template<
typename PolicyDocumentT = Aws::String>
52 void SetPolicyDocument(PolicyDocumentT&& value) { m_policyDocumentHasBeenSet =
true; m_policyDocument = std::forward<PolicyDocumentT>(value); }
53 template<
typename PolicyDocumentT = Aws::String>
62 inline void SetLastUpdatedTime(
long long value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = value; }
69 template<
typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
71 template<
typename RequestIdT = Aws::String>
77 bool m_logGroupIdentifierHasBeenSet =
false;
80 bool m_policyDocumentHasBeenSet =
false;
82 long long m_lastUpdatedTime{0};
83 bool m_lastUpdatedTimeHasBeenSet =
false;
86 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