AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
SearchRasterDataCollectionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
10#include <aws/sagemaker-geospatial/model/ItemSource.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 SageMakerGeospatial {
24namespace Model {
26 public:
27 AWS_SAGEMAKERGEOSPATIAL_API SearchRasterDataCollectionResult() = default;
29 AWS_SAGEMAKERGEOSPATIAL_API SearchRasterDataCollectionResult& operator=(
31
33
36 inline int GetApproximateResultCount() const { return m_approximateResultCount; }
37 inline void SetApproximateResultCount(int value) {
38 m_approximateResultCountHasBeenSet = true;
39 m_approximateResultCount = value;
40 }
43 return *this;
44 }
46
48
51 inline const Aws::Vector<ItemSource>& GetItems() const { return m_items; }
52 template <typename ItemsT = Aws::Vector<ItemSource>>
53 void SetItems(ItemsT&& value) {
54 m_itemsHasBeenSet = true;
55 m_items = std::forward<ItemsT>(value);
56 }
57 template <typename ItemsT = Aws::Vector<ItemSource>>
59 SetItems(std::forward<ItemsT>(value));
60 return *this;
61 }
62 template <typename ItemsT = ItemSource>
64 m_itemsHasBeenSet = true;
65 m_items.emplace_back(std::forward<ItemsT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetNextToken() const { return m_nextToken; }
76 template <typename NextTokenT = Aws::String>
77 void SetNextToken(NextTokenT&& value) {
78 m_nextTokenHasBeenSet = true;
79 m_nextToken = std::forward<NextTokenT>(value);
80 }
81 template <typename NextTokenT = Aws::String>
83 SetNextToken(std::forward<NextTokenT>(value));
84 return *this;
85 }
87
89
90 inline const Aws::String& GetRequestId() const { return m_requestId; }
91 template <typename RequestIdT = Aws::String>
92 void SetRequestId(RequestIdT&& value) {
93 m_requestIdHasBeenSet = true;
94 m_requestId = std::forward<RequestIdT>(value);
95 }
96 template <typename RequestIdT = Aws::String>
98 SetRequestId(std::forward<RequestIdT>(value));
99 return *this;
100 }
102 private:
103 int m_approximateResultCount{0};
104
106
107 Aws::String m_nextToken;
108
109 Aws::String m_requestId;
110 bool m_approximateResultCountHasBeenSet = false;
111 bool m_itemsHasBeenSet = false;
112 bool m_nextTokenHasBeenSet = false;
113 bool m_requestIdHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace SageMakerGeospatial
118} // namespace Aws
AWS_SAGEMAKERGEOSPATIAL_API SearchRasterDataCollectionResult()=default
AWS_SAGEMAKERGEOSPATIAL_API SearchRasterDataCollectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchRasterDataCollectionResult & WithRequestId(RequestIdT &&value)
SearchRasterDataCollectionResult & WithNextToken(NextTokenT &&value)
AWS_SAGEMAKERGEOSPATIAL_API SearchRasterDataCollectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue