AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
GetQueryStatusRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/internetmonitor/InternetMonitorRequest.h>
9#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace InternetMonitor {
15namespace Model {
16
20 public:
21 AWS_INTERNETMONITOR_API GetQueryStatusRequest() = 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 "GetQueryStatus"; }
28
29 AWS_INTERNETMONITOR_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetMonitorName() const { return m_monitorName; }
36 inline bool MonitorNameHasBeenSet() const { return m_monitorNameHasBeenSet; }
37 template <typename MonitorNameT = Aws::String>
38 void SetMonitorName(MonitorNameT&& value) {
39 m_monitorNameHasBeenSet = true;
40 m_monitorName = std::forward<MonitorNameT>(value);
41 }
42 template <typename MonitorNameT = Aws::String>
43 GetQueryStatusRequest& WithMonitorName(MonitorNameT&& value) {
44 SetMonitorName(std::forward<MonitorNameT>(value));
45 return *this;
46 }
48
50
55 inline const Aws::String& GetQueryId() const { return m_queryId; }
56 inline bool QueryIdHasBeenSet() const { return m_queryIdHasBeenSet; }
57 template <typename QueryIdT = Aws::String>
58 void SetQueryId(QueryIdT&& value) {
59 m_queryIdHasBeenSet = true;
60 m_queryId = std::forward<QueryIdT>(value);
61 }
62 template <typename QueryIdT = Aws::String>
64 SetQueryId(std::forward<QueryIdT>(value));
65 return *this;
66 }
68 private:
69 Aws::String m_monitorName;
70
71 Aws::String m_queryId;
72 bool m_monitorNameHasBeenSet = false;
73 bool m_queryIdHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace InternetMonitor
78} // namespace Aws
virtual const char * GetServiceRequestName() const override
GetQueryStatusRequest & WithMonitorName(MonitorNameT &&value)
AWS_INTERNETMONITOR_API GetQueryStatusRequest()=default
GetQueryStatusRequest & WithQueryId(QueryIdT &&value)
AWS_INTERNETMONITOR_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String