AWS SDK for C++  1.9.157
AWS SDK for C++
ListAnalyzedResourcesResult.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<AnalyzedResourceSummary>& GetAnalyzedResources() const{ return m_analyzedResources; }
46 
50  inline void SetAnalyzedResources(const Aws::Vector<AnalyzedResourceSummary>& value) { m_analyzedResources = value; }
51 
55  inline void SetAnalyzedResources(Aws::Vector<AnalyzedResourceSummary>&& value) { m_analyzedResources = std::move(value); }
56 
60  inline ListAnalyzedResourcesResult& WithAnalyzedResources(const Aws::Vector<AnalyzedResourceSummary>& value) { SetAnalyzedResources(value); return *this;}
61 
65  inline ListAnalyzedResourcesResult& WithAnalyzedResources(Aws::Vector<AnalyzedResourceSummary>&& value) { SetAnalyzedResources(std::move(value)); return *this;}
66 
70  inline ListAnalyzedResourcesResult& AddAnalyzedResources(const AnalyzedResourceSummary& value) { m_analyzedResources.push_back(value); return *this; }
71 
75  inline ListAnalyzedResourcesResult& AddAnalyzedResources(AnalyzedResourceSummary&& value) { m_analyzedResources.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 ListAnalyzedResourcesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
106  inline ListAnalyzedResourcesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
107 
111  inline ListAnalyzedResourcesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
112 
113  private:
114 
115  Aws::Vector<AnalyzedResourceSummary> m_analyzedResources;
116 
117  Aws::String m_nextToken;
118  };
119 
120 } // namespace Model
121 } // namespace AccessAnalyzer
122 } // namespace Aws
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesResult::operator=
ListAnalyzedResourcesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesResult::WithAnalyzedResources
ListAnalyzedResourcesResult & WithAnalyzedResources(const Aws::Vector< AnalyzedResourceSummary > &value)
Definition: ListAnalyzedResourcesResult.h:60
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesResult::WithAnalyzedResources
ListAnalyzedResourcesResult & WithAnalyzedResources(Aws::Vector< AnalyzedResourceSummary > &&value)
Definition: ListAnalyzedResourcesResult.h:65
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAnalyzedResourcesResult.h:86
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesResult::SetAnalyzedResources
void SetAnalyzedResources(Aws::Vector< AnalyzedResourceSummary > &&value)
Definition: ListAnalyzedResourcesResult.h:55
AWSVector.h
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesResult
Definition: ListAnalyzedResourcesResult.h:35
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAnalyzedResourcesResult.h:81
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesResult::WithNextToken
ListAnalyzedResourcesResult & WithNextToken(Aws::String &&value)
Definition: ListAnalyzedResourcesResult.h:106
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesResult::WithNextToken
ListAnalyzedResourcesResult & WithNextToken(const char *value)
Definition: ListAnalyzedResourcesResult.h:111
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAnalyzedResourcesResult.h:91
AWSString.h
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary
Definition: AnalyzedResourceSummary.h:33
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesResult::AddAnalyzedResources
ListAnalyzedResourcesResult & AddAnalyzedResources(const AnalyzedResourceSummary &value)
Definition: ListAnalyzedResourcesResult.h:70
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesResult::ListAnalyzedResourcesResult
ListAnalyzedResourcesResult()
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesResult::ListAnalyzedResourcesResult
ListAnalyzedResourcesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListAnalyzedResourcesResult.h:96
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesResult::AddAnalyzedResources
ListAnalyzedResourcesResult & AddAnalyzedResources(AnalyzedResourceSummary &&value)
Definition: ListAnalyzedResourcesResult.h:75
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesResult::GetAnalyzedResources
const Aws::Vector< AnalyzedResourceSummary > & GetAnalyzedResources() const
Definition: ListAnalyzedResourcesResult.h:45
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesResult::WithNextToken
ListAnalyzedResourcesResult & WithNextToken(const Aws::String &value)
Definition: ListAnalyzedResourcesResult.h:101
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AccessAnalyzer::Model::ListAnalyzedResourcesResult::SetAnalyzedResources
void SetAnalyzedResources(const Aws::Vector< AnalyzedResourceSummary > &value)
Definition: ListAnalyzedResourcesResult.h:50
AnalyzedResourceSummary.h