AWS SDK for C++  1.9.153
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 Macie2
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const Aws::Vector<Aws::String>& GetFindingIds() const{ return m_findingIds; }
41 
46  inline void SetFindingIds(const Aws::Vector<Aws::String>& value) { m_findingIds = value; }
47 
52  inline void SetFindingIds(Aws::Vector<Aws::String>&& value) { m_findingIds = std::move(value); }
53 
58  inline ListFindingsResult& WithFindingIds(const Aws::Vector<Aws::String>& value) { SetFindingIds(value); return *this;}
59 
64  inline ListFindingsResult& WithFindingIds(Aws::Vector<Aws::String>&& value) { SetFindingIds(std::move(value)); return *this;}
65 
70  inline ListFindingsResult& AddFindingIds(const Aws::String& value) { m_findingIds.push_back(value); return *this; }
71 
76  inline ListFindingsResult& AddFindingIds(Aws::String&& value) { m_findingIds.push_back(std::move(value)); return *this; }
77 
82  inline ListFindingsResult& AddFindingIds(const char* value) { m_findingIds.push_back(value); return *this; }
83 
84 
89  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
90 
95  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
96 
101  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
102 
107  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
108 
113  inline ListFindingsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
114 
119  inline ListFindingsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
120 
125  inline ListFindingsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
126 
127  private:
128 
129  Aws::Vector<Aws::String> m_findingIds;
130 
131  Aws::String m_nextToken;
132  };
133 
134 } // namespace Model
135 } // namespace Macie2
136 } // namespace Aws
Aws::Macie2::Model::ListFindingsResult::SetFindingIds
void SetFindingIds(const Aws::Vector< Aws::String > &value)
Definition: ListFindingsResult.h:46
Aws::Macie2::Model::ListFindingsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListFindingsResult.h:107
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Macie2::Model::ListFindingsResult::WithFindingIds
ListFindingsResult & WithFindingIds(const Aws::Vector< Aws::String > &value)
Definition: ListFindingsResult.h:58
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::ListFindingsResult::SetFindingIds
void SetFindingIds(Aws::Vector< Aws::String > &&value)
Definition: ListFindingsResult.h:52
Aws::Macie2::Model::ListFindingsResult::ListFindingsResult
ListFindingsResult()
Aws::Macie2::Model::ListFindingsResult::WithNextToken
ListFindingsResult & WithNextToken(Aws::String &&value)
Definition: ListFindingsResult.h:119
Macie2_EXPORTS.h
Aws::Macie2::Model::ListFindingsResult::WithNextToken
ListFindingsResult & WithNextToken(const Aws::String &value)
Definition: ListFindingsResult.h:113
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Macie2::Model::ListFindingsResult::GetFindingIds
const Aws::Vector< Aws::String > & GetFindingIds() const
Definition: ListFindingsResult.h:40
Aws::Macie2::Model::ListFindingsResult::AddFindingIds
ListFindingsResult & AddFindingIds(const char *value)
Definition: ListFindingsResult.h:82
Aws::Macie2::Model::ListFindingsResult::AddFindingIds
ListFindingsResult & AddFindingIds(Aws::String &&value)
Definition: ListFindingsResult.h:76
Aws::Macie2::Model::ListFindingsResult::operator=
ListFindingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::Macie2::Model::ListFindingsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListFindingsResult.h:95
Aws::Macie2::Model::ListFindingsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListFindingsResult.h:89
Aws::Macie2::Model::ListFindingsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListFindingsResult.h:101
Aws::Macie2::Model::ListFindingsResult::AddFindingIds
ListFindingsResult & AddFindingIds(const Aws::String &value)
Definition: ListFindingsResult.h:70
Aws::Macie2::Model::ListFindingsResult::ListFindingsResult
ListFindingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::ListFindingsResult::WithFindingIds
ListFindingsResult & WithFindingIds(Aws::Vector< Aws::String > &&value)
Definition: ListFindingsResult.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Macie2::Model::ListFindingsResult::WithNextToken
ListFindingsResult & WithNextToken(const char *value)
Definition: ListFindingsResult.h:125
Aws::Macie2::Model::ListFindingsResult
Definition: ListFindingsResult.h:29