AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ExecuteScheduledQueryRequest.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/timestream-query/TimestreamQueryRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/timestream-query/model/ScheduledQueryInsights.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace TimestreamQuery
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_TIMESTREAMQUERY_API ExecuteScheduledQueryRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ExecuteScheduledQuery"; }
34
35 AWS_TIMESTREAMQUERY_API Aws::String SerializePayload() const override;
36
37 AWS_TIMESTREAMQUERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
44 inline const Aws::String& GetScheduledQueryArn() const { return m_scheduledQueryArn; }
45 inline bool ScheduledQueryArnHasBeenSet() const { return m_scheduledQueryArnHasBeenSet; }
46 template<typename ScheduledQueryArnT = Aws::String>
47 void SetScheduledQueryArn(ScheduledQueryArnT&& value) { m_scheduledQueryArnHasBeenSet = true; m_scheduledQueryArn = std::forward<ScheduledQueryArnT>(value); }
48 template<typename ScheduledQueryArnT = Aws::String>
49 ExecuteScheduledQueryRequest& WithScheduledQueryArn(ScheduledQueryArnT&& value) { SetScheduledQueryArn(std::forward<ScheduledQueryArnT>(value)); return *this;}
51
53
57 inline const Aws::Utils::DateTime& GetInvocationTime() const { return m_invocationTime; }
58 inline bool InvocationTimeHasBeenSet() const { return m_invocationTimeHasBeenSet; }
59 template<typename InvocationTimeT = Aws::Utils::DateTime>
60 void SetInvocationTime(InvocationTimeT&& value) { m_invocationTimeHasBeenSet = true; m_invocationTime = std::forward<InvocationTimeT>(value); }
61 template<typename InvocationTimeT = Aws::Utils::DateTime>
62 ExecuteScheduledQueryRequest& WithInvocationTime(InvocationTimeT&& value) { SetInvocationTime(std::forward<InvocationTimeT>(value)); return *this;}
64
66
69 inline const Aws::String& GetClientToken() const { return m_clientToken; }
70 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
71 template<typename ClientTokenT = Aws::String>
72 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
73 template<typename ClientTokenT = Aws::String>
74 ExecuteScheduledQueryRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
76
78
84 inline const ScheduledQueryInsights& GetQueryInsights() const { return m_queryInsights; }
85 inline bool QueryInsightsHasBeenSet() const { return m_queryInsightsHasBeenSet; }
86 template<typename QueryInsightsT = ScheduledQueryInsights>
87 void SetQueryInsights(QueryInsightsT&& value) { m_queryInsightsHasBeenSet = true; m_queryInsights = std::forward<QueryInsightsT>(value); }
88 template<typename QueryInsightsT = ScheduledQueryInsights>
89 ExecuteScheduledQueryRequest& WithQueryInsights(QueryInsightsT&& value) { SetQueryInsights(std::forward<QueryInsightsT>(value)); return *this;}
91 private:
92
93 Aws::String m_scheduledQueryArn;
94 bool m_scheduledQueryArnHasBeenSet = false;
95
96 Aws::Utils::DateTime m_invocationTime{};
97 bool m_invocationTimeHasBeenSet = false;
98
100 bool m_clientTokenHasBeenSet = true;
101
102 ScheduledQueryInsights m_queryInsights;
103 bool m_queryInsightsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace TimestreamQuery
108} // 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