AWS SDK for C++  1.9.155
AWS SDK for C++
ValidatePolicyResult.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<ValidatePolicyFinding>& GetFindings() const{ return m_findings; }
42 
47  inline void SetFindings(const Aws::Vector<ValidatePolicyFinding>& value) { m_findings = value; }
48 
53  inline void SetFindings(Aws::Vector<ValidatePolicyFinding>&& value) { m_findings = std::move(value); }
54 
59  inline ValidatePolicyResult& WithFindings(const Aws::Vector<ValidatePolicyFinding>& value) { SetFindings(value); return *this;}
60 
65  inline ValidatePolicyResult& WithFindings(Aws::Vector<ValidatePolicyFinding>&& value) { SetFindings(std::move(value)); return *this;}
66 
71  inline ValidatePolicyResult& AddFindings(const ValidatePolicyFinding& value) { m_findings.push_back(value); return *this; }
72 
77  inline ValidatePolicyResult& AddFindings(ValidatePolicyFinding&& 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 ValidatePolicyResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
104 
108  inline ValidatePolicyResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
109 
113  inline ValidatePolicyResult& 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::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::ValidatePolicyResult::SetNextToken
void SetNextToken(const char *value)
Definition: ValidatePolicyResult.h:98
Aws::AccessAnalyzer::Model::ValidatePolicyResult::WithNextToken
ValidatePolicyResult & WithNextToken(Aws::String &&value)
Definition: ValidatePolicyResult.h:108
Aws::AccessAnalyzer::Model::ValidatePolicyResult::AddFindings
ValidatePolicyResult & AddFindings(const ValidatePolicyFinding &value)
Definition: ValidatePolicyResult.h:71
Aws::AccessAnalyzer::Model::ValidatePolicyResult::GetFindings
const Aws::Vector< ValidatePolicyFinding > & GetFindings() const
Definition: ValidatePolicyResult.h:41
Aws::AccessAnalyzer::Model::ValidatePolicyResult::operator=
ValidatePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AccessAnalyzer::Model::ValidatePolicyResult::ValidatePolicyResult
ValidatePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AccessAnalyzer::Model::ValidatePolicyResult
Definition: ValidatePolicyResult.h:30
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AccessAnalyzer::Model::ValidatePolicyResult::SetFindings
void SetFindings(Aws::Vector< ValidatePolicyFinding > &&value)
Definition: ValidatePolicyResult.h:53
AWSVector.h
Aws::AccessAnalyzer::Model::ValidatePolicyFinding
Definition: ValidatePolicyFinding.h:36
Aws::AccessAnalyzer::Model::ValidatePolicyResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ValidatePolicyResult.h:83
AWSString.h
Aws::AccessAnalyzer::Model::ValidatePolicyResult::ValidatePolicyResult
ValidatePolicyResult()
ValidatePolicyFinding.h
Aws::AccessAnalyzer::Model::ValidatePolicyResult::AddFindings
ValidatePolicyResult & AddFindings(ValidatePolicyFinding &&value)
Definition: ValidatePolicyResult.h:77
Aws::AccessAnalyzer::Model::ValidatePolicyResult::WithFindings
ValidatePolicyResult & WithFindings(Aws::Vector< ValidatePolicyFinding > &&value)
Definition: ValidatePolicyResult.h:65
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::AccessAnalyzer::Model::ValidatePolicyResult::WithNextToken
ValidatePolicyResult & WithNextToken(const Aws::String &value)
Definition: ValidatePolicyResult.h:103
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::ValidatePolicyResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ValidatePolicyResult.h:88
Aws::AccessAnalyzer::Model::ValidatePolicyResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ValidatePolicyResult.h:93
Aws::AccessAnalyzer::Model::ValidatePolicyResult::WithFindings
ValidatePolicyResult & WithFindings(const Aws::Vector< ValidatePolicyFinding > &value)
Definition: ValidatePolicyResult.h:59
Aws::AccessAnalyzer::Model::ValidatePolicyResult::SetFindings
void SetFindings(const Aws::Vector< ValidatePolicyFinding > &value)
Definition: ValidatePolicyResult.h:47
Aws::AccessAnalyzer::Model::ValidatePolicyResult::WithNextToken
ValidatePolicyResult & WithNextToken(const char *value)
Definition: ValidatePolicyResult.h:113