AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetInsightSelectorsResult.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 GetInsightSelectorsResult() = 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 GetInsightSelectorsResult& 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 GetInsightSelectorsResult& WithInsightSelectors(InsightSelectorsT&& value) { SetInsightSelectors(std::forward<InsightSelectorsT>(value)); return *this;}
60 template<typename InsightSelectorsT = InsightSelector>
61 GetInsightSelectorsResult& AddInsightSelectors(InsightSelectorsT&& value) { m_insightSelectorsHasBeenSet = true; m_insightSelectors.emplace_back(std::forward<InsightSelectorsT>(value)); return *this; }
63
65
68 inline const Aws::String& GetEventDataStoreArn() const { return m_eventDataStoreArn; }
69 template<typename EventDataStoreArnT = Aws::String>
70 void SetEventDataStoreArn(EventDataStoreArnT&& value) { m_eventDataStoreArnHasBeenSet = true; m_eventDataStoreArn = std::forward<EventDataStoreArnT>(value); }
71 template<typename EventDataStoreArnT = Aws::String>
72 GetInsightSelectorsResult& WithEventDataStoreArn(EventDataStoreArnT&& value) { SetEventDataStoreArn(std::forward<EventDataStoreArnT>(value)); return *this;}
74
76
79 inline const Aws::String& GetInsightsDestination() const { return m_insightsDestination; }
80 template<typename InsightsDestinationT = Aws::String>
81 void SetInsightsDestination(InsightsDestinationT&& value) { m_insightsDestinationHasBeenSet = true; m_insightsDestination = std::forward<InsightsDestinationT>(value); }
82 template<typename InsightsDestinationT = Aws::String>
83 GetInsightSelectorsResult& WithInsightsDestination(InsightsDestinationT&& value) { SetInsightsDestination(std::forward<InsightsDestinationT>(value)); return *this;}
85
87
88 inline const Aws::String& GetRequestId() const { return m_requestId; }
89 template<typename RequestIdT = Aws::String>
90 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
91 template<typename RequestIdT = Aws::String>
92 GetInsightSelectorsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
94 private:
95
96 Aws::String m_trailARN;
97 bool m_trailARNHasBeenSet = false;
98
99 Aws::Vector<InsightSelector> m_insightSelectors;
100 bool m_insightSelectorsHasBeenSet = false;
101
102 Aws::String m_eventDataStoreArn;
103 bool m_eventDataStoreArnHasBeenSet = false;
104
105 Aws::String m_insightsDestination;
106 bool m_insightsDestinationHasBeenSet = false;
107
108 Aws::String m_requestId;
109 bool m_requestIdHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace CloudTrail
114} // 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