7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
22namespace CloudWatchLogs {
35 template <
typename LogGroupIdentifierT = Aws::String>
37 m_logGroupIdentifierHasBeenSet =
true;
38 m_logGroupIdentifier = std::forward<LogGroupIdentifierT>(value);
40 template <
typename LogGroupIdentifierT = Aws::String>
52 template <
typename PolicyDocumentT = Aws::String>
54 m_policyDocumentHasBeenSet =
true;
55 m_policyDocument = std::forward<PolicyDocumentT>(value);
57 template <
typename PolicyDocumentT = Aws::String>
70 m_lastUpdatedTimeHasBeenSet =
true;
71 m_lastUpdatedTime = value;
82 template <
typename RequestIdT = Aws::String>
84 m_requestIdHasBeenSet =
true;
85 m_requestId = std::forward<RequestIdT>(value);
87 template <
typename RequestIdT = Aws::String>
100 long long m_lastUpdatedTime{0};
104 bool m_logGroupIdentifierHasBeenSet =
false;
105 bool m_policyDocumentHasBeenSet =
false;
106 bool m_lastUpdatedTimeHasBeenSet =
false;
107 bool m_requestIdHasBeenSet =
false;
void SetLogGroupIdentifier(LogGroupIdentifierT &&value)
PutDataProtectionPolicyResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
AWS_CLOUDWATCHLOGS_API PutDataProtectionPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastUpdatedTime(long long value)
PutDataProtectionPolicyResult & WithLastUpdatedTime(long long value)
AWS_CLOUDWATCHLOGS_API PutDataProtectionPolicyResult()=default
AWS_CLOUDWATCHLOGS_API PutDataProtectionPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutDataProtectionPolicyResult & WithLogGroupIdentifier(LogGroupIdentifierT &&value)
void SetPolicyDocument(PolicyDocumentT &&value)
long long GetLastUpdatedTime() const
const Aws::String & GetPolicyDocument() const
const Aws::String & GetLogGroupIdentifier() const
PutDataProtectionPolicyResult & WithPolicyDocument(PolicyDocumentT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue