AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutAuditEventsResult.h
1
6#pragma once
7#include <aws/cloudtrail-data/CloudTrailData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudtrail-data/model/ResultErrorEntry.h>
11#include <aws/cloudtrail-data/model/AuditEventResultEntry.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace CloudTrailData
27{
28namespace Model
29{
31 {
32 public:
33 AWS_CLOUDTRAILDATA_API PutAuditEventsResult();
36
37
39
44 inline const Aws::Vector<ResultErrorEntry>& GetFailed() const{ return m_failed; }
45 inline void SetFailed(const Aws::Vector<ResultErrorEntry>& value) { m_failed = value; }
46 inline void SetFailed(Aws::Vector<ResultErrorEntry>&& value) { m_failed = std::move(value); }
47 inline PutAuditEventsResult& WithFailed(const Aws::Vector<ResultErrorEntry>& value) { SetFailed(value); return *this;}
48 inline PutAuditEventsResult& WithFailed(Aws::Vector<ResultErrorEntry>&& value) { SetFailed(std::move(value)); return *this;}
49 inline PutAuditEventsResult& AddFailed(const ResultErrorEntry& value) { m_failed.push_back(value); return *this; }
50 inline PutAuditEventsResult& AddFailed(ResultErrorEntry&& value) { m_failed.push_back(std::move(value)); return *this; }
52
54
58 inline const Aws::Vector<AuditEventResultEntry>& GetSuccessful() const{ return m_successful; }
59 inline void SetSuccessful(const Aws::Vector<AuditEventResultEntry>& value) { m_successful = value; }
60 inline void SetSuccessful(Aws::Vector<AuditEventResultEntry>&& value) { m_successful = std::move(value); }
62 inline PutAuditEventsResult& WithSuccessful(Aws::Vector<AuditEventResultEntry>&& value) { SetSuccessful(std::move(value)); return *this;}
63 inline PutAuditEventsResult& AddSuccessful(const AuditEventResultEntry& value) { m_successful.push_back(value); return *this; }
64 inline PutAuditEventsResult& AddSuccessful(AuditEventResultEntry&& value) { m_successful.push_back(std::move(value)); return *this; }
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline PutAuditEventsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline PutAuditEventsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline PutAuditEventsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
80
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace CloudTrailData
88} // namespace Aws
PutAuditEventsResult & WithRequestId(const Aws::String &value)
PutAuditEventsResult & WithFailed(Aws::Vector< ResultErrorEntry > &&value)
PutAuditEventsResult & WithFailed(const Aws::Vector< ResultErrorEntry > &value)
PutAuditEventsResult & WithRequestId(const char *value)
PutAuditEventsResult & AddFailed(ResultErrorEntry &&value)
PutAuditEventsResult & WithRequestId(Aws::String &&value)
AWS_CLOUDTRAILDATA_API PutAuditEventsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ResultErrorEntry > & GetFailed() const
void SetFailed(Aws::Vector< ResultErrorEntry > &&value)
PutAuditEventsResult & AddFailed(const ResultErrorEntry &value)
PutAuditEventsResult & AddSuccessful(const AuditEventResultEntry &value)
void SetSuccessful(Aws::Vector< AuditEventResultEntry > &&value)
PutAuditEventsResult & WithSuccessful(const Aws::Vector< AuditEventResultEntry > &value)
PutAuditEventsResult & WithSuccessful(Aws::Vector< AuditEventResultEntry > &&value)
PutAuditEventsResult & AddSuccessful(AuditEventResultEntry &&value)
const Aws::Vector< AuditEventResultEntry > & GetSuccessful() const
AWS_CLOUDTRAILDATA_API PutAuditEventsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFailed(const Aws::Vector< ResultErrorEntry > &value)
void SetSuccessful(const Aws::Vector< AuditEventResultEntry > &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