AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
42 inline const Aws::String& GetTrailARN() const{ return m_trailARN; }
43 inline void SetTrailARN(const Aws::String& value) { m_trailARN = value; }
44 inline void SetTrailARN(Aws::String&& value) { m_trailARN = std::move(value); }
45 inline void SetTrailARN(const char* value) { m_trailARN.assign(value); }
46 inline GetInsightSelectorsResult& WithTrailARN(const Aws::String& value) { SetTrailARN(value); return *this;}
47 inline GetInsightSelectorsResult& WithTrailARN(Aws::String&& value) { SetTrailARN(std::move(value)); return *this;}
48 inline GetInsightSelectorsResult& WithTrailARN(const char* value) { SetTrailARN(value); return *this;}
50
52
57 inline const Aws::Vector<InsightSelector>& GetInsightSelectors() const{ return m_insightSelectors; }
58 inline void SetInsightSelectors(const Aws::Vector<InsightSelector>& value) { m_insightSelectors = value; }
59 inline void SetInsightSelectors(Aws::Vector<InsightSelector>&& value) { m_insightSelectors = std::move(value); }
62 inline GetInsightSelectorsResult& AddInsightSelectors(const InsightSelector& value) { m_insightSelectors.push_back(value); return *this; }
63 inline GetInsightSelectorsResult& AddInsightSelectors(InsightSelector&& value) { m_insightSelectors.push_back(std::move(value)); return *this; }
65
67
70 inline const Aws::String& GetEventDataStoreArn() const{ return m_eventDataStoreArn; }
71 inline void SetEventDataStoreArn(const Aws::String& value) { m_eventDataStoreArn = value; }
72 inline void SetEventDataStoreArn(Aws::String&& value) { m_eventDataStoreArn = std::move(value); }
73 inline void SetEventDataStoreArn(const char* value) { m_eventDataStoreArn.assign(value); }
75 inline GetInsightSelectorsResult& WithEventDataStoreArn(Aws::String&& value) { SetEventDataStoreArn(std::move(value)); return *this;}
76 inline GetInsightSelectorsResult& WithEventDataStoreArn(const char* value) { SetEventDataStoreArn(value); return *this;}
78
80
83 inline const Aws::String& GetInsightsDestination() const{ return m_insightsDestination; }
84 inline void SetInsightsDestination(const Aws::String& value) { m_insightsDestination = value; }
85 inline void SetInsightsDestination(Aws::String&& value) { m_insightsDestination = std::move(value); }
86 inline void SetInsightsDestination(const char* value) { m_insightsDestination.assign(value); }
88 inline GetInsightSelectorsResult& WithInsightsDestination(Aws::String&& value) { SetInsightsDestination(std::move(value)); return *this;}
89 inline GetInsightSelectorsResult& WithInsightsDestination(const char* value) { SetInsightsDestination(value); return *this;}
91
93
94 inline const Aws::String& GetRequestId() const{ return m_requestId; }
95 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
96 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
97 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
98 inline GetInsightSelectorsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
99 inline GetInsightSelectorsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
100 inline GetInsightSelectorsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
102 private:
103
104 Aws::String m_trailARN;
105
106 Aws::Vector<InsightSelector> m_insightSelectors;
107
108 Aws::String m_eventDataStoreArn;
109
110 Aws::String m_insightsDestination;
111
112 Aws::String m_requestId;
113 };
114
115} // namespace Model
116} // namespace CloudTrail
117} // namespace Aws
void SetInsightSelectors(const Aws::Vector< InsightSelector > &value)
GetInsightSelectorsResult & WithRequestId(const Aws::String &value)
void SetInsightSelectors(Aws::Vector< InsightSelector > &&value)
GetInsightSelectorsResult & WithRequestId(const char *value)
AWS_CLOUDTRAIL_API GetInsightSelectorsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInsightSelectorsResult & WithInsightsDestination(const char *value)
GetInsightSelectorsResult & WithInsightSelectors(const Aws::Vector< InsightSelector > &value)
GetInsightSelectorsResult & WithEventDataStoreArn(const Aws::String &value)
GetInsightSelectorsResult & AddInsightSelectors(InsightSelector &&value)
GetInsightSelectorsResult & WithEventDataStoreArn(Aws::String &&value)
GetInsightSelectorsResult & WithInsightsDestination(Aws::String &&value)
GetInsightSelectorsResult & WithTrailARN(Aws::String &&value)
const Aws::Vector< InsightSelector > & GetInsightSelectors() const
GetInsightSelectorsResult & WithRequestId(Aws::String &&value)
GetInsightSelectorsResult & WithTrailARN(const char *value)
GetInsightSelectorsResult & AddInsightSelectors(const InsightSelector &value)
AWS_CLOUDTRAIL_API GetInsightSelectorsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInsightSelectorsResult & WithInsightsDestination(const Aws::String &value)
GetInsightSelectorsResult & WithEventDataStoreArn(const char *value)
GetInsightSelectorsResult & WithInsightSelectors(Aws::Vector< InsightSelector > &&value)
GetInsightSelectorsResult & WithTrailARN(const Aws::String &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