AWS SDK for C++  1.9.15
AWS SDK for C++
GetEventTypesResult.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 FraudDetector
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<EventType>& GetEventTypes() const{ return m_eventTypes; }
41 
45  inline void SetEventTypes(const Aws::Vector<EventType>& value) { m_eventTypes = value; }
46 
50  inline void SetEventTypes(Aws::Vector<EventType>&& value) { m_eventTypes = std::move(value); }
51 
55  inline GetEventTypesResult& WithEventTypes(const Aws::Vector<EventType>& value) { SetEventTypes(value); return *this;}
56 
60  inline GetEventTypesResult& WithEventTypes(Aws::Vector<EventType>&& value) { SetEventTypes(std::move(value)); return *this;}
61 
65  inline GetEventTypesResult& AddEventTypes(const EventType& value) { m_eventTypes.push_back(value); return *this; }
66 
70  inline GetEventTypesResult& AddEventTypes(EventType&& value) { m_eventTypes.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 
81  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
82 
86  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
87 
91  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
92 
96  inline GetEventTypesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
101  inline GetEventTypesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
106  inline GetEventTypesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 
108  private:
109 
110  Aws::Vector<EventType> m_eventTypes;
111 
112  Aws::String m_nextToken;
113  };
114 
115 } // namespace Model
116 } // namespace FraudDetector
117 } // namespace Aws
Aws::FraudDetector::Model::GetEventTypesResult::WithEventTypes
GetEventTypesResult & WithEventTypes(const Aws::Vector< EventType > &value)
Definition: GetEventTypesResult.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::FraudDetector::Model::GetEventTypesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetEventTypesResult.h:81
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::GetEventTypesResult::SetNextToken
void SetNextToken(const char *value)
Definition: GetEventTypesResult.h:91
Aws::FraudDetector::Model::GetEventTypesResult::SetEventTypes
void SetEventTypes(const Aws::Vector< EventType > &value)
Definition: GetEventTypesResult.h:45
Aws::FraudDetector::Model::GetEventTypesResult::GetEventTypes
const Aws::Vector< EventType > & GetEventTypes() const
Definition: GetEventTypesResult.h:40
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::FraudDetector::Model::GetEventTypesResult::SetEventTypes
void SetEventTypes(Aws::Vector< EventType > &&value)
Definition: GetEventTypesResult.h:50
Aws::FraudDetector::Model::GetEventTypesResult::operator=
GetEventTypesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::FraudDetector::Model::GetEventTypesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetEventTypesResult.h:86
AWSVector.h
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::GetEventTypesResult::WithNextToken
GetEventTypesResult & WithNextToken(const char *value)
Definition: GetEventTypesResult.h:106
Aws::FraudDetector::Model::GetEventTypesResult::WithNextToken
GetEventTypesResult & WithNextToken(Aws::String &&value)
Definition: GetEventTypesResult.h:101
AWSString.h
Aws::FraudDetector::Model::EventType
Definition: EventType.h:33
Aws::FraudDetector::Model::GetEventTypesResult::WithNextToken
GetEventTypesResult & WithNextToken(const Aws::String &value)
Definition: GetEventTypesResult.h:96
Aws::FraudDetector::Model::GetEventTypesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetEventTypesResult.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::GetEventTypesResult::WithEventTypes
GetEventTypesResult & WithEventTypes(Aws::Vector< EventType > &&value)
Definition: GetEventTypesResult.h:60
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::GetEventTypesResult::AddEventTypes
GetEventTypesResult & AddEventTypes(const EventType &value)
Definition: GetEventTypesResult.h:65
EventType.h
Aws::FraudDetector::Model::GetEventTypesResult::AddEventTypes
GetEventTypesResult & AddEventTypes(EventType &&value)
Definition: GetEventTypesResult.h:70
Aws::FraudDetector::Model::GetEventTypesResult
Definition: GetEventTypesResult.h:30
Aws::FraudDetector::Model::GetEventTypesResult::GetEventTypesResult
GetEventTypesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::FraudDetector::Model::GetEventTypesResult::GetEventTypesResult
GetEventTypesResult()