AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GenerateQueryResult.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_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 CloudTrail
24{
25namespace Model
26{
28 {
29 public:
30 AWS_CLOUDTRAIL_API GenerateQueryResult() = default;
33
34
36
39 inline const Aws::String& GetQueryStatement() const { return m_queryStatement; }
40 template<typename QueryStatementT = Aws::String>
41 void SetQueryStatement(QueryStatementT&& value) { m_queryStatementHasBeenSet = true; m_queryStatement = std::forward<QueryStatementT>(value); }
42 template<typename QueryStatementT = Aws::String>
43 GenerateQueryResult& WithQueryStatement(QueryStatementT&& value) { SetQueryStatement(std::forward<QueryStatementT>(value)); return *this;}
45
47
52 inline const Aws::String& GetQueryAlias() const { return m_queryAlias; }
53 template<typename QueryAliasT = Aws::String>
54 void SetQueryAlias(QueryAliasT&& value) { m_queryAliasHasBeenSet = true; m_queryAlias = std::forward<QueryAliasT>(value); }
55 template<typename QueryAliasT = Aws::String>
56 GenerateQueryResult& WithQueryAlias(QueryAliasT&& value) { SetQueryAlias(std::forward<QueryAliasT>(value)); return *this;}
58
60
63 inline const Aws::String& GetEventDataStoreOwnerAccountId() const { return m_eventDataStoreOwnerAccountId; }
64 template<typename EventDataStoreOwnerAccountIdT = Aws::String>
65 void SetEventDataStoreOwnerAccountId(EventDataStoreOwnerAccountIdT&& value) { m_eventDataStoreOwnerAccountIdHasBeenSet = true; m_eventDataStoreOwnerAccountId = std::forward<EventDataStoreOwnerAccountIdT>(value); }
66 template<typename EventDataStoreOwnerAccountIdT = Aws::String>
67 GenerateQueryResult& WithEventDataStoreOwnerAccountId(EventDataStoreOwnerAccountIdT&& value) { SetEventDataStoreOwnerAccountId(std::forward<EventDataStoreOwnerAccountIdT>(value)); return *this;}
69
71
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 template<typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
75 template<typename RequestIdT = Aws::String>
76 GenerateQueryResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
78 private:
79
80 Aws::String m_queryStatement;
81 bool m_queryStatementHasBeenSet = false;
82
83 Aws::String m_queryAlias;
84 bool m_queryAliasHasBeenSet = false;
85
86 Aws::String m_eventDataStoreOwnerAccountId;
87 bool m_eventDataStoreOwnerAccountIdHasBeenSet = false;
88
89 Aws::String m_requestId;
90 bool m_requestIdHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace CloudTrail
95} // namespace Aws
AWS_CLOUDTRAIL_API GenerateQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDTRAIL_API GenerateQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetQueryStatement(QueryStatementT &&value)
GenerateQueryResult & WithRequestId(RequestIdT &&value)
GenerateQueryResult & WithQueryStatement(QueryStatementT &&value)
void SetEventDataStoreOwnerAccountId(EventDataStoreOwnerAccountIdT &&value)
GenerateQueryResult & WithQueryAlias(QueryAliasT &&value)
AWS_CLOUDTRAIL_API GenerateQueryResult()=default
const Aws::String & GetEventDataStoreOwnerAccountId() const
GenerateQueryResult & WithEventDataStoreOwnerAccountId(EventDataStoreOwnerAccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue