AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetInsightSelectorsResult.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/InsightSelector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CloudTrail {
24namespace Model {
26 public:
27 AWS_CLOUDTRAIL_API GetInsightSelectorsResult() = default;
30
32
36 inline const Aws::String& GetTrailARN() const { return m_trailARN; }
37 template <typename TrailARNT = Aws::String>
38 void SetTrailARN(TrailARNT&& value) {
39 m_trailARNHasBeenSet = true;
40 m_trailARN = std::forward<TrailARNT>(value);
41 }
42 template <typename TrailARNT = Aws::String>
44 SetTrailARN(std::forward<TrailARNT>(value));
45 return *this;
46 }
48
50
58 inline const Aws::Vector<InsightSelector>& GetInsightSelectors() const { return m_insightSelectors; }
59 template <typename InsightSelectorsT = Aws::Vector<InsightSelector>>
60 void SetInsightSelectors(InsightSelectorsT&& value) {
61 m_insightSelectorsHasBeenSet = true;
62 m_insightSelectors = std::forward<InsightSelectorsT>(value);
63 }
64 template <typename InsightSelectorsT = Aws::Vector<InsightSelector>>
65 GetInsightSelectorsResult& WithInsightSelectors(InsightSelectorsT&& value) {
66 SetInsightSelectors(std::forward<InsightSelectorsT>(value));
67 return *this;
68 }
69 template <typename InsightSelectorsT = InsightSelector>
70 GetInsightSelectorsResult& AddInsightSelectors(InsightSelectorsT&& value) {
71 m_insightSelectorsHasBeenSet = true;
72 m_insightSelectors.emplace_back(std::forward<InsightSelectorsT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetEventDataStoreArn() const { return m_eventDataStoreArn; }
82 template <typename EventDataStoreArnT = Aws::String>
83 void SetEventDataStoreArn(EventDataStoreArnT&& value) {
84 m_eventDataStoreArnHasBeenSet = true;
85 m_eventDataStoreArn = std::forward<EventDataStoreArnT>(value);
86 }
87 template <typename EventDataStoreArnT = Aws::String>
88 GetInsightSelectorsResult& WithEventDataStoreArn(EventDataStoreArnT&& value) {
89 SetEventDataStoreArn(std::forward<EventDataStoreArnT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetInsightsDestination() const { return m_insightsDestination; }
99 template <typename InsightsDestinationT = Aws::String>
100 void SetInsightsDestination(InsightsDestinationT&& value) {
101 m_insightsDestinationHasBeenSet = true;
102 m_insightsDestination = std::forward<InsightsDestinationT>(value);
103 }
104 template <typename InsightsDestinationT = Aws::String>
105 GetInsightSelectorsResult& WithInsightsDestination(InsightsDestinationT&& value) {
106 SetInsightsDestination(std::forward<InsightsDestinationT>(value));
107 return *this;
108 }
110
112
113 inline const Aws::String& GetRequestId() const { return m_requestId; }
114 template <typename RequestIdT = Aws::String>
115 void SetRequestId(RequestIdT&& value) {
116 m_requestIdHasBeenSet = true;
117 m_requestId = std::forward<RequestIdT>(value);
118 }
119 template <typename RequestIdT = Aws::String>
121 SetRequestId(std::forward<RequestIdT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_trailARN;
127
128 Aws::Vector<InsightSelector> m_insightSelectors;
129
130 Aws::String m_eventDataStoreArn;
131
132 Aws::String m_insightsDestination;
133
134 Aws::String m_requestId;
135 bool m_trailARNHasBeenSet = false;
136 bool m_insightSelectorsHasBeenSet = false;
137 bool m_eventDataStoreArnHasBeenSet = false;
138 bool m_insightsDestinationHasBeenSet = false;
139 bool m_requestIdHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace CloudTrail
144} // namespace Aws
GetInsightSelectorsResult & WithEventDataStoreArn(EventDataStoreArnT &&value)
GetInsightSelectorsResult & WithTrailARN(TrailARNT &&value)
GetInsightSelectorsResult & WithRequestId(RequestIdT &&value)
AWS_CLOUDTRAIL_API GetInsightSelectorsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDTRAIL_API GetInsightSelectorsResult()=default
GetInsightSelectorsResult & WithInsightsDestination(InsightsDestinationT &&value)
GetInsightSelectorsResult & AddInsightSelectors(InsightSelectorsT &&value)
const Aws::Vector< InsightSelector > & GetInsightSelectors() const
AWS_CLOUDTRAIL_API GetInsightSelectorsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInsightSelectorsResult & WithInsightSelectors(InsightSelectorsT &&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