AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
DescribeQueryRequest.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 DescribeQueryRequest() = 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 "DescribeQuery"; }
28
29 AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetQueryId() const { return m_queryId; }
38 inline bool QueryIdHasBeenSet() const { return m_queryIdHasBeenSet; }
39 template <typename QueryIdT = Aws::String>
40 void SetQueryId(QueryIdT&& value) {
41 m_queryIdHasBeenSet = true;
42 m_queryId = std::forward<QueryIdT>(value);
43 }
44 template <typename QueryIdT = Aws::String>
45 DescribeQueryRequest& WithQueryId(QueryIdT&& value) {
46 SetQueryId(std::forward<QueryIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetQueryAlias() const { return m_queryAlias; }
56 inline bool QueryAliasHasBeenSet() const { return m_queryAliasHasBeenSet; }
57 template <typename QueryAliasT = Aws::String>
58 void SetQueryAlias(QueryAliasT&& value) {
59 m_queryAliasHasBeenSet = true;
60 m_queryAlias = std::forward<QueryAliasT>(value);
61 }
62 template <typename QueryAliasT = Aws::String>
63 DescribeQueryRequest& WithQueryAlias(QueryAliasT&& value) {
64 SetQueryAlias(std::forward<QueryAliasT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetRefreshId() const { return m_refreshId; }
74 inline bool RefreshIdHasBeenSet() const { return m_refreshIdHasBeenSet; }
75 template <typename RefreshIdT = Aws::String>
76 void SetRefreshId(RefreshIdT&& value) {
77 m_refreshIdHasBeenSet = true;
78 m_refreshId = std::forward<RefreshIdT>(value);
79 }
80 template <typename RefreshIdT = Aws::String>
81 DescribeQueryRequest& WithRefreshId(RefreshIdT&& value) {
82 SetRefreshId(std::forward<RefreshIdT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetEventDataStoreOwnerAccountId() const { return m_eventDataStoreOwnerAccountId; }
92 inline bool EventDataStoreOwnerAccountIdHasBeenSet() const { return m_eventDataStoreOwnerAccountIdHasBeenSet; }
93 template <typename EventDataStoreOwnerAccountIdT = Aws::String>
94 void SetEventDataStoreOwnerAccountId(EventDataStoreOwnerAccountIdT&& value) {
95 m_eventDataStoreOwnerAccountIdHasBeenSet = true;
96 m_eventDataStoreOwnerAccountId = std::forward<EventDataStoreOwnerAccountIdT>(value);
97 }
98 template <typename EventDataStoreOwnerAccountIdT = Aws::String>
99 DescribeQueryRequest& WithEventDataStoreOwnerAccountId(EventDataStoreOwnerAccountIdT&& value) {
100 SetEventDataStoreOwnerAccountId(std::forward<EventDataStoreOwnerAccountIdT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_queryId;
106
107 Aws::String m_queryAlias;
108
109 Aws::String m_refreshId;
110
111 Aws::String m_eventDataStoreOwnerAccountId;
112 bool m_queryIdHasBeenSet = false;
113 bool m_queryAliasHasBeenSet = false;
114 bool m_refreshIdHasBeenSet = false;
115 bool m_eventDataStoreOwnerAccountIdHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace CloudTrail
120} // namespace Aws
DescribeQueryRequest & WithEventDataStoreOwnerAccountId(EventDataStoreOwnerAccountIdT &&value)
const Aws::String & GetEventDataStoreOwnerAccountId() const
DescribeQueryRequest & WithQueryId(QueryIdT &&value)
DescribeQueryRequest & WithQueryAlias(QueryAliasT &&value)
AWS_CLOUDTRAIL_API DescribeQueryRequest()=default
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeQueryRequest & WithRefreshId(RefreshIdT &&value)
void SetEventDataStoreOwnerAccountId(EventDataStoreOwnerAccountIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String