AWS SDK for C++  1.9.104
AWS SDK for C++
ListFindingsResult.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>& GetFindingIds() const{ return m_findingIds; }
40 
44  inline void SetFindingIds(const Aws::Vector<Aws::String>& value) { m_findingIds = value; }
45 
49  inline void SetFindingIds(Aws::Vector<Aws::String>&& value) { m_findingIds = std::move(value); }
50 
54  inline ListFindingsResult& WithFindingIds(const Aws::Vector<Aws::String>& value) { SetFindingIds(value); return *this;}
55 
59  inline ListFindingsResult& WithFindingIds(Aws::Vector<Aws::String>&& value) { SetFindingIds(std::move(value)); return *this;}
60 
64  inline ListFindingsResult& AddFindingIds(const Aws::String& value) { m_findingIds.push_back(value); return *this; }
65 
69  inline ListFindingsResult& AddFindingIds(Aws::String&& value) { m_findingIds.push_back(std::move(value)); return *this; }
70 
74  inline ListFindingsResult& AddFindingIds(const char* value) { m_findingIds.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 ListFindingsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
106 
111  inline ListFindingsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
112 
117  inline ListFindingsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
118 
119  private:
120 
121  Aws::Vector<Aws::String> m_findingIds;
122 
123  Aws::String m_nextToken;
124  };
125 
126 } // namespace Model
127 } // namespace GuardDuty
128 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GuardDuty::Model::ListFindingsResult::GetFindingIds
const Aws::Vector< Aws::String > & GetFindingIds() const
Definition: ListFindingsResult.h:39
Aws::GuardDuty::Model::ListFindingsResult::WithNextToken
ListFindingsResult & WithNextToken(const char *value)
Definition: ListFindingsResult.h:117
Aws::GuardDuty::Model::ListFindingsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListFindingsResult.h:81
Aws::GuardDuty::Model::ListFindingsResult::WithFindingIds
ListFindingsResult & WithFindingIds(Aws::Vector< Aws::String > &&value)
Definition: ListFindingsResult.h:59
Aws::GuardDuty::Model::ListFindingsResult::WithFindingIds
ListFindingsResult & WithFindingIds(const Aws::Vector< Aws::String > &value)
Definition: ListFindingsResult.h:54
Aws::GuardDuty::Model::ListFindingsResult::ListFindingsResult
ListFindingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GuardDuty::Model::ListFindingsResult::WithNextToken
ListFindingsResult & WithNextToken(Aws::String &&value)
Definition: ListFindingsResult.h:111
Aws::GuardDuty::Model::ListFindingsResult::SetFindingIds
void SetFindingIds(Aws::Vector< Aws::String > &&value)
Definition: ListFindingsResult.h:49
Aws::GuardDuty::Model::ListFindingsResult::operator=
ListFindingsResult & 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::ListFindingsResult::ListFindingsResult
ListFindingsResult()
AWSVector.h
Aws::GuardDuty::Model::ListFindingsResult::SetFindingIds
void SetFindingIds(const Aws::Vector< Aws::String > &value)
Definition: ListFindingsResult.h:44
Aws::GuardDuty::Model::ListFindingsResult
Definition: ListFindingsResult.h:29
Aws::GuardDuty::Model::ListFindingsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListFindingsResult.h:99
GuardDuty_EXPORTS.h
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
AWSString.h
Aws::GuardDuty::Model::ListFindingsResult::AddFindingIds
ListFindingsResult & AddFindingIds(Aws::String &&value)
Definition: ListFindingsResult.h:69
Aws::GuardDuty::Model::ListFindingsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListFindingsResult.h:93
Aws::GuardDuty::Model::ListFindingsResult::WithNextToken
ListFindingsResult & WithNextToken(const Aws::String &value)
Definition: ListFindingsResult.h:105
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::ListFindingsResult::AddFindingIds
ListFindingsResult & AddFindingIds(const char *value)
Definition: ListFindingsResult.h:74
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::ListFindingsResult::AddFindingIds
ListFindingsResult & AddFindingIds(const Aws::String &value)
Definition: ListFindingsResult.h:64
Aws::GuardDuty::Model::ListFindingsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListFindingsResult.h:87