AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeSubscriptionFiltersResult.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<SubscriptionFilter>& GetSubscriptionFilters() const{ return m_subscriptionFilters; }
41 
45  inline void SetSubscriptionFilters(const Aws::Vector<SubscriptionFilter>& value) { m_subscriptionFilters = value; }
46 
50  inline void SetSubscriptionFilters(Aws::Vector<SubscriptionFilter>&& value) { m_subscriptionFilters = std::move(value); }
51 
55  inline DescribeSubscriptionFiltersResult& WithSubscriptionFilters(const Aws::Vector<SubscriptionFilter>& value) { SetSubscriptionFilters(value); return *this;}
56 
60  inline DescribeSubscriptionFiltersResult& WithSubscriptionFilters(Aws::Vector<SubscriptionFilter>&& value) { SetSubscriptionFilters(std::move(value)); return *this;}
61 
65  inline DescribeSubscriptionFiltersResult& AddSubscriptionFilters(const SubscriptionFilter& value) { m_subscriptionFilters.push_back(value); return *this; }
66 
70  inline DescribeSubscriptionFiltersResult& AddSubscriptionFilters(SubscriptionFilter&& value) { m_subscriptionFilters.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 DescribeSubscriptionFiltersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
87 
88 
89  inline DescribeSubscriptionFiltersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
90 
91 
92  inline DescribeSubscriptionFiltersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
93 
94  private:
95 
96  Aws::Vector<SubscriptionFilter> m_subscriptionFilters;
97 
98  Aws::String m_nextToken;
99  };
100 
101 } // namespace Model
102 } // namespace CloudWatchLogs
103 } // namespace Aws
Aws::CloudWatchLogs::Model::SubscriptionFilter
Definition: SubscriptionFilter.h:33
Aws::CloudWatchLogs::Model::DescribeSubscriptionFiltersResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeSubscriptionFiltersResult.h:77
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CloudWatchLogs::Model::DescribeSubscriptionFiltersResult::WithNextToken
DescribeSubscriptionFiltersResult & WithNextToken(const char *value)
Definition: DescribeSubscriptionFiltersResult.h:92
Aws::CloudWatchLogs::Model::DescribeSubscriptionFiltersResult::SetSubscriptionFilters
void SetSubscriptionFilters(const Aws::Vector< SubscriptionFilter > &value)
Definition: DescribeSubscriptionFiltersResult.h:45
Aws::CloudWatchLogs::Model::DescribeSubscriptionFiltersResult::SetSubscriptionFilters
void SetSubscriptionFilters(Aws::Vector< SubscriptionFilter > &&value)
Definition: DescribeSubscriptionFiltersResult.h:50
AWS_CLOUDWATCHLOGS_API
#define AWS_CLOUDWATCHLOGS_API
Definition: CloudWatchLogs_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CloudWatchLogs::Model::DescribeSubscriptionFiltersResult::AddSubscriptionFilters
DescribeSubscriptionFiltersResult & AddSubscriptionFilters(SubscriptionFilter &&value)
Definition: DescribeSubscriptionFiltersResult.h:70
Aws::CloudWatchLogs::Model::DescribeSubscriptionFiltersResult
Definition: DescribeSubscriptionFiltersResult.h:30
Aws::CloudWatchLogs::Model::DescribeSubscriptionFiltersResult::WithSubscriptionFilters
DescribeSubscriptionFiltersResult & WithSubscriptionFilters(const Aws::Vector< SubscriptionFilter > &value)
Definition: DescribeSubscriptionFiltersResult.h:55
SubscriptionFilter.h
AWSVector.h
Aws::CloudWatchLogs::Model::DescribeSubscriptionFiltersResult::operator=
DescribeSubscriptionFiltersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CloudWatchLogs_EXPORTS.h
Aws::CloudWatchLogs::Model::DescribeSubscriptionFiltersResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeSubscriptionFiltersResult.h:80
Aws::CloudWatchLogs::Model::DescribeSubscriptionFiltersResult::WithSubscriptionFilters
DescribeSubscriptionFiltersResult & WithSubscriptionFilters(Aws::Vector< SubscriptionFilter > &&value)
Definition: DescribeSubscriptionFiltersResult.h:60
Aws::CloudWatchLogs::Model::DescribeSubscriptionFiltersResult::AddSubscriptionFilters
DescribeSubscriptionFiltersResult & AddSubscriptionFilters(const SubscriptionFilter &value)
Definition: DescribeSubscriptionFiltersResult.h:65
AWSString.h
Aws::CloudWatchLogs::Model::DescribeSubscriptionFiltersResult::GetSubscriptionFilters
const Aws::Vector< SubscriptionFilter > & GetSubscriptionFilters() const
Definition: DescribeSubscriptionFiltersResult.h:40
Aws::CloudWatchLogs::Model::DescribeSubscriptionFiltersResult::WithNextToken
DescribeSubscriptionFiltersResult & WithNextToken(Aws::String &&value)
Definition: DescribeSubscriptionFiltersResult.h:89
Aws::CloudWatchLogs::Model::DescribeSubscriptionFiltersResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeSubscriptionFiltersResult.h:83
Aws::CloudWatchLogs::Model::DescribeSubscriptionFiltersResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeSubscriptionFiltersResult.h:74
Aws::CloudWatchLogs::Model::DescribeSubscriptionFiltersResult::DescribeSubscriptionFiltersResult
DescribeSubscriptionFiltersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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::DescribeSubscriptionFiltersResult::WithNextToken
DescribeSubscriptionFiltersResult & WithNextToken(const Aws::String &value)
Definition: DescribeSubscriptionFiltersResult.h:86
Aws::CloudWatchLogs::Model::DescribeSubscriptionFiltersResult::DescribeSubscriptionFiltersResult
DescribeSubscriptionFiltersResult()