AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetEventSelectorsResult.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 GetEventSelectorsResult();
36
37
39
42 inline const Aws::String& GetTrailARN() const{ return m_trailARN; }
43 inline void SetTrailARN(const Aws::String& value) { m_trailARN = value; }
44 inline void SetTrailARN(Aws::String&& value) { m_trailARN = std::move(value); }
45 inline void SetTrailARN(const char* value) { m_trailARN.assign(value); }
46 inline GetEventSelectorsResult& WithTrailARN(const Aws::String& value) { SetTrailARN(value); return *this;}
47 inline GetEventSelectorsResult& WithTrailARN(Aws::String&& value) { SetTrailARN(std::move(value)); return *this;}
48 inline GetEventSelectorsResult& WithTrailARN(const char* value) { SetTrailARN(value); return *this;}
50
52
55 inline const Aws::Vector<EventSelector>& GetEventSelectors() const{ return m_eventSelectors; }
56 inline void SetEventSelectors(const Aws::Vector<EventSelector>& value) { m_eventSelectors = value; }
57 inline void SetEventSelectors(Aws::Vector<EventSelector>&& value) { m_eventSelectors = std::move(value); }
60 inline GetEventSelectorsResult& AddEventSelectors(const EventSelector& value) { m_eventSelectors.push_back(value); return *this; }
61 inline GetEventSelectorsResult& AddEventSelectors(EventSelector&& value) { m_eventSelectors.push_back(std::move(value)); return *this; }
63
65
68 inline const Aws::Vector<AdvancedEventSelector>& GetAdvancedEventSelectors() const{ return m_advancedEventSelectors; }
69 inline void SetAdvancedEventSelectors(const Aws::Vector<AdvancedEventSelector>& value) { m_advancedEventSelectors = value; }
70 inline void SetAdvancedEventSelectors(Aws::Vector<AdvancedEventSelector>&& value) { m_advancedEventSelectors = std::move(value); }
73 inline GetEventSelectorsResult& AddAdvancedEventSelectors(const AdvancedEventSelector& value) { m_advancedEventSelectors.push_back(value); return *this; }
74 inline GetEventSelectorsResult& AddAdvancedEventSelectors(AdvancedEventSelector&& value) { m_advancedEventSelectors.push_back(std::move(value)); return *this; }
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
81 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
82 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
83 inline GetEventSelectorsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline GetEventSelectorsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline GetEventSelectorsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87 private:
88
89 Aws::String m_trailARN;
90
91 Aws::Vector<EventSelector> m_eventSelectors;
92
93 Aws::Vector<AdvancedEventSelector> m_advancedEventSelectors;
94
95 Aws::String m_requestId;
96 };
97
98} // namespace Model
99} // namespace CloudTrail
100} // namespace Aws
AWS_CLOUDTRAIL_API GetEventSelectorsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEventSelectorsResult & WithEventSelectors(Aws::Vector< EventSelector > &&value)
const Aws::Vector< AdvancedEventSelector > & GetAdvancedEventSelectors() const
void SetEventSelectors(const Aws::Vector< EventSelector > &value)
void SetAdvancedEventSelectors(Aws::Vector< AdvancedEventSelector > &&value)
const Aws::Vector< EventSelector > & GetEventSelectors() const
AWS_CLOUDTRAIL_API GetEventSelectorsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEventSelectorsResult & WithTrailARN(const char *value)
GetEventSelectorsResult & WithRequestId(const Aws::String &value)
GetEventSelectorsResult & AddAdvancedEventSelectors(const AdvancedEventSelector &value)
GetEventSelectorsResult & AddEventSelectors(const EventSelector &value)
GetEventSelectorsResult & WithEventSelectors(const Aws::Vector< EventSelector > &value)
void SetEventSelectors(Aws::Vector< EventSelector > &&value)
GetEventSelectorsResult & AddAdvancedEventSelectors(AdvancedEventSelector &&value)
GetEventSelectorsResult & WithTrailARN(Aws::String &&value)
GetEventSelectorsResult & AddEventSelectors(EventSelector &&value)
void SetAdvancedEventSelectors(const Aws::Vector< AdvancedEventSelector > &value)
GetEventSelectorsResult & WithAdvancedEventSelectors(const Aws::Vector< AdvancedEventSelector > &value)
GetEventSelectorsResult & WithRequestId(const char *value)
GetEventSelectorsResult & WithAdvancedEventSelectors(Aws::Vector< AdvancedEventSelector > &&value)
GetEventSelectorsResult & WithRequestId(Aws::String &&value)
GetEventSelectorsResult & 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