AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CancelQueryResult.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudtrail/model/QueryStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CloudTrail
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CLOUDTRAIL_API CancelQueryResult() = default;
34
35
37
40 inline const Aws::String& GetQueryId() const { return m_queryId; }
41 template<typename QueryIdT = Aws::String>
42 void SetQueryId(QueryIdT&& value) { m_queryIdHasBeenSet = true; m_queryId = std::forward<QueryIdT>(value); }
43 template<typename QueryIdT = Aws::String>
44 CancelQueryResult& WithQueryId(QueryIdT&& value) { SetQueryId(std::forward<QueryIdT>(value)); return *this;}
46
48
53 inline QueryStatus GetQueryStatus() const { return m_queryStatus; }
54 inline void SetQueryStatus(QueryStatus value) { m_queryStatusHasBeenSet = true; m_queryStatus = value; }
55 inline CancelQueryResult& WithQueryStatus(QueryStatus value) { SetQueryStatus(value); return *this;}
57
59
62 inline const Aws::String& GetEventDataStoreOwnerAccountId() const { return m_eventDataStoreOwnerAccountId; }
63 template<typename EventDataStoreOwnerAccountIdT = Aws::String>
64 void SetEventDataStoreOwnerAccountId(EventDataStoreOwnerAccountIdT&& value) { m_eventDataStoreOwnerAccountIdHasBeenSet = true; m_eventDataStoreOwnerAccountId = std::forward<EventDataStoreOwnerAccountIdT>(value); }
65 template<typename EventDataStoreOwnerAccountIdT = Aws::String>
66 CancelQueryResult& WithEventDataStoreOwnerAccountId(EventDataStoreOwnerAccountIdT&& value) { SetEventDataStoreOwnerAccountId(std::forward<EventDataStoreOwnerAccountIdT>(value)); return *this;}
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template<typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
74 template<typename RequestIdT = Aws::String>
75 CancelQueryResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
77 private:
78
79 Aws::String m_queryId;
80 bool m_queryIdHasBeenSet = false;
81
82 QueryStatus m_queryStatus{QueryStatus::NOT_SET};
83 bool m_queryStatusHasBeenSet = false;
84
85 Aws::String m_eventDataStoreOwnerAccountId;
86 bool m_eventDataStoreOwnerAccountIdHasBeenSet = false;
87
88 Aws::String m_requestId;
89 bool m_requestIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace CloudTrail
94} // namespace Aws
const Aws::String & GetEventDataStoreOwnerAccountId() const
AWS_CLOUDTRAIL_API CancelQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelQueryResult & WithRequestId(RequestIdT &&value)
void SetEventDataStoreOwnerAccountId(EventDataStoreOwnerAccountIdT &&value)
AWS_CLOUDTRAIL_API CancelQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDTRAIL_API CancelQueryResult()=default
CancelQueryResult & WithQueryStatus(QueryStatus value)
CancelQueryResult & WithEventDataStoreOwnerAccountId(EventDataStoreOwnerAccountIdT &&value)
CancelQueryResult & WithQueryId(QueryIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue