AWS SDK for C++  1.9.132
AWS SDK for C++
GetBehaviorModelTrainingSummariesResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
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 IoT
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<BehaviorModelTrainingSummary>& GetSummaries() const{ return m_summaries; }
42 
47  inline void SetSummaries(const Aws::Vector<BehaviorModelTrainingSummary>& value) { m_summaries = value; }
48 
53  inline void SetSummaries(Aws::Vector<BehaviorModelTrainingSummary>&& value) { m_summaries = std::move(value); }
54 
59  inline GetBehaviorModelTrainingSummariesResult& WithSummaries(const Aws::Vector<BehaviorModelTrainingSummary>& value) { SetSummaries(value); return *this;}
60 
65  inline GetBehaviorModelTrainingSummariesResult& WithSummaries(Aws::Vector<BehaviorModelTrainingSummary>&& value) { SetSummaries(std::move(value)); return *this;}
66 
71  inline GetBehaviorModelTrainingSummariesResult& AddSummaries(const BehaviorModelTrainingSummary& value) { m_summaries.push_back(value); return *this; }
72 
77  inline GetBehaviorModelTrainingSummariesResult& AddSummaries(BehaviorModelTrainingSummary&& value) { m_summaries.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 GetBehaviorModelTrainingSummariesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
109 
114  inline GetBehaviorModelTrainingSummariesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 
120  inline GetBehaviorModelTrainingSummariesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
125 
126  Aws::String m_nextToken;
127  };
128 
129 } // namespace Model
130 } // namespace IoT
131 } // namespace Aws
Aws::IoT::Model::GetBehaviorModelTrainingSummariesResult::WithNextToken
GetBehaviorModelTrainingSummariesResult & WithNextToken(const char *value)
Definition: GetBehaviorModelTrainingSummariesResult.h:120
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::GetBehaviorModelTrainingSummariesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetBehaviorModelTrainingSummariesResult.h:90
Aws::IoT::Model::GetBehaviorModelTrainingSummariesResult::GetSummaries
const Aws::Vector< BehaviorModelTrainingSummary > & GetSummaries() const
Definition: GetBehaviorModelTrainingSummariesResult.h:41
Aws::IoT::Model::GetBehaviorModelTrainingSummariesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetBehaviorModelTrainingSummariesResult.h:84
Aws::IoT::Model::GetBehaviorModelTrainingSummariesResult::operator=
GetBehaviorModelTrainingSummariesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::GetBehaviorModelTrainingSummariesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetBehaviorModelTrainingSummariesResult.h:96
Aws::IoT::Model::GetBehaviorModelTrainingSummariesResult::WithSummaries
GetBehaviorModelTrainingSummariesResult & WithSummaries(Aws::Vector< BehaviorModelTrainingSummary > &&value)
Definition: GetBehaviorModelTrainingSummariesResult.h:65
Aws::IoT::Model::GetBehaviorModelTrainingSummariesResult::GetBehaviorModelTrainingSummariesResult
GetBehaviorModelTrainingSummariesResult()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::IoT::Model::GetBehaviorModelTrainingSummariesResult
Definition: GetBehaviorModelTrainingSummariesResult.h:30
Aws::IoT::Model::GetBehaviorModelTrainingSummariesResult::GetBehaviorModelTrainingSummariesResult
GetBehaviorModelTrainingSummariesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::GetBehaviorModelTrainingSummariesResult::AddSummaries
GetBehaviorModelTrainingSummariesResult & AddSummaries(BehaviorModelTrainingSummary &&value)
Definition: GetBehaviorModelTrainingSummariesResult.h:77
AWSString.h
Aws::IoT::Model::GetBehaviorModelTrainingSummariesResult::WithNextToken
GetBehaviorModelTrainingSummariesResult & WithNextToken(Aws::String &&value)
Definition: GetBehaviorModelTrainingSummariesResult.h:114
Aws::IoT::Model::GetBehaviorModelTrainingSummariesResult::AddSummaries
GetBehaviorModelTrainingSummariesResult & AddSummaries(const BehaviorModelTrainingSummary &value)
Definition: GetBehaviorModelTrainingSummariesResult.h:71
Aws::IoT::Model::GetBehaviorModelTrainingSummariesResult::SetSummaries
void SetSummaries(Aws::Vector< BehaviorModelTrainingSummary > &&value)
Definition: GetBehaviorModelTrainingSummariesResult.h:53
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
BehaviorModelTrainingSummary.h
Aws::IoT::Model::GetBehaviorModelTrainingSummariesResult::SetSummaries
void SetSummaries(const Aws::Vector< BehaviorModelTrainingSummary > &value)
Definition: GetBehaviorModelTrainingSummariesResult.h:47
Aws::IoT::Model::GetBehaviorModelTrainingSummariesResult::WithSummaries
GetBehaviorModelTrainingSummariesResult & WithSummaries(const Aws::Vector< BehaviorModelTrainingSummary > &value)
Definition: GetBehaviorModelTrainingSummariesResult.h:59
Aws::IoT::Model::GetBehaviorModelTrainingSummariesResult::SetNextToken
void SetNextToken(const char *value)
Definition: GetBehaviorModelTrainingSummariesResult.h:102
Aws::IoT::Model::GetBehaviorModelTrainingSummariesResult::WithNextToken
GetBehaviorModelTrainingSummariesResult & WithNextToken(const Aws::String &value)
Definition: GetBehaviorModelTrainingSummariesResult.h:108
IoT_EXPORTS.h
Aws::IoT::Model::BehaviorModelTrainingSummary
Definition: BehaviorModelTrainingSummary.h:34