AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateScheduledQueryRequest.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/timestream-query/model/ScheduledQueryState.h>
11#include <utility>
12
13namespace Aws
14{
15namespace TimestreamQuery
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_TIMESTREAMQUERY_API UpdateScheduledQueryRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateScheduledQuery"; }
32
33 AWS_TIMESTREAMQUERY_API Aws::String SerializePayload() const override;
34
35 AWS_TIMESTREAMQUERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetScheduledQueryArn() const{ return m_scheduledQueryArn; }
43 inline bool ScheduledQueryArnHasBeenSet() const { return m_scheduledQueryArnHasBeenSet; }
44 inline void SetScheduledQueryArn(const Aws::String& value) { m_scheduledQueryArnHasBeenSet = true; m_scheduledQueryArn = value; }
45 inline void SetScheduledQueryArn(Aws::String&& value) { m_scheduledQueryArnHasBeenSet = true; m_scheduledQueryArn = std::move(value); }
46 inline void SetScheduledQueryArn(const char* value) { m_scheduledQueryArnHasBeenSet = true; m_scheduledQueryArn.assign(value); }
48 inline UpdateScheduledQueryRequest& WithScheduledQueryArn(Aws::String&& value) { SetScheduledQueryArn(std::move(value)); return *this;}
49 inline UpdateScheduledQueryRequest& WithScheduledQueryArn(const char* value) { SetScheduledQueryArn(value); return *this;}
51
53
56 inline const ScheduledQueryState& GetState() const{ return m_state; }
57 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
58 inline void SetState(const ScheduledQueryState& value) { m_stateHasBeenSet = true; m_state = value; }
59 inline void SetState(ScheduledQueryState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
60 inline UpdateScheduledQueryRequest& WithState(const ScheduledQueryState& value) { SetState(value); return *this;}
61 inline UpdateScheduledQueryRequest& WithState(ScheduledQueryState&& value) { SetState(std::move(value)); return *this;}
63 private:
64
65 Aws::String m_scheduledQueryArn;
66 bool m_scheduledQueryArnHasBeenSet = false;
67
68 ScheduledQueryState m_state;
69 bool m_stateHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace TimestreamQuery
74} // namespace Aws
UpdateScheduledQueryRequest & WithState(const ScheduledQueryState &value)
UpdateScheduledQueryRequest & WithState(ScheduledQueryState &&value)
UpdateScheduledQueryRequest & WithScheduledQueryArn(const char *value)
AWS_TIMESTREAMQUERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateScheduledQueryRequest & WithScheduledQueryArn(const Aws::String &value)
AWS_TIMESTREAMQUERY_API Aws::String SerializePayload() const override
UpdateScheduledQueryRequest & WithScheduledQueryArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String