AWS SDK for C++  1.9.153
AWS SDK for C++
ListAccessPreviewFindingsResult.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 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<AccessPreviewFinding>& GetFindings() const{ return m_findings; }
42 
47  inline void SetFindings(const Aws::Vector<AccessPreviewFinding>& value) { m_findings = value; }
48 
53  inline void SetFindings(Aws::Vector<AccessPreviewFinding>&& value) { m_findings = std::move(value); }
54 
59  inline ListAccessPreviewFindingsResult& WithFindings(const Aws::Vector<AccessPreviewFinding>& value) { SetFindings(value); return *this;}
60 
65  inline ListAccessPreviewFindingsResult& WithFindings(Aws::Vector<AccessPreviewFinding>&& value) { SetFindings(std::move(value)); return *this;}
66 
71  inline ListAccessPreviewFindingsResult& AddFindings(const AccessPreviewFinding& value) { m_findings.push_back(value); return *this; }
72 
77  inline ListAccessPreviewFindingsResult& AddFindings(AccessPreviewFinding&& value) { m_findings.push_back(std::move(value)); return *this; }
78 
79 
83  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
84 
88  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
89 
93  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
94 
98  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
99 
103  inline ListAccessPreviewFindingsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
104 
108  inline ListAccessPreviewFindingsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
109 
113  inline ListAccessPreviewFindingsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace AccessAnalyzer
124 } // namespace Aws
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListAccessPreviewFindingsResult.h:98
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsResult::WithFindings
ListAccessPreviewFindingsResult & WithFindings(Aws::Vector< AccessPreviewFinding > &&value)
Definition: ListAccessPreviewFindingsResult.h:65
Aws::AccessAnalyzer::Model::AccessPreviewFinding
Definition: AccessPreviewFinding.h:40
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsResult::SetFindings
void SetFindings(const Aws::Vector< AccessPreviewFinding > &value)
Definition: ListAccessPreviewFindingsResult.h:47
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsResult::ListAccessPreviewFindingsResult
ListAccessPreviewFindingsResult()
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsResult::ListAccessPreviewFindingsResult
ListAccessPreviewFindingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsResult::operator=
ListAccessPreviewFindingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsResult::WithFindings
ListAccessPreviewFindingsResult & WithFindings(const Aws::Vector< AccessPreviewFinding > &value)
Definition: ListAccessPreviewFindingsResult.h:59
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAccessPreviewFindingsResult.h:88
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsResult
Definition: ListAccessPreviewFindingsResult.h:30
AccessPreviewFinding.h
AWSString.h
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsResult::GetFindings
const Aws::Vector< AccessPreviewFinding > & GetFindings() const
Definition: ListAccessPreviewFindingsResult.h:41
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAccessPreviewFindingsResult.h:93
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsResult::WithNextToken
ListAccessPreviewFindingsResult & WithNextToken(const Aws::String &value)
Definition: ListAccessPreviewFindingsResult.h:103
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsResult::WithNextToken
ListAccessPreviewFindingsResult & WithNextToken(const char *value)
Definition: ListAccessPreviewFindingsResult.h:113
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAccessPreviewFindingsResult.h:83
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsResult::AddFindings
ListAccessPreviewFindingsResult & AddFindings(AccessPreviewFinding &&value)
Definition: ListAccessPreviewFindingsResult.h:77
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsResult::WithNextToken
ListAccessPreviewFindingsResult & WithNextToken(Aws::String &&value)
Definition: ListAccessPreviewFindingsResult.h:108
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsResult::AddFindings
ListAccessPreviewFindingsResult & AddFindings(const AccessPreviewFinding &value)
Definition: ListAccessPreviewFindingsResult.h:71
Aws::AccessAnalyzer::Model::ListAccessPreviewFindingsResult::SetFindings
void SetFindings(Aws::Vector< AccessPreviewFinding > &&value)
Definition: ListAccessPreviewFindingsResult.h:53