AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
ExecuteScheduledQueryRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/UUID.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/timestream-query/TimestreamQueryRequest.h>
11#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
12#include <aws/timestream-query/model/ScheduledQueryInsights.h>
13
14#include <utility>
15
16namespace Aws {
17namespace TimestreamQuery {
18namespace Model {
19
23 public:
24 AWS_TIMESTREAMQUERY_API ExecuteScheduledQueryRequest() = 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 "ExecuteScheduledQuery"; }
31
32 AWS_TIMESTREAMQUERY_API Aws::String SerializePayload() const override;
33
34 AWS_TIMESTREAMQUERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
37
40 inline const Aws::String& GetScheduledQueryArn() const { return m_scheduledQueryArn; }
41 inline bool ScheduledQueryArnHasBeenSet() const { return m_scheduledQueryArnHasBeenSet; }
42 template <typename ScheduledQueryArnT = Aws::String>
44 m_scheduledQueryArnHasBeenSet = true;
45 m_scheduledQueryArn = std::forward<ScheduledQueryArnT>(value);
46 }
47 template <typename ScheduledQueryArnT = Aws::String>
49 SetScheduledQueryArn(std::forward<ScheduledQueryArnT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::Utils::DateTime& GetInvocationTime() const { return m_invocationTime; }
60 inline bool InvocationTimeHasBeenSet() const { return m_invocationTimeHasBeenSet; }
61 template <typename InvocationTimeT = Aws::Utils::DateTime>
63 m_invocationTimeHasBeenSet = true;
64 m_invocationTime = std::forward<InvocationTimeT>(value);
65 }
66 template <typename InvocationTimeT = Aws::Utils::DateTime>
68 SetInvocationTime(std::forward<InvocationTimeT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetClientToken() const { return m_clientToken; }
78 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
79 template <typename ClientTokenT = Aws::String>
81 m_clientTokenHasBeenSet = true;
82 m_clientToken = std::forward<ClientTokenT>(value);
83 }
84 template <typename ClientTokenT = Aws::String>
86 SetClientToken(std::forward<ClientTokenT>(value));
87 return *this;
88 }
90
92
98 inline const ScheduledQueryInsights& GetQueryInsights() const { return m_queryInsights; }
99 inline bool QueryInsightsHasBeenSet() const { return m_queryInsightsHasBeenSet; }
100 template <typename QueryInsightsT = ScheduledQueryInsights>
102 m_queryInsightsHasBeenSet = true;
103 m_queryInsights = std::forward<QueryInsightsT>(value);
104 }
105 template <typename QueryInsightsT = ScheduledQueryInsights>
107 SetQueryInsights(std::forward<QueryInsightsT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_scheduledQueryArn;
113
114 Aws::Utils::DateTime m_invocationTime{};
115
117
118 ScheduledQueryInsights m_queryInsights;
119 bool m_scheduledQueryArnHasBeenSet = false;
120 bool m_invocationTimeHasBeenSet = false;
121 bool m_clientTokenHasBeenSet = true;
122 bool m_queryInsightsHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace TimestreamQuery
127} // namespace Aws
ExecuteScheduledQueryRequest & WithInvocationTime(InvocationTimeT &&value)
ExecuteScheduledQueryRequest & WithScheduledQueryArn(ScheduledQueryArnT &&value)
ExecuteScheduledQueryRequest & WithQueryInsights(QueryInsightsT &&value)
AWS_TIMESTREAMQUERY_API Aws::String SerializePayload() const override
AWS_TIMESTREAMQUERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ExecuteScheduledQueryRequest & WithClientToken(ClientTokenT &&value)
AWS_TIMESTREAMQUERY_API ExecuteScheduledQueryRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String