AWS SDK for C++  1.9.15
AWS SDK for C++
GetEntityTypesResult.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<EntityType>& GetEntityTypes() const{ return m_entityTypes; }
41 
45  inline void SetEntityTypes(const Aws::Vector<EntityType>& value) { m_entityTypes = value; }
46 
50  inline void SetEntityTypes(Aws::Vector<EntityType>&& value) { m_entityTypes = std::move(value); }
51 
55  inline GetEntityTypesResult& WithEntityTypes(const Aws::Vector<EntityType>& value) { SetEntityTypes(value); return *this;}
56 
60  inline GetEntityTypesResult& WithEntityTypes(Aws::Vector<EntityType>&& value) { SetEntityTypes(std::move(value)); return *this;}
61 
65  inline GetEntityTypesResult& AddEntityTypes(const EntityType& value) { m_entityTypes.push_back(value); return *this; }
66 
70  inline GetEntityTypesResult& AddEntityTypes(EntityType&& value) { m_entityTypes.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 GetEntityTypesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
101  inline GetEntityTypesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
106  inline GetEntityTypesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 
108  private:
109 
110  Aws::Vector<EntityType> m_entityTypes;
111 
112  Aws::String m_nextToken;
113  };
114 
115 } // namespace Model
116 } // namespace FraudDetector
117 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::FraudDetector::Model::GetEntityTypesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetEntityTypesResult.h:76
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::GetEntityTypesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetEntityTypesResult.h:81
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::FraudDetector::Model::GetEntityTypesResult::SetEntityTypes
void SetEntityTypes(Aws::Vector< EntityType > &&value)
Definition: GetEntityTypesResult.h:50
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::GetEntityTypesResult::GetEntityTypesResult
GetEntityTypesResult()
Aws::FraudDetector::Model::EntityType
Definition: EntityType.h:32
Aws::FraudDetector::Model::GetEntityTypesResult::WithEntityTypes
GetEntityTypesResult & WithEntityTypes(Aws::Vector< EntityType > &&value)
Definition: GetEntityTypesResult.h:60
Aws::FraudDetector::Model::GetEntityTypesResult::SetEntityTypes
void SetEntityTypes(const Aws::Vector< EntityType > &value)
Definition: GetEntityTypesResult.h:45
AWSString.h
Aws::FraudDetector::Model::GetEntityTypesResult::WithEntityTypes
GetEntityTypesResult & WithEntityTypes(const Aws::Vector< EntityType > &value)
Definition: GetEntityTypesResult.h:55
EntityType.h
Aws::FraudDetector::Model::GetEntityTypesResult::operator=
GetEntityTypesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::FraudDetector::Model::GetEntityTypesResult::WithNextToken
GetEntityTypesResult & WithNextToken(Aws::String &&value)
Definition: GetEntityTypesResult.h:101
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::GetEntityTypesResult::AddEntityTypes
GetEntityTypesResult & AddEntityTypes(EntityType &&value)
Definition: GetEntityTypesResult.h:70
Aws::FraudDetector::Model::GetEntityTypesResult::AddEntityTypes
GetEntityTypesResult & AddEntityTypes(const EntityType &value)
Definition: GetEntityTypesResult.h:65
Aws::FraudDetector::Model::GetEntityTypesResult::WithNextToken
GetEntityTypesResult & WithNextToken(const char *value)
Definition: GetEntityTypesResult.h:106
Aws::FraudDetector::Model::GetEntityTypesResult::WithNextToken
GetEntityTypesResult & WithNextToken(const Aws::String &value)
Definition: GetEntityTypesResult.h:96
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::GetEntityTypesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetEntityTypesResult.h:86
Aws::FraudDetector::Model::GetEntityTypesResult::SetNextToken
void SetNextToken(const char *value)
Definition: GetEntityTypesResult.h:91
Aws::FraudDetector::Model::GetEntityTypesResult
Definition: GetEntityTypesResult.h:30
Aws::FraudDetector::Model::GetEntityTypesResult::GetEntityTypes
const Aws::Vector< EntityType > & GetEntityTypes() const
Definition: GetEntityTypesResult.h:40
Aws::FraudDetector::Model::GetEntityTypesResult::GetEntityTypesResult
GetEntityTypesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)