AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutLogEventsResult.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/logs/model/RejectedLogEventsInfo.h>
10#include <aws/logs/model/RejectedEntityInfo.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CloudWatchLogs
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CLOUDWATCHLOGS_API PutLogEventsResult();
35
36
38
47 inline const Aws::String& GetNextSequenceToken() const{ return m_nextSequenceToken; }
48 inline void SetNextSequenceToken(const Aws::String& value) { m_nextSequenceToken = value; }
49 inline void SetNextSequenceToken(Aws::String&& value) { m_nextSequenceToken = std::move(value); }
50 inline void SetNextSequenceToken(const char* value) { m_nextSequenceToken.assign(value); }
51 inline PutLogEventsResult& WithNextSequenceToken(const Aws::String& value) { SetNextSequenceToken(value); return *this;}
52 inline PutLogEventsResult& WithNextSequenceToken(Aws::String&& value) { SetNextSequenceToken(std::move(value)); return *this;}
53 inline PutLogEventsResult& WithNextSequenceToken(const char* value) { SetNextSequenceToken(value); return *this;}
55
57
60 inline const RejectedLogEventsInfo& GetRejectedLogEventsInfo() const{ return m_rejectedLogEventsInfo; }
61 inline void SetRejectedLogEventsInfo(const RejectedLogEventsInfo& value) { m_rejectedLogEventsInfo = value; }
62 inline void SetRejectedLogEventsInfo(RejectedLogEventsInfo&& value) { m_rejectedLogEventsInfo = std::move(value); }
66
68
71 inline const RejectedEntityInfo& GetRejectedEntityInfo() const{ return m_rejectedEntityInfo; }
72 inline void SetRejectedEntityInfo(const RejectedEntityInfo& value) { m_rejectedEntityInfo = value; }
73 inline void SetRejectedEntityInfo(RejectedEntityInfo&& value) { m_rejectedEntityInfo = std::move(value); }
75 inline PutLogEventsResult& WithRejectedEntityInfo(RejectedEntityInfo&& value) { SetRejectedEntityInfo(std::move(value)); return *this;}
77
79
80 inline const Aws::String& GetRequestId() const{ return m_requestId; }
81 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
82 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
83 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
84 inline PutLogEventsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline PutLogEventsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline PutLogEventsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
88 private:
89
90 Aws::String m_nextSequenceToken;
91
92 RejectedLogEventsInfo m_rejectedLogEventsInfo;
93
94 RejectedEntityInfo m_rejectedEntityInfo;
95
96 Aws::String m_requestId;
97 };
98
99} // namespace Model
100} // namespace CloudWatchLogs
101} // namespace Aws
AWS_CLOUDWATCHLOGS_API PutLogEventsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDWATCHLOGS_API PutLogEventsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutLogEventsResult & WithRequestId(Aws::String &&value)
PutLogEventsResult & WithRejectedEntityInfo(RejectedEntityInfo &&value)
PutLogEventsResult & WithRequestId(const char *value)
PutLogEventsResult & WithRejectedLogEventsInfo(const RejectedLogEventsInfo &value)
void SetRejectedLogEventsInfo(RejectedLogEventsInfo &&value)
void SetNextSequenceToken(const Aws::String &value)
void SetRejectedEntityInfo(RejectedEntityInfo &&value)
const RejectedEntityInfo & GetRejectedEntityInfo() const
PutLogEventsResult & WithNextSequenceToken(const char *value)
const RejectedLogEventsInfo & GetRejectedLogEventsInfo() const
PutLogEventsResult & WithRejectedLogEventsInfo(RejectedLogEventsInfo &&value)
PutLogEventsResult & WithNextSequenceToken(const Aws::String &value)
void SetRejectedLogEventsInfo(const RejectedLogEventsInfo &value)
void SetRejectedEntityInfo(const RejectedEntityInfo &value)
PutLogEventsResult & WithRequestId(const Aws::String &value)
PutLogEventsResult & WithRejectedEntityInfo(const RejectedEntityInfo &value)
PutLogEventsResult & WithNextSequenceToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue