AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDataProtectionPolicyResult.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CloudWatchLogs
24{
25namespace Model
26{
28 {
29 public:
30 AWS_CLOUDWATCHLOGS_API GetDataProtectionPolicyResult();
33
34
36
39 inline const Aws::String& GetLogGroupIdentifier() const{ return m_logGroupIdentifier; }
40 inline void SetLogGroupIdentifier(const Aws::String& value) { m_logGroupIdentifier = value; }
41 inline void SetLogGroupIdentifier(Aws::String&& value) { m_logGroupIdentifier = std::move(value); }
42 inline void SetLogGroupIdentifier(const char* value) { m_logGroupIdentifier.assign(value); }
45 inline GetDataProtectionPolicyResult& WithLogGroupIdentifier(const char* value) { SetLogGroupIdentifier(value); return *this;}
47
49
52 inline const Aws::String& GetPolicyDocument() const{ return m_policyDocument; }
53 inline void SetPolicyDocument(const Aws::String& value) { m_policyDocument = value; }
54 inline void SetPolicyDocument(Aws::String&& value) { m_policyDocument = std::move(value); }
55 inline void SetPolicyDocument(const char* value) { m_policyDocument.assign(value); }
57 inline GetDataProtectionPolicyResult& WithPolicyDocument(Aws::String&& value) { SetPolicyDocument(std::move(value)); return *this;}
58 inline GetDataProtectionPolicyResult& WithPolicyDocument(const char* value) { SetPolicyDocument(value); return *this;}
60
62
65 inline long long GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
66 inline void SetLastUpdatedTime(long long value) { m_lastUpdatedTime = value; }
67 inline GetDataProtectionPolicyResult& WithLastUpdatedTime(long long value) { SetLastUpdatedTime(value); return *this;}
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline GetDataProtectionPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline GetDataProtectionPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline GetDataProtectionPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
82 Aws::String m_logGroupIdentifier;
83
84 Aws::String m_policyDocument;
85
86 long long m_lastUpdatedTime;
87
88 Aws::String m_requestId;
89 };
90
91} // namespace Model
92} // namespace CloudWatchLogs
93} // namespace Aws
GetDataProtectionPolicyResult & WithLastUpdatedTime(long long value)
AWS_CLOUDWATCHLOGS_API GetDataProtectionPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataProtectionPolicyResult & WithRequestId(Aws::String &&value)
GetDataProtectionPolicyResult & WithRequestId(const char *value)
GetDataProtectionPolicyResult & WithPolicyDocument(const Aws::String &value)
GetDataProtectionPolicyResult & WithLogGroupIdentifier(Aws::String &&value)
GetDataProtectionPolicyResult & WithPolicyDocument(const char *value)
GetDataProtectionPolicyResult & WithLogGroupIdentifier(const char *value)
GetDataProtectionPolicyResult & WithRequestId(const Aws::String &value)
AWS_CLOUDWATCHLOGS_API GetDataProtectionPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataProtectionPolicyResult & WithLogGroupIdentifier(const Aws::String &value)
GetDataProtectionPolicyResult & WithPolicyDocument(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue