AWS SDK for C++

AWS SDK for C++ Version 1.11.865

Loading...
Searching...
No Matches
DescribeFieldIndexesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/logs/CloudWatchLogsRequest.h>
10#include <aws/logs/CloudWatchLogs_EXPORTS.h>
11#include <aws/logs/model/IndexCategory.h>
12
13#include <utility>
14
15namespace Aws {
16namespace CloudWatchLogs {
17namespace Model {
18
22 public:
23 AWS_CLOUDWATCHLOGS_API DescribeFieldIndexesRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeFieldIndexes"; }
30
31 AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override;
32
33 AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
40 inline const Aws::Vector<Aws::String>& GetLogGroupIdentifiers() const { return m_logGroupIdentifiers; }
41 inline bool LogGroupIdentifiersHasBeenSet() const { return m_logGroupIdentifiersHasBeenSet; }
42 template <typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
43 void SetLogGroupIdentifiers(LogGroupIdentifiersT&& value) {
44 m_logGroupIdentifiersHasBeenSet = true;
45 m_logGroupIdentifiers = std::forward<LogGroupIdentifiersT>(value);
46 }
47 template <typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
49 SetLogGroupIdentifiers(std::forward<LogGroupIdentifiersT>(value));
50 return *this;
51 }
52 template <typename LogGroupIdentifiersT = Aws::String>
53 DescribeFieldIndexesRequest& AddLogGroupIdentifiers(LogGroupIdentifiersT&& value) {
54 m_logGroupIdentifiersHasBeenSet = true;
55 m_logGroupIdentifiers.emplace_back(std::forward<LogGroupIdentifiersT>(value));
56 return *this;
57 }
59
61
83 inline const Aws::Vector<IndexCategory>& GetIndexCategories() const { return m_indexCategories; }
84 inline bool IndexCategoriesHasBeenSet() const { return m_indexCategoriesHasBeenSet; }
85 template <typename IndexCategoriesT = Aws::Vector<IndexCategory>>
86 void SetIndexCategories(IndexCategoriesT&& value) {
87 m_indexCategoriesHasBeenSet = true;
88 m_indexCategories = std::forward<IndexCategoriesT>(value);
89 }
90 template <typename IndexCategoriesT = Aws::Vector<IndexCategory>>
92 SetIndexCategories(std::forward<IndexCategoriesT>(value));
93 return *this;
94 }
96 m_indexCategoriesHasBeenSet = true;
97 m_indexCategories.push_back(value);
98 return *this;
99 }
101
103
104 inline const Aws::String& GetNextToken() const { return m_nextToken; }
105 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
106 template <typename NextTokenT = Aws::String>
107 void SetNextToken(NextTokenT&& value) {
108 m_nextTokenHasBeenSet = true;
109 m_nextToken = std::forward<NextTokenT>(value);
110 }
111 template <typename NextTokenT = Aws::String>
113 SetNextToken(std::forward<NextTokenT>(value));
114 return *this;
115 }
117 private:
118 Aws::Vector<Aws::String> m_logGroupIdentifiers;
119
120 Aws::Vector<IndexCategory> m_indexCategories;
121
122 Aws::String m_nextToken;
123 bool m_logGroupIdentifiersHasBeenSet = false;
124 bool m_indexCategoriesHasBeenSet = false;
125 bool m_nextTokenHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace CloudWatchLogs
130} // namespace Aws
DescribeFieldIndexesRequest & WithIndexCategories(IndexCategoriesT &&value)
const Aws::Vector< IndexCategory > & GetIndexCategories() const
DescribeFieldIndexesRequest & AddIndexCategories(IndexCategory value)
DescribeFieldIndexesRequest & WithNextToken(NextTokenT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CLOUDWATCHLOGS_API DescribeFieldIndexesRequest()=default
DescribeFieldIndexesRequest & AddLogGroupIdentifiers(LogGroupIdentifiersT &&value)
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
DescribeFieldIndexesRequest & WithLogGroupIdentifiers(LogGroupIdentifiersT &&value)
const Aws::Vector< Aws::String > & GetLogGroupIdentifiers() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector