AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ListFlywheelsResult.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/FlywheelSummary.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Comprehend {
24namespace Model {
26 public:
27 AWS_COMPREHEND_API ListFlywheelsResult() = default;
30
32
36 inline const Aws::Vector<FlywheelSummary>& GetFlywheelSummaryList() const { return m_flywheelSummaryList; }
37 template <typename FlywheelSummaryListT = Aws::Vector<FlywheelSummary>>
38 void SetFlywheelSummaryList(FlywheelSummaryListT&& value) {
39 m_flywheelSummaryListHasBeenSet = true;
40 m_flywheelSummaryList = std::forward<FlywheelSummaryListT>(value);
41 }
42 template <typename FlywheelSummaryListT = Aws::Vector<FlywheelSummary>>
43 ListFlywheelsResult& WithFlywheelSummaryList(FlywheelSummaryListT&& value) {
44 SetFlywheelSummaryList(std::forward<FlywheelSummaryListT>(value));
45 return *this;
46 }
47 template <typename FlywheelSummaryListT = FlywheelSummary>
48 ListFlywheelsResult& AddFlywheelSummaryList(FlywheelSummaryListT&& value) {
49 m_flywheelSummaryListHasBeenSet = true;
50 m_flywheelSummaryList.emplace_back(std::forward<FlywheelSummaryListT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetNextToken() const { return m_nextToken; }
60 template <typename NextTokenT = Aws::String>
61 void SetNextToken(NextTokenT&& value) {
62 m_nextTokenHasBeenSet = true;
63 m_nextToken = std::forward<NextTokenT>(value);
64 }
65 template <typename NextTokenT = Aws::String>
66 ListFlywheelsResult& WithNextToken(NextTokenT&& value) {
67 SetNextToken(std::forward<NextTokenT>(value));
68 return *this;
69 }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template <typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) {
77 m_requestIdHasBeenSet = true;
78 m_requestId = std::forward<RequestIdT>(value);
79 }
80 template <typename RequestIdT = Aws::String>
81 ListFlywheelsResult& WithRequestId(RequestIdT&& value) {
82 SetRequestId(std::forward<RequestIdT>(value));
83 return *this;
84 }
86 private:
87 Aws::Vector<FlywheelSummary> m_flywheelSummaryList;
88
89 Aws::String m_nextToken;
90
91 Aws::String m_requestId;
92 bool m_flywheelSummaryListHasBeenSet = false;
93 bool m_nextTokenHasBeenSet = false;
94 bool m_requestIdHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace Comprehend
99} // namespace Aws
ListFlywheelsResult & WithFlywheelSummaryList(FlywheelSummaryListT &&value)
ListFlywheelsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< FlywheelSummary > & GetFlywheelSummaryList() const
ListFlywheelsResult & AddFlywheelSummaryList(FlywheelSummaryListT &&value)
AWS_COMPREHEND_API ListFlywheelsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_COMPREHEND_API ListFlywheelsResult()=default
AWS_COMPREHEND_API ListFlywheelsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFlywheelSummaryList(FlywheelSummaryListT &&value)
ListFlywheelsResult & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue