AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetScheduledQueryArn(const Aws::String& value) { m_scheduledQueryArnHasBeenSet = true; m_scheduledQueryArn = value; }
47 inline void SetScheduledQueryArn(Aws::String&& value) { m_scheduledQueryArnHasBeenSet = true; m_scheduledQueryArn = std::move(value); }
48 inline void SetScheduledQueryArn(const char* value) { m_scheduledQueryArnHasBeenSet = true; m_scheduledQueryArn.assign(value); }
50 inline ExecuteScheduledQueryRequest& WithScheduledQueryArn(Aws::String&& value) { SetScheduledQueryArn(std::move(value)); return *this;}
51 inline ExecuteScheduledQueryRequest& WithScheduledQueryArn(const char* value) { SetScheduledQueryArn(value); return *this;}
53
55
59 inline const Aws::Utils::DateTime& GetInvocationTime() const{ return m_invocationTime; }
60 inline bool InvocationTimeHasBeenSet() const { return m_invocationTimeHasBeenSet; }
61 inline void SetInvocationTime(const Aws::Utils::DateTime& value) { m_invocationTimeHasBeenSet = true; m_invocationTime = value; }
62 inline void SetInvocationTime(Aws::Utils::DateTime&& value) { m_invocationTimeHasBeenSet = true; m_invocationTime = std::move(value); }
66
68
71 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
72 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
73 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
74 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
75 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
76 inline ExecuteScheduledQueryRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
77 inline ExecuteScheduledQueryRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
78 inline ExecuteScheduledQueryRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
80
82
88 inline const ScheduledQueryInsights& GetQueryInsights() const{ return m_queryInsights; }
89 inline bool QueryInsightsHasBeenSet() const { return m_queryInsightsHasBeenSet; }
90 inline void SetQueryInsights(const ScheduledQueryInsights& value) { m_queryInsightsHasBeenSet = true; m_queryInsights = value; }
91 inline void SetQueryInsights(ScheduledQueryInsights&& value) { m_queryInsightsHasBeenSet = true; m_queryInsights = std::move(value); }
95 private:
96
97 Aws::String m_scheduledQueryArn;
98 bool m_scheduledQueryArnHasBeenSet = false;
99
100 Aws::Utils::DateTime m_invocationTime;
101 bool m_invocationTimeHasBeenSet = false;
102
103 Aws::String m_clientToken;
104 bool m_clientTokenHasBeenSet = false;
105
106 ScheduledQueryInsights m_queryInsights;
107 bool m_queryInsightsHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace TimestreamQuery
112} // namespace Aws
ExecuteScheduledQueryRequest & WithQueryInsights(const ScheduledQueryInsights &value)
ExecuteScheduledQueryRequest & WithClientToken(const Aws::String &value)
ExecuteScheduledQueryRequest & WithInvocationTime(const Aws::Utils::DateTime &value)
ExecuteScheduledQueryRequest & WithQueryInsights(ScheduledQueryInsights &&value)
ExecuteScheduledQueryRequest & WithScheduledQueryArn(Aws::String &&value)
ExecuteScheduledQueryRequest & WithScheduledQueryArn(const char *value)
AWS_TIMESTREAMQUERY_API Aws::String SerializePayload() const override
ExecuteScheduledQueryRequest & WithInvocationTime(Aws::Utils::DateTime &&value)
AWS_TIMESTREAMQUERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ExecuteScheduledQueryRequest & WithScheduledQueryArn(const Aws::String &value)
ExecuteScheduledQueryRequest & WithClientToken(Aws::String &&value)
ExecuteScheduledQueryRequest & WithClientToken(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String