AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutEventSelectorsResult.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cloudtrail/model/EventSelector.h>
11#include <aws/cloudtrail/model/AdvancedEventSelector.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 CloudTrail
27{
28namespace Model
29{
31 {
32 public:
33 AWS_CLOUDTRAIL_API PutEventSelectorsResult();
36
37
39
44 inline const Aws::String& GetTrailARN() const{ return m_trailARN; }
45 inline void SetTrailARN(const Aws::String& value) { m_trailARN = value; }
46 inline void SetTrailARN(Aws::String&& value) { m_trailARN = std::move(value); }
47 inline void SetTrailARN(const char* value) { m_trailARN.assign(value); }
48 inline PutEventSelectorsResult& WithTrailARN(const Aws::String& value) { SetTrailARN(value); return *this;}
49 inline PutEventSelectorsResult& WithTrailARN(Aws::String&& value) { SetTrailARN(std::move(value)); return *this;}
50 inline PutEventSelectorsResult& WithTrailARN(const char* value) { SetTrailARN(value); return *this;}
52
54
57 inline const Aws::Vector<EventSelector>& GetEventSelectors() const{ return m_eventSelectors; }
58 inline void SetEventSelectors(const Aws::Vector<EventSelector>& value) { m_eventSelectors = value; }
59 inline void SetEventSelectors(Aws::Vector<EventSelector>&& value) { m_eventSelectors = std::move(value); }
62 inline PutEventSelectorsResult& AddEventSelectors(const EventSelector& value) { m_eventSelectors.push_back(value); return *this; }
63 inline PutEventSelectorsResult& AddEventSelectors(EventSelector&& value) { m_eventSelectors.push_back(std::move(value)); return *this; }
65
67
70 inline const Aws::Vector<AdvancedEventSelector>& GetAdvancedEventSelectors() const{ return m_advancedEventSelectors; }
71 inline void SetAdvancedEventSelectors(const Aws::Vector<AdvancedEventSelector>& value) { m_advancedEventSelectors = value; }
72 inline void SetAdvancedEventSelectors(Aws::Vector<AdvancedEventSelector>&& value) { m_advancedEventSelectors = std::move(value); }
75 inline PutEventSelectorsResult& AddAdvancedEventSelectors(const AdvancedEventSelector& value) { m_advancedEventSelectors.push_back(value); return *this; }
76 inline PutEventSelectorsResult& AddAdvancedEventSelectors(AdvancedEventSelector&& value) { m_advancedEventSelectors.push_back(std::move(value)); return *this; }
78
80
81 inline const Aws::String& GetRequestId() const{ return m_requestId; }
82 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
83 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
84 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
85 inline PutEventSelectorsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 inline PutEventSelectorsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
87 inline PutEventSelectorsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
89 private:
90
91 Aws::String m_trailARN;
92
93 Aws::Vector<EventSelector> m_eventSelectors;
94
95 Aws::Vector<AdvancedEventSelector> m_advancedEventSelectors;
96
97 Aws::String m_requestId;
98 };
99
100} // namespace Model
101} // namespace CloudTrail
102} // namespace Aws
PutEventSelectorsResult & AddEventSelectors(const EventSelector &value)
const Aws::Vector< EventSelector > & GetEventSelectors() const
PutEventSelectorsResult & AddAdvancedEventSelectors(AdvancedEventSelector &&value)
PutEventSelectorsResult & WithEventSelectors(const Aws::Vector< EventSelector > &value)
PutEventSelectorsResult & WithTrailARN(const char *value)
void SetAdvancedEventSelectors(Aws::Vector< AdvancedEventSelector > &&value)
AWS_CLOUDTRAIL_API PutEventSelectorsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutEventSelectorsResult & WithRequestId(Aws::String &&value)
PutEventSelectorsResult & WithEventSelectors(Aws::Vector< EventSelector > &&value)
PutEventSelectorsResult & AddEventSelectors(EventSelector &&value)
void SetEventSelectors(const Aws::Vector< EventSelector > &value)
PutEventSelectorsResult & WithAdvancedEventSelectors(Aws::Vector< AdvancedEventSelector > &&value)
PutEventSelectorsResult & WithAdvancedEventSelectors(const Aws::Vector< AdvancedEventSelector > &value)
void SetAdvancedEventSelectors(const Aws::Vector< AdvancedEventSelector > &value)
PutEventSelectorsResult & AddAdvancedEventSelectors(const AdvancedEventSelector &value)
const Aws::Vector< AdvancedEventSelector > & GetAdvancedEventSelectors() const
PutEventSelectorsResult & WithTrailARN(Aws::String &&value)
PutEventSelectorsResult & WithRequestId(const Aws::String &value)
PutEventSelectorsResult & WithRequestId(const char *value)
AWS_CLOUDTRAIL_API PutEventSelectorsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEventSelectors(Aws::Vector< EventSelector > &&value)
PutEventSelectorsResult & WithTrailARN(const Aws::String &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