AWS SDK for C++  1.9.16
AWS SDK for C++
ListDetectorsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace GuardDuty
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<Aws::String>& GetDetectorIds() const{ return m_detectorIds; }
40 
44  inline void SetDetectorIds(const Aws::Vector<Aws::String>& value) { m_detectorIds = value; }
45 
49  inline void SetDetectorIds(Aws::Vector<Aws::String>&& value) { m_detectorIds = std::move(value); }
50 
54  inline ListDetectorsResult& WithDetectorIds(const Aws::Vector<Aws::String>& value) { SetDetectorIds(value); return *this;}
55 
59  inline ListDetectorsResult& WithDetectorIds(Aws::Vector<Aws::String>&& value) { SetDetectorIds(std::move(value)); return *this;}
60 
64  inline ListDetectorsResult& AddDetectorIds(const Aws::String& value) { m_detectorIds.push_back(value); return *this; }
65 
69  inline ListDetectorsResult& AddDetectorIds(Aws::String&& value) { m_detectorIds.push_back(std::move(value)); return *this; }
70 
74  inline ListDetectorsResult& AddDetectorIds(const char* value) { m_detectorIds.push_back(value); return *this; }
75 
76 
81  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
82 
87  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
88 
93  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
94 
99  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
100 
105  inline ListDetectorsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
106 
111  inline ListDetectorsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
112 
117  inline ListDetectorsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
118 
119  private:
120 
121  Aws::Vector<Aws::String> m_detectorIds;
122 
123  Aws::String m_nextToken;
124  };
125 
126 } // namespace Model
127 } // namespace GuardDuty
128 } // namespace Aws
Aws::GuardDuty::Model::ListDetectorsResult
Definition: ListDetectorsResult.h:29
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GuardDuty::Model::ListDetectorsResult::AddDetectorIds
ListDetectorsResult & AddDetectorIds(const Aws::String &value)
Definition: ListDetectorsResult.h:64
Aws::GuardDuty::Model::ListDetectorsResult::WithNextToken
ListDetectorsResult & WithNextToken(Aws::String &&value)
Definition: ListDetectorsResult.h:111
Aws::GuardDuty::Model::ListDetectorsResult::AddDetectorIds
ListDetectorsResult & AddDetectorIds(const char *value)
Definition: ListDetectorsResult.h:74
Aws::GuardDuty::Model::ListDetectorsResult::SetDetectorIds
void SetDetectorIds(Aws::Vector< Aws::String > &&value)
Definition: ListDetectorsResult.h:49
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GuardDuty::Model::ListDetectorsResult::WithDetectorIds
ListDetectorsResult & WithDetectorIds(Aws::Vector< Aws::String > &&value)
Definition: ListDetectorsResult.h:59
AWSVector.h
Aws::GuardDuty::Model::ListDetectorsResult::GetDetectorIds
const Aws::Vector< Aws::String > & GetDetectorIds() const
Definition: ListDetectorsResult.h:39
Aws::GuardDuty::Model::ListDetectorsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListDetectorsResult.h:99
Aws::GuardDuty::Model::ListDetectorsResult::WithDetectorIds
ListDetectorsResult & WithDetectorIds(const Aws::Vector< Aws::String > &value)
Definition: ListDetectorsResult.h:54
GuardDuty_EXPORTS.h
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::ListDetectorsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDetectorsResult.h:87
Aws::GuardDuty::Model::ListDetectorsResult::ListDetectorsResult
ListDetectorsResult()
AWSString.h
Aws::GuardDuty::Model::ListDetectorsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDetectorsResult.h:81
Aws::GuardDuty::Model::ListDetectorsResult::SetDetectorIds
void SetDetectorIds(const Aws::Vector< Aws::String > &value)
Definition: ListDetectorsResult.h:44
Aws::GuardDuty::Model::ListDetectorsResult::WithNextToken
ListDetectorsResult & WithNextToken(const char *value)
Definition: ListDetectorsResult.h:117
Aws::GuardDuty::Model::ListDetectorsResult::ListDetectorsResult
ListDetectorsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::ListDetectorsResult::operator=
ListDetectorsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GuardDuty::Model::ListDetectorsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDetectorsResult.h:93
Aws::GuardDuty::Model::ListDetectorsResult::WithNextToken
ListDetectorsResult & WithNextToken(const Aws::String &value)
Definition: ListDetectorsResult.h:105
Aws::GuardDuty::Model::ListDetectorsResult::AddDetectorIds
ListDetectorsResult & AddDetectorIds(Aws::String &&value)
Definition: ListDetectorsResult.h:69