AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PutInsightSelectorsResult.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/InsightSelector.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CloudTrail
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CLOUDTRAIL_API PutInsightSelectorsResult() = default;
35
36
38
42 inline const Aws::String& GetTrailARN() const { return m_trailARN; }
43 template<typename TrailARNT = Aws::String>
44 void SetTrailARN(TrailARNT&& value) { m_trailARNHasBeenSet = true; m_trailARN = std::forward<TrailARNT>(value); }
45 template<typename TrailARNT = Aws::String>
46 PutInsightSelectorsResult& WithTrailARN(TrailARNT&& value) { SetTrailARN(std::forward<TrailARNT>(value)); return *this;}
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) { m_insightSelectorsHasBeenSet = true; m_insightSelectors = std::forward<InsightSelectorsT>(value); }
58 template<typename InsightSelectorsT = Aws::Vector<InsightSelector>>
59 PutInsightSelectorsResult& WithInsightSelectors(InsightSelectorsT&& value) { SetInsightSelectors(std::forward<InsightSelectorsT>(value)); return *this;}
60 template<typename InsightSelectorsT = InsightSelector>
61 PutInsightSelectorsResult& AddInsightSelectors(InsightSelectorsT&& value) { m_insightSelectorsHasBeenSet = true; m_insightSelectors.emplace_back(std::forward<InsightSelectorsT>(value)); return *this; }
63
65
69 inline const Aws::String& GetEventDataStoreArn() const { return m_eventDataStoreArn; }
70 template<typename EventDataStoreArnT = Aws::String>
71 void SetEventDataStoreArn(EventDataStoreArnT&& value) { m_eventDataStoreArnHasBeenSet = true; m_eventDataStoreArn = std::forward<EventDataStoreArnT>(value); }
72 template<typename EventDataStoreArnT = Aws::String>
73 PutInsightSelectorsResult& WithEventDataStoreArn(EventDataStoreArnT&& value) { SetEventDataStoreArn(std::forward<EventDataStoreArnT>(value)); return *this;}
75
77
80 inline const Aws::String& GetInsightsDestination() const { return m_insightsDestination; }
81 template<typename InsightsDestinationT = Aws::String>
82 void SetInsightsDestination(InsightsDestinationT&& value) { m_insightsDestinationHasBeenSet = true; m_insightsDestination = std::forward<InsightsDestinationT>(value); }
83 template<typename InsightsDestinationT = Aws::String>
84 PutInsightSelectorsResult& WithInsightsDestination(InsightsDestinationT&& value) { SetInsightsDestination(std::forward<InsightsDestinationT>(value)); return *this;}
86
88
89 inline const Aws::String& GetRequestId() const { return m_requestId; }
90 template<typename RequestIdT = Aws::String>
91 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
92 template<typename RequestIdT = Aws::String>
93 PutInsightSelectorsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
95 private:
96
97 Aws::String m_trailARN;
98 bool m_trailARNHasBeenSet = false;
99
100 Aws::Vector<InsightSelector> m_insightSelectors;
101 bool m_insightSelectorsHasBeenSet = false;
102
103 Aws::String m_eventDataStoreArn;
104 bool m_eventDataStoreArnHasBeenSet = false;
105
106 Aws::String m_insightsDestination;
107 bool m_insightsDestinationHasBeenSet = false;
108
109 Aws::String m_requestId;
110 bool m_requestIdHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace CloudTrail
115} // 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