AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetEventConfigurationResult.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudtrail/model/MaxEventSize.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/cloudtrail/model/ContextKeySelector.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 GetEventConfigurationResult() = default;
36
37
39
43 inline const Aws::String& GetEventDataStoreArn() const { return m_eventDataStoreArn; }
44 template<typename EventDataStoreArnT = Aws::String>
45 void SetEventDataStoreArn(EventDataStoreArnT&& value) { m_eventDataStoreArnHasBeenSet = true; m_eventDataStoreArn = std::forward<EventDataStoreArnT>(value); }
46 template<typename EventDataStoreArnT = Aws::String>
47 GetEventConfigurationResult& WithEventDataStoreArn(EventDataStoreArnT&& value) { SetEventDataStoreArn(std::forward<EventDataStoreArnT>(value)); return *this;}
49
51
55 inline MaxEventSize GetMaxEventSize() const { return m_maxEventSize; }
56 inline void SetMaxEventSize(MaxEventSize value) { m_maxEventSizeHasBeenSet = true; m_maxEventSize = value; }
59
61
65 inline const Aws::Vector<ContextKeySelector>& GetContextKeySelectors() const { return m_contextKeySelectors; }
66 template<typename ContextKeySelectorsT = Aws::Vector<ContextKeySelector>>
67 void SetContextKeySelectors(ContextKeySelectorsT&& value) { m_contextKeySelectorsHasBeenSet = true; m_contextKeySelectors = std::forward<ContextKeySelectorsT>(value); }
68 template<typename ContextKeySelectorsT = Aws::Vector<ContextKeySelector>>
69 GetEventConfigurationResult& WithContextKeySelectors(ContextKeySelectorsT&& value) { SetContextKeySelectors(std::forward<ContextKeySelectorsT>(value)); return *this;}
70 template<typename ContextKeySelectorsT = ContextKeySelector>
71 GetEventConfigurationResult& AddContextKeySelectors(ContextKeySelectorsT&& value) { m_contextKeySelectorsHasBeenSet = true; m_contextKeySelectors.emplace_back(std::forward<ContextKeySelectorsT>(value)); return *this; }
73
75
76 inline const Aws::String& GetRequestId() const { return m_requestId; }
77 template<typename RequestIdT = Aws::String>
78 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
79 template<typename RequestIdT = Aws::String>
80 GetEventConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
82 private:
83
84 Aws::String m_eventDataStoreArn;
85 bool m_eventDataStoreArnHasBeenSet = false;
86
87 MaxEventSize m_maxEventSize{MaxEventSize::NOT_SET};
88 bool m_maxEventSizeHasBeenSet = false;
89
90 Aws::Vector<ContextKeySelector> m_contextKeySelectors;
91 bool m_contextKeySelectorsHasBeenSet = false;
92
93 Aws::String m_requestId;
94 bool m_requestIdHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace CloudTrail
99} // namespace Aws
GetEventConfigurationResult & WithMaxEventSize(MaxEventSize value)
GetEventConfigurationResult & AddContextKeySelectors(ContextKeySelectorsT &&value)
GetEventConfigurationResult & WithContextKeySelectors(ContextKeySelectorsT &&value)
const Aws::Vector< ContextKeySelector > & GetContextKeySelectors() const
GetEventConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_CLOUDTRAIL_API GetEventConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDTRAIL_API GetEventConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDTRAIL_API GetEventConfigurationResult()=default
GetEventConfigurationResult & WithEventDataStoreArn(EventDataStoreArnT &&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