AWS SDK for C++  1.9.157
AWS SDK for C++
ListFindingsResult.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 AccessAnalyzer
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
46  inline const Aws::Vector<FindingSummary>& GetFindings() const{ return m_findings; }
47 
52  inline void SetFindings(const Aws::Vector<FindingSummary>& value) { m_findings = value; }
53 
58  inline void SetFindings(Aws::Vector<FindingSummary>&& value) { m_findings = std::move(value); }
59 
64  inline ListFindingsResult& WithFindings(const Aws::Vector<FindingSummary>& value) { SetFindings(value); return *this;}
65 
70  inline ListFindingsResult& WithFindings(Aws::Vector<FindingSummary>&& value) { SetFindings(std::move(value)); return *this;}
71 
76  inline ListFindingsResult& AddFindings(const FindingSummary& value) { m_findings.push_back(value); return *this; }
77 
82  inline ListFindingsResult& AddFindings(FindingSummary&& value) { m_findings.push_back(std::move(value)); return *this; }
83 
84 
88  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
89 
93  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
94 
98  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
99 
103  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
104 
108  inline ListFindingsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
109 
113  inline ListFindingsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
114 
118  inline ListFindingsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
119 
120  private:
121 
122  Aws::Vector<FindingSummary> m_findings;
123 
124  Aws::String m_nextToken;
125  };
126 
127 } // namespace Model
128 } // namespace AccessAnalyzer
129 } // namespace Aws
Aws::AccessAnalyzer::Model::ListFindingsResult::AddFindings
ListFindingsResult & AddFindings(const FindingSummary &value)
Definition: ListFindingsResult.h:76
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::ListFindingsResult::AddFindings
ListFindingsResult & AddFindings(FindingSummary &&value)
Definition: ListFindingsResult.h:82
Aws::AccessAnalyzer::Model::ListFindingsResult::WithNextToken
ListFindingsResult & WithNextToken(const char *value)
Definition: ListFindingsResult.h:118
Aws::AccessAnalyzer::Model::ListFindingsResult::WithFindings
ListFindingsResult & WithFindings(const Aws::Vector< FindingSummary > &value)
Definition: ListFindingsResult.h:64
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AccessAnalyzer::Model::ListFindingsResult::WithNextToken
ListFindingsResult & WithNextToken(const Aws::String &value)
Definition: ListFindingsResult.h:108
AWSVector.h
Aws::AccessAnalyzer::Model::ListFindingsResult::SetFindings
void SetFindings(const Aws::Vector< FindingSummary > &value)
Definition: ListFindingsResult.h:52
Aws::AccessAnalyzer::Model::ListFindingsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListFindingsResult.h:98
Aws::AccessAnalyzer::Model::ListFindingsResult::WithFindings
ListFindingsResult & WithFindings(Aws::Vector< FindingSummary > &&value)
Definition: ListFindingsResult.h:70
Aws::AccessAnalyzer::Model::FindingSummary
Definition: FindingSummary.h:38
AWSString.h
Aws::AccessAnalyzer::Model::ListFindingsResult
Definition: ListFindingsResult.h:35
Aws::AccessAnalyzer::Model::ListFindingsResult::SetFindings
void SetFindings(Aws::Vector< FindingSummary > &&value)
Definition: ListFindingsResult.h:58
Aws::AccessAnalyzer::Model::ListFindingsResult::ListFindingsResult
ListFindingsResult()
Aws::AccessAnalyzer::Model::ListFindingsResult::ListFindingsResult
ListFindingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AccessAnalyzer::Model::ListFindingsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListFindingsResult.h:88
Aws::AccessAnalyzer::Model::ListFindingsResult::WithNextToken
ListFindingsResult & WithNextToken(Aws::String &&value)
Definition: ListFindingsResult.h:113
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AccessAnalyzer::Model::ListFindingsResult::operator=
ListFindingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::ListFindingsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListFindingsResult.h:103
Aws::AccessAnalyzer::Model::ListFindingsResult::GetFindings
const Aws::Vector< FindingSummary > & GetFindings() const
Definition: ListFindingsResult.h:46
Aws::AccessAnalyzer::Model::ListFindingsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListFindingsResult.h:93
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
FindingSummary.h