AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetInsightSelectorsRequest.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/CloudTrailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CloudTrail
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CLOUDTRAIL_API GetInsightSelectorsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetInsightSelectors"; }
31
32 AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override;
33
35
36
38
51 inline const Aws::String& GetTrailName() const { return m_trailName; }
52 inline bool TrailNameHasBeenSet() const { return m_trailNameHasBeenSet; }
53 template<typename TrailNameT = Aws::String>
54 void SetTrailName(TrailNameT&& value) { m_trailNameHasBeenSet = true; m_trailName = std::forward<TrailNameT>(value); }
55 template<typename TrailNameT = Aws::String>
56 GetInsightSelectorsRequest& WithTrailName(TrailNameT&& value) { SetTrailName(std::forward<TrailNameT>(value)); return *this;}
58
60
65 inline const Aws::String& GetEventDataStore() const { return m_eventDataStore; }
66 inline bool EventDataStoreHasBeenSet() const { return m_eventDataStoreHasBeenSet; }
67 template<typename EventDataStoreT = Aws::String>
68 void SetEventDataStore(EventDataStoreT&& value) { m_eventDataStoreHasBeenSet = true; m_eventDataStore = std::forward<EventDataStoreT>(value); }
69 template<typename EventDataStoreT = Aws::String>
70 GetInsightSelectorsRequest& WithEventDataStore(EventDataStoreT&& value) { SetEventDataStore(std::forward<EventDataStoreT>(value)); return *this;}
72 private:
73
74 Aws::String m_trailName;
75 bool m_trailNameHasBeenSet = false;
76
77 Aws::String m_eventDataStore;
78 bool m_eventDataStoreHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace CloudTrail
83} // namespace Aws
GetInsightSelectorsRequest & WithEventDataStore(EventDataStoreT &&value)
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
GetInsightSelectorsRequest & WithTrailName(TrailNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_CLOUDTRAIL_API GetInsightSelectorsRequest()=default
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String