AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutDataProtectionPolicyResult.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 PutDataProtectionPolicyResult();
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 PutDataProtectionPolicyResult& 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 PutDataProtectionPolicyResult& WithPolicyDocument(Aws::String&& value) { SetPolicyDocument(std::move(value)); return *this;}
58 inline PutDataProtectionPolicyResult& 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 PutDataProtectionPolicyResult& 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 PutDataProtectionPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline PutDataProtectionPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline PutDataProtectionPolicyResult& 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
PutDataProtectionPolicyResult & WithRequestId(Aws::String &&value)
AWS_CLOUDWATCHLOGS_API PutDataProtectionPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutDataProtectionPolicyResult & WithRequestId(const char *value)
PutDataProtectionPolicyResult & WithLastUpdatedTime(long long value)
PutDataProtectionPolicyResult & WithLogGroupIdentifier(const Aws::String &value)
AWS_CLOUDWATCHLOGS_API PutDataProtectionPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutDataProtectionPolicyResult & WithPolicyDocument(Aws::String &&value)
PutDataProtectionPolicyResult & WithRequestId(const Aws::String &value)
PutDataProtectionPolicyResult & WithPolicyDocument(const Aws::String &value)
PutDataProtectionPolicyResult & WithLogGroupIdentifier(const char *value)
PutDataProtectionPolicyResult & WithPolicyDocument(const char *value)
PutDataProtectionPolicyResult & WithLogGroupIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue