AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteQueryDefinitionResult.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 DeleteQueryDefinitionResult();
33
34
36
40 inline bool GetSuccess() const{ return m_success; }
41 inline void SetSuccess(bool value) { m_success = value; }
42 inline DeleteQueryDefinitionResult& WithSuccess(bool value) { SetSuccess(value); return *this;}
44
46
47 inline const Aws::String& GetRequestId() const{ return m_requestId; }
48 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
49 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
50 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
51 inline DeleteQueryDefinitionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
52 inline DeleteQueryDefinitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
53 inline DeleteQueryDefinitionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
55 private:
56
57 bool m_success;
58
59 Aws::String m_requestId;
60 };
61
62} // namespace Model
63} // namespace CloudWatchLogs
64} // namespace Aws
DeleteQueryDefinitionResult & WithRequestId(const char *value)
DeleteQueryDefinitionResult & WithRequestId(const Aws::String &value)
DeleteQueryDefinitionResult & WithRequestId(Aws::String &&value)
AWS_CLOUDWATCHLOGS_API DeleteQueryDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDWATCHLOGS_API DeleteQueryDefinitionResult & 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