AWS SDK for C++  1.9.157
AWS SDK for C++
ListFindingsFiltersResult.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 Macie2
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<FindingsFilterListItem>& GetFindingsFilterListItems() const{ return m_findingsFilterListItems; }
42 
47  inline void SetFindingsFilterListItems(const Aws::Vector<FindingsFilterListItem>& value) { m_findingsFilterListItems = value; }
48 
53  inline void SetFindingsFilterListItems(Aws::Vector<FindingsFilterListItem>&& value) { m_findingsFilterListItems = std::move(value); }
54 
59  inline ListFindingsFiltersResult& WithFindingsFilterListItems(const Aws::Vector<FindingsFilterListItem>& value) { SetFindingsFilterListItems(value); return *this;}
60 
65  inline ListFindingsFiltersResult& WithFindingsFilterListItems(Aws::Vector<FindingsFilterListItem>&& value) { SetFindingsFilterListItems(std::move(value)); return *this;}
66 
71  inline ListFindingsFiltersResult& AddFindingsFilterListItems(const FindingsFilterListItem& value) { m_findingsFilterListItems.push_back(value); return *this; }
72 
77  inline ListFindingsFiltersResult& AddFindingsFilterListItems(FindingsFilterListItem&& value) { m_findingsFilterListItems.push_back(std::move(value)); return *this; }
78 
79 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
90  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
91 
96  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
97 
102  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
103 
108  inline ListFindingsFiltersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
109 
114  inline ListFindingsFiltersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 
120  inline ListFindingsFiltersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
124  Aws::Vector<FindingsFilterListItem> m_findingsFilterListItems;
125 
126  Aws::String m_nextToken;
127  };
128 
129 } // namespace Model
130 } // namespace Macie2
131 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::ListFindingsFiltersResult::SetFindingsFilterListItems
void SetFindingsFilterListItems(const Aws::Vector< FindingsFilterListItem > &value)
Definition: ListFindingsFiltersResult.h:47
Aws::Macie2::Model::ListFindingsFiltersResult::GetFindingsFilterListItems
const Aws::Vector< FindingsFilterListItem > & GetFindingsFilterListItems() const
Definition: ListFindingsFiltersResult.h:41
Aws::Macie2::Model::ListFindingsFiltersResult::ListFindingsFiltersResult
ListFindingsFiltersResult()
Aws::Macie2::Model::ListFindingsFiltersResult
Definition: ListFindingsFiltersResult.h:30
Aws::Macie2::Model::ListFindingsFiltersResult::SetFindingsFilterListItems
void SetFindingsFilterListItems(Aws::Vector< FindingsFilterListItem > &&value)
Definition: ListFindingsFiltersResult.h:53
Macie2_EXPORTS.h
Aws::Macie2::Model::ListFindingsFiltersResult::WithFindingsFilterListItems
ListFindingsFiltersResult & WithFindingsFilterListItems(const Aws::Vector< FindingsFilterListItem > &value)
Definition: ListFindingsFiltersResult.h:59
Aws::Macie2::Model::ListFindingsFiltersResult::operator=
ListFindingsFiltersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Macie2::Model::ListFindingsFiltersResult::ListFindingsFiltersResult
ListFindingsFiltersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Macie2::Model::ListFindingsFiltersResult::WithFindingsFilterListItems
ListFindingsFiltersResult & WithFindingsFilterListItems(Aws::Vector< FindingsFilterListItem > &&value)
Definition: ListFindingsFiltersResult.h:65
Aws::Macie2::Model::ListFindingsFiltersResult::WithNextToken
ListFindingsFiltersResult & WithNextToken(const Aws::String &value)
Definition: ListFindingsFiltersResult.h:108
Aws::Macie2::Model::ListFindingsFiltersResult::WithNextToken
ListFindingsFiltersResult & WithNextToken(const char *value)
Definition: ListFindingsFiltersResult.h:120
Aws::Macie2::Model::ListFindingsFiltersResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListFindingsFiltersResult.h:84
Aws::Macie2::Model::ListFindingsFiltersResult::AddFindingsFilterListItems
ListFindingsFiltersResult & AddFindingsFilterListItems(FindingsFilterListItem &&value)
Definition: ListFindingsFiltersResult.h:77
Aws::Macie2::Model::ListFindingsFiltersResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListFindingsFiltersResult.h:90
Aws::Macie2::Model::ListFindingsFiltersResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListFindingsFiltersResult.h:102
AWSString.h
Aws::Macie2::Model::ListFindingsFiltersResult::WithNextToken
ListFindingsFiltersResult & WithNextToken(Aws::String &&value)
Definition: ListFindingsFiltersResult.h:114
Aws::Macie2::Model::FindingsFilterListItem
Definition: FindingsFilterListItem.h:34
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
FindingsFilterListItem.h
Aws::Macie2::Model::ListFindingsFiltersResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListFindingsFiltersResult.h:96
Aws::Macie2::Model::ListFindingsFiltersResult::AddFindingsFilterListItems
ListFindingsFiltersResult & AddFindingsFilterListItems(const FindingsFilterListItem &value)
Definition: ListFindingsFiltersResult.h:71
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97