AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
PutInsightSelectorsResult.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 PutInsightSelectorsResult() = 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 PutInsightSelectorsResult& WithInsightSelectors(InsightSelectorsT&& value) {
63 SetInsightSelectors(std::forward<InsightSelectorsT>(value));
64 return *this;
65 }
66 template <typename InsightSelectorsT = InsightSelector>
67 PutInsightSelectorsResult& AddInsightSelectors(InsightSelectorsT&& value) {
68 m_insightSelectorsHasBeenSet = true;
69 m_insightSelectors.emplace_back(std::forward<InsightSelectorsT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetEventDataStoreArn() const { return m_eventDataStoreArn; }
80 template <typename EventDataStoreArnT = Aws::String>
81 void SetEventDataStoreArn(EventDataStoreArnT&& value) {
82 m_eventDataStoreArnHasBeenSet = true;
83 m_eventDataStoreArn = std::forward<EventDataStoreArnT>(value);
84 }
85 template <typename EventDataStoreArnT = Aws::String>
86 PutInsightSelectorsResult& WithEventDataStoreArn(EventDataStoreArnT&& value) {
87 SetEventDataStoreArn(std::forward<EventDataStoreArnT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetInsightsDestination() const { return m_insightsDestination; }
97 template <typename InsightsDestinationT = Aws::String>
98 void SetInsightsDestination(InsightsDestinationT&& value) {
99 m_insightsDestinationHasBeenSet = true;
100 m_insightsDestination = std::forward<InsightsDestinationT>(value);
101 }
102 template <typename InsightsDestinationT = Aws::String>
103 PutInsightSelectorsResult& WithInsightsDestination(InsightsDestinationT&& value) {
104 SetInsightsDestination(std::forward<InsightsDestinationT>(value));
105 return *this;
106 }
108
110
111 inline const Aws::String& GetRequestId() const { return m_requestId; }
112 template <typename RequestIdT = Aws::String>
113 void SetRequestId(RequestIdT&& value) {
114 m_requestIdHasBeenSet = true;
115 m_requestId = std::forward<RequestIdT>(value);
116 }
117 template <typename RequestIdT = Aws::String>
119 SetRequestId(std::forward<RequestIdT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_trailARN;
125 bool m_trailARNHasBeenSet = false;
126
127 Aws::Vector<InsightSelector> m_insightSelectors;
128 bool m_insightSelectorsHasBeenSet = false;
129
130 Aws::String m_eventDataStoreArn;
131 bool m_eventDataStoreArnHasBeenSet = false;
132
133 Aws::String m_insightsDestination;
134 bool m_insightsDestinationHasBeenSet = false;
135
136 Aws::String m_requestId;
137 bool m_requestIdHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace CloudTrail
142} // namespace Aws
const Aws::Vector< InsightSelector > & GetInsightSelectors() const
AWS_CLOUDTRAIL_API PutInsightSelectorsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutInsightSelectorsResult & WithEventDataStoreArn(EventDataStoreArnT &&value)
AWS_CLOUDTRAIL_API PutInsightSelectorsResult()=default
PutInsightSelectorsResult & AddInsightSelectors(InsightSelectorsT &&value)
PutInsightSelectorsResult & WithTrailARN(TrailARNT &&value)
AWS_CLOUDTRAIL_API PutInsightSelectorsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutInsightSelectorsResult & WithInsightSelectors(InsightSelectorsT &&value)
PutInsightSelectorsResult & WithRequestId(RequestIdT &&value)
PutInsightSelectorsResult & WithInsightsDestination(InsightsDestinationT &&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