AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTrailName(const Aws::String& value) { m_trailNameHasBeenSet = true; m_trailName = value; }
54 inline void SetTrailName(Aws::String&& value) { m_trailNameHasBeenSet = true; m_trailName = std::move(value); }
55 inline void SetTrailName(const char* value) { m_trailNameHasBeenSet = true; m_trailName.assign(value); }
56 inline GetInsightSelectorsRequest& WithTrailName(const Aws::String& value) { SetTrailName(value); return *this;}
57 inline GetInsightSelectorsRequest& WithTrailName(Aws::String&& value) { SetTrailName(std::move(value)); return *this;}
58 inline GetInsightSelectorsRequest& WithTrailName(const char* value) { SetTrailName(value); return *this;}
60
62
67 inline const Aws::String& GetEventDataStore() const{ return m_eventDataStore; }
68 inline bool EventDataStoreHasBeenSet() const { return m_eventDataStoreHasBeenSet; }
69 inline void SetEventDataStore(const Aws::String& value) { m_eventDataStoreHasBeenSet = true; m_eventDataStore = value; }
70 inline void SetEventDataStore(Aws::String&& value) { m_eventDataStoreHasBeenSet = true; m_eventDataStore = std::move(value); }
71 inline void SetEventDataStore(const char* value) { m_eventDataStoreHasBeenSet = true; m_eventDataStore.assign(value); }
72 inline GetInsightSelectorsRequest& WithEventDataStore(const Aws::String& value) { SetEventDataStore(value); return *this;}
73 inline GetInsightSelectorsRequest& WithEventDataStore(Aws::String&& value) { SetEventDataStore(std::move(value)); return *this;}
74 inline GetInsightSelectorsRequest& WithEventDataStore(const char* value) { SetEventDataStore(value); return *this;}
76 private:
77
78 Aws::String m_trailName;
79 bool m_trailNameHasBeenSet = false;
80
81 Aws::String m_eventDataStore;
82 bool m_eventDataStoreHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace CloudTrail
87} // namespace Aws
GetInsightSelectorsRequest & WithEventDataStore(Aws::String &&value)
GetInsightSelectorsRequest & WithEventDataStore(const Aws::String &value)
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
GetInsightSelectorsRequest & WithTrailName(Aws::String &&value)
GetInsightSelectorsRequest & WithTrailName(const char *value)
virtual const char * GetServiceRequestName() const override
GetInsightSelectorsRequest & WithTrailName(const Aws::String &value)
GetInsightSelectorsRequest & WithEventDataStore(const char *value)
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