AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
GetInsightSelectorsRequest.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrailRequest.h>
8#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CloudTrail {
15namespace Model {
16
20 public:
21 AWS_CLOUDTRAIL_API GetInsightSelectorsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetInsightSelectors"; }
28
29 AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override;
30
32
34
47 inline const Aws::String& GetTrailName() const { return m_trailName; }
48 inline bool TrailNameHasBeenSet() const { return m_trailNameHasBeenSet; }
49 template <typename TrailNameT = Aws::String>
50 void SetTrailName(TrailNameT&& value) {
51 m_trailNameHasBeenSet = true;
52 m_trailName = std::forward<TrailNameT>(value);
53 }
54 template <typename TrailNameT = Aws::String>
56 SetTrailName(std::forward<TrailNameT>(value));
57 return *this;
58 }
60
62
67 inline const Aws::String& GetEventDataStore() const { return m_eventDataStore; }
68 inline bool EventDataStoreHasBeenSet() const { return m_eventDataStoreHasBeenSet; }
69 template <typename EventDataStoreT = Aws::String>
70 void SetEventDataStore(EventDataStoreT&& value) {
71 m_eventDataStoreHasBeenSet = true;
72 m_eventDataStore = std::forward<EventDataStoreT>(value);
73 }
74 template <typename EventDataStoreT = Aws::String>
76 SetEventDataStore(std::forward<EventDataStoreT>(value));
77 return *this;
78 }
80 private:
81 Aws::String m_trailName;
82 bool m_trailNameHasBeenSet = false;
83
84 Aws::String m_eventDataStore;
85 bool m_eventDataStoreHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace CloudTrail
90} // 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