AWS SDK for C++  1.9.157
AWS SDK for C++
ListAnalyzersResult.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 
45  inline const Aws::Vector<AnalyzerSummary>& GetAnalyzers() const{ return m_analyzers; }
46 
50  inline void SetAnalyzers(const Aws::Vector<AnalyzerSummary>& value) { m_analyzers = value; }
51 
55  inline void SetAnalyzers(Aws::Vector<AnalyzerSummary>&& value) { m_analyzers = std::move(value); }
56 
60  inline ListAnalyzersResult& WithAnalyzers(const Aws::Vector<AnalyzerSummary>& value) { SetAnalyzers(value); return *this;}
61 
65  inline ListAnalyzersResult& WithAnalyzers(Aws::Vector<AnalyzerSummary>&& value) { SetAnalyzers(std::move(value)); return *this;}
66 
70  inline ListAnalyzersResult& AddAnalyzers(const AnalyzerSummary& value) { m_analyzers.push_back(value); return *this; }
71 
75  inline ListAnalyzersResult& AddAnalyzers(AnalyzerSummary&& value) { m_analyzers.push_back(std::move(value)); return *this; }
76 
77 
81  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
82 
86  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
87 
91  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
92 
96  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
97 
101  inline ListAnalyzersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
106  inline ListAnalyzersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
107 
111  inline ListAnalyzersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
112 
113  private:
114 
115  Aws::Vector<AnalyzerSummary> m_analyzers;
116 
117  Aws::String m_nextToken;
118  };
119 
120 } // namespace Model
121 } // namespace AccessAnalyzer
122 } // namespace Aws
Aws::AccessAnalyzer::Model::ListAnalyzersResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAnalyzersResult.h:91
Aws::AccessAnalyzer::Model::ListAnalyzersResult::WithAnalyzers
ListAnalyzersResult & WithAnalyzers(const Aws::Vector< AnalyzerSummary > &value)
Definition: ListAnalyzersResult.h:60
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AnalyzerSummary.h
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::ListAnalyzersResult::GetAnalyzers
const Aws::Vector< AnalyzerSummary > & GetAnalyzers() const
Definition: ListAnalyzersResult.h:45
Aws::AccessAnalyzer::Model::ListAnalyzersResult::WithNextToken
ListAnalyzersResult & WithNextToken(Aws::String &&value)
Definition: ListAnalyzersResult.h:106
Aws::AccessAnalyzer::Model::ListAnalyzersResult::operator=
ListAnalyzersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AccessAnalyzer::Model::ListAnalyzersResult
Definition: ListAnalyzersResult.h:35
Aws::AccessAnalyzer::Model::ListAnalyzersResult::ListAnalyzersResult
ListAnalyzersResult()
Aws::AccessAnalyzer::Model::ListAnalyzersResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAnalyzersResult.h:86
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AccessAnalyzer::Model::ListAnalyzersResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListAnalyzersResult.h:96
AWSVector.h
Aws::AccessAnalyzer::Model::ListAnalyzersResult::WithAnalyzers
ListAnalyzersResult & WithAnalyzers(Aws::Vector< AnalyzerSummary > &&value)
Definition: ListAnalyzersResult.h:65
Aws::AccessAnalyzer::Model::ListAnalyzersResult::WithNextToken
ListAnalyzersResult & WithNextToken(const char *value)
Definition: ListAnalyzersResult.h:111
Aws::AccessAnalyzer::Model::ListAnalyzersResult::ListAnalyzersResult
ListAnalyzersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::AccessAnalyzer::Model::ListAnalyzersResult::AddAnalyzers
ListAnalyzersResult & AddAnalyzers(const AnalyzerSummary &value)
Definition: ListAnalyzersResult.h:70
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AccessAnalyzer::Model::ListAnalyzersResult::SetAnalyzers
void SetAnalyzers(Aws::Vector< AnalyzerSummary > &&value)
Definition: ListAnalyzersResult.h:55
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::ListAnalyzersResult::AddAnalyzers
ListAnalyzersResult & AddAnalyzers(AnalyzerSummary &&value)
Definition: ListAnalyzersResult.h:75
Aws::AccessAnalyzer::Model::ListAnalyzersResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAnalyzersResult.h:81
Aws::AccessAnalyzer::Model::AnalyzerSummary
Definition: AnalyzerSummary.h:37
Aws::AccessAnalyzer::Model::ListAnalyzersResult::SetAnalyzers
void SetAnalyzers(const Aws::Vector< AnalyzerSummary > &value)
Definition: ListAnalyzersResult.h:50
Aws::AccessAnalyzer::Model::ListAnalyzersResult::WithNextToken
ListAnalyzersResult & WithNextToken(const Aws::String &value)
Definition: ListAnalyzersResult.h:101