AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutProjectEventsResult.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/evidently/model/PutProjectEventsResultEntry.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 CloudWatchEvidently
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CLOUDWATCHEVIDENTLY_API PutProjectEventsResult();
35
36
38
42 inline const Aws::Vector<PutProjectEventsResultEntry>& GetEventResults() const{ return m_eventResults; }
43 inline void SetEventResults(const Aws::Vector<PutProjectEventsResultEntry>& value) { m_eventResults = value; }
44 inline void SetEventResults(Aws::Vector<PutProjectEventsResultEntry>&& value) { m_eventResults = std::move(value); }
47 inline PutProjectEventsResult& AddEventResults(const PutProjectEventsResultEntry& value) { m_eventResults.push_back(value); return *this; }
48 inline PutProjectEventsResult& AddEventResults(PutProjectEventsResultEntry&& value) { m_eventResults.push_back(std::move(value)); return *this; }
50
52
56 inline int GetFailedEventCount() const{ return m_failedEventCount; }
57 inline void SetFailedEventCount(int value) { m_failedEventCount = value; }
58 inline PutProjectEventsResult& WithFailedEventCount(int value) { SetFailedEventCount(value); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline PutProjectEventsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline PutProjectEventsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline PutProjectEventsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
74
75 int m_failedEventCount;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace CloudWatchEvidently
82} // namespace Aws
PutProjectEventsResult & WithRequestId(const char *value)
void SetEventResults(const Aws::Vector< PutProjectEventsResultEntry > &value)
void SetEventResults(Aws::Vector< PutProjectEventsResultEntry > &&value)
const Aws::Vector< PutProjectEventsResultEntry > & GetEventResults() const
PutProjectEventsResult & WithRequestId(const Aws::String &value)
PutProjectEventsResult & WithRequestId(Aws::String &&value)
PutProjectEventsResult & WithEventResults(Aws::Vector< PutProjectEventsResultEntry > &&value)
AWS_CLOUDWATCHEVIDENTLY_API PutProjectEventsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDWATCHEVIDENTLY_API PutProjectEventsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutProjectEventsResult & AddEventResults(const PutProjectEventsResultEntry &value)
PutProjectEventsResult & WithEventResults(const Aws::Vector< PutProjectEventsResultEntry > &value)
PutProjectEventsResult & AddEventResults(PutProjectEventsResultEntry &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue