AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StopQueryResult.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CloudWatchLogs
24{
25namespace Model
26{
28 {
29 public:
30 AWS_CLOUDWATCHLOGS_API StopQueryResult() = default;
33
34
36
40 inline bool GetSuccess() const { return m_success; }
41 inline void SetSuccess(bool value) { m_successHasBeenSet = true; m_success = value; }
42 inline StopQueryResult& WithSuccess(bool value) { SetSuccess(value); return *this;}
44
46
47 inline const Aws::String& GetRequestId() const { return m_requestId; }
48 template<typename RequestIdT = Aws::String>
49 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
50 template<typename RequestIdT = Aws::String>
51 StopQueryResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
53 private:
54
55 bool m_success{false};
56 bool m_successHasBeenSet = false;
57
58 Aws::String m_requestId;
59 bool m_requestIdHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace CloudWatchLogs
64} // namespace Aws
AWS_CLOUDWATCHLOGS_API StopQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StopQueryResult & WithRequestId(RequestIdT &&value)
StopQueryResult & WithSuccess(bool value)
AWS_CLOUDWATCHLOGS_API StopQueryResult()=default
AWS_CLOUDWATCHLOGS_API StopQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue