AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeQueriesResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace CloudWatchLogs
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<QueryInfo>& GetQueries() const{ return m_queries; }
41 
45  inline void SetQueries(const Aws::Vector<QueryInfo>& value) { m_queries = value; }
46 
50  inline void SetQueries(Aws::Vector<QueryInfo>&& value) { m_queries = std::move(value); }
51 
55  inline DescribeQueriesResult& WithQueries(const Aws::Vector<QueryInfo>& value) { SetQueries(value); return *this;}
56 
60  inline DescribeQueriesResult& WithQueries(Aws::Vector<QueryInfo>&& value) { SetQueries(std::move(value)); return *this;}
61 
65  inline DescribeQueriesResult& AddQueries(const QueryInfo& value) { m_queries.push_back(value); return *this; }
66 
70  inline DescribeQueriesResult& AddQueries(QueryInfo&& value) { m_queries.push_back(std::move(value)); return *this; }
71 
72 
73 
74  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
75 
76 
77  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
78 
79 
80  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
81 
82 
83  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
84 
85 
86  inline DescribeQueriesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
87 
88 
89  inline DescribeQueriesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
90 
91 
92  inline DescribeQueriesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
93 
94  private:
95 
96  Aws::Vector<QueryInfo> m_queries;
97 
98  Aws::String m_nextToken;
99  };
100 
101 } // namespace Model
102 } // namespace CloudWatchLogs
103 } // namespace Aws
QueryInfo.h
Aws::CloudWatchLogs::Model::QueryInfo
Definition: QueryInfo.h:34
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CloudWatchLogs::Model::DescribeQueriesResult::WithQueries
DescribeQueriesResult & WithQueries(const Aws::Vector< QueryInfo > &value)
Definition: DescribeQueriesResult.h:55
Aws::CloudWatchLogs::Model::DescribeQueriesResult::WithQueries
DescribeQueriesResult & WithQueries(Aws::Vector< QueryInfo > &&value)
Definition: DescribeQueriesResult.h:60
Aws::CloudWatchLogs::Model::DescribeQueriesResult::WithNextToken
DescribeQueriesResult & WithNextToken(const Aws::String &value)
Definition: DescribeQueriesResult.h:86
Aws::CloudWatchLogs::Model::DescribeQueriesResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeQueriesResult.h:83
Aws::CloudWatchLogs::Model::DescribeQueriesResult::AddQueries
DescribeQueriesResult & AddQueries(QueryInfo &&value)
Definition: DescribeQueriesResult.h:70
AWS_CLOUDWATCHLOGS_API
#define AWS_CLOUDWATCHLOGS_API
Definition: CloudWatchLogs_EXPORTS.h:28
Aws::CloudWatchLogs::Model::DescribeQueriesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeQueriesResult.h:74
Aws::CloudWatchLogs::Model::DescribeQueriesResult::WithNextToken
DescribeQueriesResult & WithNextToken(const char *value)
Definition: DescribeQueriesResult.h:92
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
CloudWatchLogs_EXPORTS.h
Aws::CloudWatchLogs::Model::DescribeQueriesResult::operator=
DescribeQueriesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CloudWatchLogs::Model::DescribeQueriesResult::GetQueries
const Aws::Vector< QueryInfo > & GetQueries() const
Definition: DescribeQueriesResult.h:40
AWSString.h
Aws::CloudWatchLogs::Model::DescribeQueriesResult::SetQueries
void SetQueries(const Aws::Vector< QueryInfo > &value)
Definition: DescribeQueriesResult.h:45
Aws::CloudWatchLogs::Model::DescribeQueriesResult::DescribeQueriesResult
DescribeQueriesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CloudWatchLogs::Model::DescribeQueriesResult::SetQueries
void SetQueries(Aws::Vector< QueryInfo > &&value)
Definition: DescribeQueriesResult.h:50
Aws::CloudWatchLogs::Model::DescribeQueriesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeQueriesResult.h:80
Aws::CloudWatchLogs::Model::DescribeQueriesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeQueriesResult.h:77
Aws::CloudWatchLogs::Model::DescribeQueriesResult
Definition: DescribeQueriesResult.h:30
Aws::CloudWatchLogs::Model::DescribeQueriesResult::DescribeQueriesResult
DescribeQueriesResult()
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudWatchLogs::Model::DescribeQueriesResult::WithNextToken
DescribeQueriesResult & WithNextToken(Aws::String &&value)
Definition: DescribeQueriesResult.h:89
Aws::CloudWatchLogs::Model::DescribeQueriesResult::AddQueries
DescribeQueriesResult & AddQueries(const QueryInfo &value)
Definition: DescribeQueriesResult.h:65