AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeIndexPoliciesRequest.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
12#include <utility>
13
14namespace Aws {
15namespace CloudWatchLogs {
16namespace Model {
17
21 public:
22 AWS_CLOUDWATCHLOGS_API DescribeIndexPoliciesRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeIndexPolicies"; }
29
30 AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override;
31
32 AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
39 inline const Aws::Vector<Aws::String>& GetLogGroupIdentifiers() const { return m_logGroupIdentifiers; }
40 inline bool LogGroupIdentifiersHasBeenSet() const { return m_logGroupIdentifiersHasBeenSet; }
41 template <typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
42 void SetLogGroupIdentifiers(LogGroupIdentifiersT&& value) {
43 m_logGroupIdentifiersHasBeenSet = true;
44 m_logGroupIdentifiers = std::forward<LogGroupIdentifiersT>(value);
45 }
46 template <typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
48 SetLogGroupIdentifiers(std::forward<LogGroupIdentifiersT>(value));
49 return *this;
50 }
51 template <typename LogGroupIdentifiersT = Aws::String>
53 m_logGroupIdentifiersHasBeenSet = true;
54 m_logGroupIdentifiers.emplace_back(std::forward<LogGroupIdentifiersT>(value));
55 return *this;
56 }
58
60
61 inline const Aws::String& GetNextToken() const { return m_nextToken; }
62 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
63 template <typename NextTokenT = Aws::String>
64 void SetNextToken(NextTokenT&& value) {
65 m_nextTokenHasBeenSet = true;
66 m_nextToken = std::forward<NextTokenT>(value);
67 }
68 template <typename NextTokenT = Aws::String>
70 SetNextToken(std::forward<NextTokenT>(value));
71 return *this;
72 }
74 private:
75 Aws::Vector<Aws::String> m_logGroupIdentifiers;
76
77 Aws::String m_nextToken;
78 bool m_logGroupIdentifiersHasBeenSet = false;
79 bool m_nextTokenHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace CloudWatchLogs
84} // namespace Aws
const Aws::Vector< Aws::String > & GetLogGroupIdentifiers() const
DescribeIndexPoliciesRequest & AddLogGroupIdentifiers(LogGroupIdentifiersT &&value)
AWS_CLOUDWATCHLOGS_API DescribeIndexPoliciesRequest()=default
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
DescribeIndexPoliciesRequest & WithNextToken(NextTokenT &&value)
DescribeIndexPoliciesRequest & WithLogGroupIdentifiers(LogGroupIdentifiersT &&value)
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