AWS SDK for C++  1.9.108
AWS SDK for C++
GetSlotTypesResult.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 LexModelBuildingService
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<SlotTypeMetadata>& GetSlotTypes() const{ return m_slotTypes; }
42 
47  inline void SetSlotTypes(const Aws::Vector<SlotTypeMetadata>& value) { m_slotTypes = value; }
48 
53  inline void SetSlotTypes(Aws::Vector<SlotTypeMetadata>&& value) { m_slotTypes = std::move(value); }
54 
59  inline GetSlotTypesResult& WithSlotTypes(const Aws::Vector<SlotTypeMetadata>& value) { SetSlotTypes(value); return *this;}
60 
65  inline GetSlotTypesResult& WithSlotTypes(Aws::Vector<SlotTypeMetadata>&& value) { SetSlotTypes(std::move(value)); return *this;}
66 
71  inline GetSlotTypesResult& AddSlotTypes(const SlotTypeMetadata& value) { m_slotTypes.push_back(value); return *this; }
72 
77  inline GetSlotTypesResult& AddSlotTypes(SlotTypeMetadata&& value) { m_slotTypes.push_back(std::move(value)); return *this; }
78 
79 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
90  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
91 
96  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
97 
102  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
103 
108  inline GetSlotTypesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
109 
114  inline GetSlotTypesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 
120  inline GetSlotTypesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
124  Aws::Vector<SlotTypeMetadata> m_slotTypes;
125 
126  Aws::String m_nextToken;
127  };
128 
129 } // namespace Model
130 } // namespace LexModelBuildingService
131 } // namespace Aws
Aws::LexModelBuildingService::Model::GetSlotTypesResult
Definition: GetSlotTypesResult.h:30
Aws::LexModelBuildingService::Model::GetSlotTypesResult::AddSlotTypes
GetSlotTypesResult & AddSlotTypes(SlotTypeMetadata &&value)
Definition: GetSlotTypesResult.h:77
Aws::LexModelBuildingService::Model::GetSlotTypesResult::SetSlotTypes
void SetSlotTypes(Aws::Vector< SlotTypeMetadata > &&value)
Definition: GetSlotTypesResult.h:53
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::LexModelBuildingService::Model::GetSlotTypesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetSlotTypesResult.h:84
Aws::LexModelBuildingService::Model::GetSlotTypesResult::GetSlotTypes
const Aws::Vector< SlotTypeMetadata > & GetSlotTypes() const
Definition: GetSlotTypesResult.h:41
Aws::LexModelBuildingService::Model::GetSlotTypesResult::SetSlotTypes
void SetSlotTypes(const Aws::Vector< SlotTypeMetadata > &value)
Definition: GetSlotTypesResult.h:47
Aws::LexModelBuildingService::Model::GetSlotTypesResult::WithNextToken
GetSlotTypesResult & WithNextToken(const Aws::String &value)
Definition: GetSlotTypesResult.h:108
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::LexModelBuildingService::Model::GetSlotTypesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetSlotTypesResult.h:90
AWSVector.h
Aws::LexModelBuildingService::Model::GetSlotTypesResult::WithSlotTypes
GetSlotTypesResult & WithSlotTypes(Aws::Vector< SlotTypeMetadata > &&value)
Definition: GetSlotTypesResult.h:65
LexModelBuildingService_EXPORTS.h
Aws::LexModelBuildingService::Model::GetSlotTypesResult::WithNextToken
GetSlotTypesResult & WithNextToken(Aws::String &&value)
Definition: GetSlotTypesResult.h:114
Aws::LexModelBuildingService::Model::GetSlotTypesResult::SetNextToken
void SetNextToken(const char *value)
Definition: GetSlotTypesResult.h:102
Aws::LexModelBuildingService::Model::GetSlotTypesResult::operator=
GetSlotTypesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::LexModelBuildingService::Model::GetSlotTypesResult::WithSlotTypes
GetSlotTypesResult & WithSlotTypes(const Aws::Vector< SlotTypeMetadata > &value)
Definition: GetSlotTypesResult.h:59
AWSString.h
Aws::LexModelBuildingService::Model::GetSlotTypesResult::AddSlotTypes
GetSlotTypesResult & AddSlotTypes(const SlotTypeMetadata &value)
Definition: GetSlotTypesResult.h:71
AWS_LEXMODELBUILDINGSERVICE_API
#define AWS_LEXMODELBUILDINGSERVICE_API
Definition: LexModelBuildingService_EXPORTS.h:28
Aws::LexModelBuildingService::Model::SlotTypeMetadata
Definition: SlotTypeMetadata.h:33
Aws::LexModelBuildingService::Model::GetSlotTypesResult::GetSlotTypesResult
GetSlotTypesResult()
Aws::LexModelBuildingService::Model::GetSlotTypesResult::WithNextToken
GetSlotTypesResult & WithNextToken(const char *value)
Definition: GetSlotTypesResult.h:120
Aws::LexModelBuildingService::Model::GetSlotTypesResult::GetSlotTypesResult
GetSlotTypesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SlotTypeMetadata.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LexModelBuildingService::Model::GetSlotTypesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetSlotTypesResult.h:96