AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeQueryResult.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 <aws/cloudtrail/model/QueryStatisticsForDescribeQuery.h>
11#include <aws/cloudtrail/model/DeliveryStatus.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace CloudTrail
27{
28namespace Model
29{
31 {
32 public:
33 AWS_CLOUDTRAIL_API DescribeQueryResult();
36
37
39
42 inline const Aws::String& GetQueryId() const{ return m_queryId; }
43 inline void SetQueryId(const Aws::String& value) { m_queryId = value; }
44 inline void SetQueryId(Aws::String&& value) { m_queryId = std::move(value); }
45 inline void SetQueryId(const char* value) { m_queryId.assign(value); }
46 inline DescribeQueryResult& WithQueryId(const Aws::String& value) { SetQueryId(value); return *this;}
47 inline DescribeQueryResult& WithQueryId(Aws::String&& value) { SetQueryId(std::move(value)); return *this;}
48 inline DescribeQueryResult& WithQueryId(const char* value) { SetQueryId(value); return *this;}
50
52
55 inline const Aws::String& GetQueryString() const{ return m_queryString; }
56 inline void SetQueryString(const Aws::String& value) { m_queryString = value; }
57 inline void SetQueryString(Aws::String&& value) { m_queryString = std::move(value); }
58 inline void SetQueryString(const char* value) { m_queryString.assign(value); }
59 inline DescribeQueryResult& WithQueryString(const Aws::String& value) { SetQueryString(value); return *this;}
60 inline DescribeQueryResult& WithQueryString(Aws::String&& value) { SetQueryString(std::move(value)); return *this;}
61 inline DescribeQueryResult& WithQueryString(const char* value) { SetQueryString(value); return *this;}
63
65
70 inline const QueryStatus& GetQueryStatus() const{ return m_queryStatus; }
71 inline void SetQueryStatus(const QueryStatus& value) { m_queryStatus = value; }
72 inline void SetQueryStatus(QueryStatus&& value) { m_queryStatus = std::move(value); }
73 inline DescribeQueryResult& WithQueryStatus(const QueryStatus& value) { SetQueryStatus(value); return *this;}
74 inline DescribeQueryResult& WithQueryStatus(QueryStatus&& value) { SetQueryStatus(std::move(value)); return *this;}
76
78
83 inline const QueryStatisticsForDescribeQuery& GetQueryStatistics() const{ return m_queryStatistics; }
84 inline void SetQueryStatistics(const QueryStatisticsForDescribeQuery& value) { m_queryStatistics = value; }
85 inline void SetQueryStatistics(QueryStatisticsForDescribeQuery&& value) { m_queryStatistics = std::move(value); }
89
91
94 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
95 inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; }
96 inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); }
97 inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); }
98 inline DescribeQueryResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
99 inline DescribeQueryResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
100 inline DescribeQueryResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
102
104
108 inline const Aws::String& GetDeliveryS3Uri() const{ return m_deliveryS3Uri; }
109 inline void SetDeliveryS3Uri(const Aws::String& value) { m_deliveryS3Uri = value; }
110 inline void SetDeliveryS3Uri(Aws::String&& value) { m_deliveryS3Uri = std::move(value); }
111 inline void SetDeliveryS3Uri(const char* value) { m_deliveryS3Uri.assign(value); }
112 inline DescribeQueryResult& WithDeliveryS3Uri(const Aws::String& value) { SetDeliveryS3Uri(value); return *this;}
113 inline DescribeQueryResult& WithDeliveryS3Uri(Aws::String&& value) { SetDeliveryS3Uri(std::move(value)); return *this;}
114 inline DescribeQueryResult& WithDeliveryS3Uri(const char* value) { SetDeliveryS3Uri(value); return *this;}
116
118
121 inline const DeliveryStatus& GetDeliveryStatus() const{ return m_deliveryStatus; }
122 inline void SetDeliveryStatus(const DeliveryStatus& value) { m_deliveryStatus = value; }
123 inline void SetDeliveryStatus(DeliveryStatus&& value) { m_deliveryStatus = std::move(value); }
124 inline DescribeQueryResult& WithDeliveryStatus(const DeliveryStatus& value) { SetDeliveryStatus(value); return *this;}
125 inline DescribeQueryResult& WithDeliveryStatus(DeliveryStatus&& value) { SetDeliveryStatus(std::move(value)); return *this;}
127
129
130 inline const Aws::String& GetRequestId() const{ return m_requestId; }
131 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
132 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
133 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
134 inline DescribeQueryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
135 inline DescribeQueryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
136 inline DescribeQueryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
138 private:
139
140 Aws::String m_queryId;
141
142 Aws::String m_queryString;
143
144 QueryStatus m_queryStatus;
145
146 QueryStatisticsForDescribeQuery m_queryStatistics;
147
148 Aws::String m_errorMessage;
149
150 Aws::String m_deliveryS3Uri;
151
152 DeliveryStatus m_deliveryStatus;
153
154 Aws::String m_requestId;
155 };
156
157} // namespace Model
158} // namespace CloudTrail
159} // namespace Aws
DescribeQueryResult & WithDeliveryS3Uri(const Aws::String &value)
void SetQueryStatus(const QueryStatus &value)
const QueryStatisticsForDescribeQuery & GetQueryStatistics() const
DescribeQueryResult & WithDeliveryStatus(DeliveryStatus &&value)
DescribeQueryResult & WithQueryString(Aws::String &&value)
void SetQueryStatistics(QueryStatisticsForDescribeQuery &&value)
void SetDeliveryS3Uri(const Aws::String &value)
DescribeQueryResult & WithErrorMessage(Aws::String &&value)
DescribeQueryResult & WithQueryString(const Aws::String &value)
const DeliveryStatus & GetDeliveryStatus() const
void SetQueryStatistics(const QueryStatisticsForDescribeQuery &value)
DescribeQueryResult & WithErrorMessage(const Aws::String &value)
DescribeQueryResult & WithQueryStatus(QueryStatus &&value)
DescribeQueryResult & WithDeliveryS3Uri(const char *value)
void SetDeliveryStatus(const DeliveryStatus &value)
AWS_CLOUDTRAIL_API DescribeQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeQueryResult & WithQueryString(const char *value)
DescribeQueryResult & WithRequestId(const char *value)
DescribeQueryResult & WithErrorMessage(const char *value)
DescribeQueryResult & WithDeliveryS3Uri(Aws::String &&value)
AWS_CLOUDTRAIL_API DescribeQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeQueryResult & WithQueryId(Aws::String &&value)
DescribeQueryResult & WithQueryStatistics(const QueryStatisticsForDescribeQuery &value)
DescribeQueryResult & WithRequestId(const Aws::String &value)
DescribeQueryResult & WithRequestId(Aws::String &&value)
void SetErrorMessage(const Aws::String &value)
DescribeQueryResult & WithQueryId(const char *value)
DescribeQueryResult & WithQueryId(const Aws::String &value)
DescribeQueryResult & WithDeliveryStatus(const DeliveryStatus &value)
DescribeQueryResult & WithQueryStatistics(QueryStatisticsForDescribeQuery &&value)
void SetQueryString(const Aws::String &value)
DescribeQueryResult & WithQueryStatus(const QueryStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue