AWS SDK for C++  1.8.154
AWS SDK for C++
ListFiltersResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace GuardDuty
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<Aws::String>& GetFilterNames() const{ return m_filterNames; }
40 
44  inline void SetFilterNames(const Aws::Vector<Aws::String>& value) { m_filterNames = value; }
45 
49  inline void SetFilterNames(Aws::Vector<Aws::String>&& value) { m_filterNames = std::move(value); }
50 
54  inline ListFiltersResult& WithFilterNames(const Aws::Vector<Aws::String>& value) { SetFilterNames(value); return *this;}
55 
59  inline ListFiltersResult& WithFilterNames(Aws::Vector<Aws::String>&& value) { SetFilterNames(std::move(value)); return *this;}
60 
64  inline ListFiltersResult& AddFilterNames(const Aws::String& value) { m_filterNames.push_back(value); return *this; }
65 
69  inline ListFiltersResult& AddFilterNames(Aws::String&& value) { m_filterNames.push_back(std::move(value)); return *this; }
70 
74  inline ListFiltersResult& AddFilterNames(const char* value) { m_filterNames.push_back(value); return *this; }
75 
76 
81  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
82 
87  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
88 
93  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
94 
99  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
100 
105  inline ListFiltersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
106 
111  inline ListFiltersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
112 
117  inline ListFiltersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
118 
119  private:
120 
121  Aws::Vector<Aws::String> m_filterNames;
122 
123  Aws::String m_nextToken;
124  };
125 
126 } // namespace Model
127 } // namespace GuardDuty
128 } // namespace Aws
Aws::GuardDuty::Model::ListFiltersResult::WithNextToken
ListFiltersResult & WithNextToken(const char *value)
Definition: ListFiltersResult.h:117
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GuardDuty::Model::ListFiltersResult
Definition: ListFiltersResult.h:29
Aws::GuardDuty::Model::ListFiltersResult::WithFilterNames
ListFiltersResult & WithFilterNames(const Aws::Vector< Aws::String > &value)
Definition: ListFiltersResult.h:54
Aws::GuardDuty::Model::ListFiltersResult::SetFilterNames
void SetFilterNames(Aws::Vector< Aws::String > &&value)
Definition: ListFiltersResult.h:49
Aws::GuardDuty::Model::ListFiltersResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListFiltersResult.h:99
Aws::GuardDuty::Model::ListFiltersResult::operator=
ListFiltersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GuardDuty::Model::ListFiltersResult::WithNextToken
ListFiltersResult & WithNextToken(Aws::String &&value)
Definition: ListFiltersResult.h:111
AWSVector.h
Aws::GuardDuty::Model::ListFiltersResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListFiltersResult.h:93
Aws::GuardDuty::Model::ListFiltersResult::AddFilterNames
ListFiltersResult & AddFilterNames(const char *value)
Definition: ListFiltersResult.h:74
Aws::GuardDuty::Model::ListFiltersResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListFiltersResult.h:81
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::ListFiltersResult::ListFiltersResult
ListFiltersResult()
Aws::GuardDuty::Model::ListFiltersResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListFiltersResult.h:87
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::ListFiltersResult::GetFilterNames
const Aws::Vector< Aws::String > & GetFilterNames() const
Definition: ListFiltersResult.h:39
AWSString.h
Aws::GuardDuty::Model::ListFiltersResult::WithNextToken
ListFiltersResult & WithNextToken(const Aws::String &value)
Definition: ListFiltersResult.h:105
Aws::GuardDuty::Model::ListFiltersResult::ListFiltersResult
ListFiltersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GuardDuty::Model::ListFiltersResult::WithFilterNames
ListFiltersResult & WithFilterNames(Aws::Vector< Aws::String > &&value)
Definition: ListFiltersResult.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::ListFiltersResult::AddFilterNames
ListFiltersResult & AddFilterNames(const Aws::String &value)
Definition: ListFiltersResult.h:64
Aws::GuardDuty::Model::ListFiltersResult::SetFilterNames
void SetFilterNames(const Aws::Vector< Aws::String > &value)
Definition: ListFiltersResult.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::ListFiltersResult::AddFilterNames
ListFiltersResult & AddFilterNames(Aws::String &&value)
Definition: ListFiltersResult.h:69