AWS SDK for C++

AWS SDK for C++ Version 1.11.685

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
55 inline const Aws::Vector<InsightSelector>& GetInsightSelectors() const { return m_insightSelectors; }
56 template <typename InsightSelectorsT = Aws::Vector<InsightSelector>>
57 void SetInsightSelectors(InsightSelectorsT&& value) {
58 m_insightSelectorsHasBeenSet = true;
59 m_insightSelectors = std::forward<InsightSelectorsT>(value);
60 }
61 template <typename InsightSelectorsT = Aws::Vector<InsightSelector>>
62 GetInsightSelectorsResult& WithInsightSelectors(InsightSelectorsT&& value) {
63 SetInsightSelectors(std::forward<InsightSelectorsT>(value));
64 return *this;
65 }
66 template <typename InsightSelectorsT = InsightSelector>
67 GetInsightSelectorsResult& AddInsightSelectors(InsightSelectorsT&& value) {
68 m_insightSelectorsHasBeenSet = true;
69 m_insightSelectors.emplace_back(std::forward<InsightSelectorsT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetEventDataStoreArn() const { return m_eventDataStoreArn; }
79 template <typename EventDataStoreArnT = Aws::String>
80 void SetEventDataStoreArn(EventDataStoreArnT&& value) {
81 m_eventDataStoreArnHasBeenSet = true;
82 m_eventDataStoreArn = std::forward<EventDataStoreArnT>(value);
83 }
84 template <typename EventDataStoreArnT = Aws::String>
85 GetInsightSelectorsResult& WithEventDataStoreArn(EventDataStoreArnT&& value) {
86 SetEventDataStoreArn(std::forward<EventDataStoreArnT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetInsightsDestination() const { return m_insightsDestination; }
96 template <typename InsightsDestinationT = Aws::String>
97 void SetInsightsDestination(InsightsDestinationT&& value) {
98 m_insightsDestinationHasBeenSet = true;
99 m_insightsDestination = std::forward<InsightsDestinationT>(value);
100 }
101 template <typename InsightsDestinationT = Aws::String>
102 GetInsightSelectorsResult& WithInsightsDestination(InsightsDestinationT&& value) {
103 SetInsightsDestination(std::forward<InsightsDestinationT>(value));
104 return *this;
105 }
107
109
110 inline const Aws::String& GetRequestId() const { return m_requestId; }
111 template <typename RequestIdT = Aws::String>
112 void SetRequestId(RequestIdT&& value) {
113 m_requestIdHasBeenSet = true;
114 m_requestId = std::forward<RequestIdT>(value);
115 }
116 template <typename RequestIdT = Aws::String>
118 SetRequestId(std::forward<RequestIdT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_trailARN;
124 bool m_trailARNHasBeenSet = false;
125
126 Aws::Vector<InsightSelector> m_insightSelectors;
127 bool m_insightSelectorsHasBeenSet = false;
128
129 Aws::String m_eventDataStoreArn;
130 bool m_eventDataStoreArnHasBeenSet = false;
131
132 Aws::String m_insightsDestination;
133 bool m_insightsDestinationHasBeenSet = false;
134
135 Aws::String m_requestId;
136 bool m_requestIdHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace CloudTrail
141} // 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