AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 PutInsightSelectorsResult& WithTrailARN(const Aws::String& value) { SetTrailARN(value); return *this;}
47 inline PutInsightSelectorsResult& WithTrailARN(Aws::String&& value) { SetTrailARN(std::move(value)); return *this;}
48 inline PutInsightSelectorsResult& 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 PutInsightSelectorsResult& AddInsightSelectors(const InsightSelector& value) { m_insightSelectors.push_back(value); return *this; }
63 inline PutInsightSelectorsResult& AddInsightSelectors(InsightSelector&& value) { m_insightSelectors.push_back(std::move(value)); return *this; }
65
67
71 inline const Aws::String& GetEventDataStoreArn() const{ return m_eventDataStoreArn; }
72 inline void SetEventDataStoreArn(const Aws::String& value) { m_eventDataStoreArn = value; }
73 inline void SetEventDataStoreArn(Aws::String&& value) { m_eventDataStoreArn = std::move(value); }
74 inline void SetEventDataStoreArn(const char* value) { m_eventDataStoreArn.assign(value); }
76 inline PutInsightSelectorsResult& WithEventDataStoreArn(Aws::String&& value) { SetEventDataStoreArn(std::move(value)); return *this;}
77 inline PutInsightSelectorsResult& WithEventDataStoreArn(const char* value) { SetEventDataStoreArn(value); return *this;}
79
81
84 inline const Aws::String& GetInsightsDestination() const{ return m_insightsDestination; }
85 inline void SetInsightsDestination(const Aws::String& value) { m_insightsDestination = value; }
86 inline void SetInsightsDestination(Aws::String&& value) { m_insightsDestination = std::move(value); }
87 inline void SetInsightsDestination(const char* value) { m_insightsDestination.assign(value); }
89 inline PutInsightSelectorsResult& WithInsightsDestination(Aws::String&& value) { SetInsightsDestination(std::move(value)); return *this;}
90 inline PutInsightSelectorsResult& WithInsightsDestination(const char* value) { SetInsightsDestination(value); return *this;}
92
94
95 inline const Aws::String& GetRequestId() const{ return m_requestId; }
96 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
97 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
98 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
99 inline PutInsightSelectorsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
100 inline PutInsightSelectorsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
101 inline PutInsightSelectorsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
103 private:
104
105 Aws::String m_trailARN;
106
107 Aws::Vector<InsightSelector> m_insightSelectors;
108
109 Aws::String m_eventDataStoreArn;
110
111 Aws::String m_insightsDestination;
112
113 Aws::String m_requestId;
114 };
115
116} // namespace Model
117} // namespace CloudTrail
118} // namespace Aws
PutInsightSelectorsResult & WithInsightSelectors(const Aws::Vector< InsightSelector > &value)
PutInsightSelectorsResult & WithInsightSelectors(Aws::Vector< InsightSelector > &&value)
void SetInsightSelectors(const Aws::Vector< InsightSelector > &value)
PutInsightSelectorsResult & WithRequestId(Aws::String &&value)
const Aws::Vector< InsightSelector > & GetInsightSelectors() const
AWS_CLOUDTRAIL_API PutInsightSelectorsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutInsightSelectorsResult & WithRequestId(const Aws::String &value)
PutInsightSelectorsResult & WithRequestId(const char *value)
PutInsightSelectorsResult & WithTrailARN(const Aws::String &value)
void SetInsightSelectors(Aws::Vector< InsightSelector > &&value)
PutInsightSelectorsResult & WithInsightsDestination(const char *value)
PutInsightSelectorsResult & WithEventDataStoreArn(const Aws::String &value)
AWS_CLOUDTRAIL_API PutInsightSelectorsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutInsightSelectorsResult & WithInsightsDestination(Aws::String &&value)
PutInsightSelectorsResult & WithEventDataStoreArn(const char *value)
PutInsightSelectorsResult & AddInsightSelectors(const InsightSelector &value)
PutInsightSelectorsResult & WithEventDataStoreArn(Aws::String &&value)
PutInsightSelectorsResult & AddInsightSelectors(InsightSelector &&value)
PutInsightSelectorsResult & WithInsightsDestination(const Aws::String &value)
PutInsightSelectorsResult & WithTrailARN(const char *value)
PutInsightSelectorsResult & WithTrailARN(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