AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListModelVersionsResult.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lookoutequipment/model/ModelVersionSummary.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace LookoutEquipment
26{
27namespace Model
28{
30 {
31 public:
32 AWS_LOOKOUTEQUIPMENT_API ListModelVersionsResult();
35
36
38
45 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
46 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
47 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
48 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
49 inline ListModelVersionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
50 inline ListModelVersionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
51 inline ListModelVersionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
53
55
62 inline const Aws::Vector<ModelVersionSummary>& GetModelVersionSummaries() const{ return m_modelVersionSummaries; }
63 inline void SetModelVersionSummaries(const Aws::Vector<ModelVersionSummary>& value) { m_modelVersionSummaries = value; }
64 inline void SetModelVersionSummaries(Aws::Vector<ModelVersionSummary>&& value) { m_modelVersionSummaries = std::move(value); }
67 inline ListModelVersionsResult& AddModelVersionSummaries(const ModelVersionSummary& value) { m_modelVersionSummaries.push_back(value); return *this; }
68 inline ListModelVersionsResult& AddModelVersionSummaries(ModelVersionSummary&& value) { m_modelVersionSummaries.push_back(std::move(value)); return *this; }
70
72
73 inline const Aws::String& GetRequestId() const{ return m_requestId; }
74 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
75 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
76 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
77 inline ListModelVersionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
78 inline ListModelVersionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
79 inline ListModelVersionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
81 private:
82
83 Aws::String m_nextToken;
84
85 Aws::Vector<ModelVersionSummary> m_modelVersionSummaries;
86
87 Aws::String m_requestId;
88 };
89
90} // namespace Model
91} // namespace LookoutEquipment
92} // namespace Aws
AWS_LOOKOUTEQUIPMENT_API ListModelVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListModelVersionsResult & WithModelVersionSummaries(Aws::Vector< ModelVersionSummary > &&value)
void SetModelVersionSummaries(Aws::Vector< ModelVersionSummary > &&value)
AWS_LOOKOUTEQUIPMENT_API ListModelVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListModelVersionsResult & AddModelVersionSummaries(const ModelVersionSummary &value)
ListModelVersionsResult & AddModelVersionSummaries(ModelVersionSummary &&value)
ListModelVersionsResult & WithRequestId(const Aws::String &value)
ListModelVersionsResult & WithNextToken(Aws::String &&value)
ListModelVersionsResult & WithNextToken(const Aws::String &value)
ListModelVersionsResult & WithNextToken(const char *value)
ListModelVersionsResult & WithRequestId(Aws::String &&value)
ListModelVersionsResult & WithModelVersionSummaries(const Aws::Vector< ModelVersionSummary > &value)
void SetModelVersionSummaries(const Aws::Vector< ModelVersionSummary > &value)
ListModelVersionsResult & WithRequestId(const char *value)
const Aws::Vector< ModelVersionSummary > & GetModelVersionSummaries() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue