AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
SearchImageSetsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medical-imaging/MedicalImagingRequest.h>
9#include <aws/medical-imaging/MedicalImaging_EXPORTS.h>
10#include <aws/medical-imaging/model/SearchCriteria.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace MedicalImaging {
19namespace Model {
20
24 public:
25 AWS_MEDICALIMAGING_API SearchImageSetsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "SearchImageSets"; }
32
33 AWS_MEDICALIMAGING_API Aws::String SerializePayload() const override;
34
35 AWS_MEDICALIMAGING_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetDatastoreId() const { return m_datastoreId; }
42 inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; }
43 template <typename DatastoreIdT = Aws::String>
44 void SetDatastoreId(DatastoreIdT&& value) {
45 m_datastoreIdHasBeenSet = true;
46 m_datastoreId = std::forward<DatastoreIdT>(value);
47 }
48 template <typename DatastoreIdT = Aws::String>
49 SearchImageSetsRequest& WithDatastoreId(DatastoreIdT&& value) {
50 SetDatastoreId(std::forward<DatastoreIdT>(value));
51 return *this;
52 }
54
56
60 inline const SearchCriteria& GetSearchCriteria() const { return m_searchCriteria; }
61 inline bool SearchCriteriaHasBeenSet() const { return m_searchCriteriaHasBeenSet; }
62 template <typename SearchCriteriaT = SearchCriteria>
63 void SetSearchCriteria(SearchCriteriaT&& value) {
64 m_searchCriteriaHasBeenSet = true;
65 m_searchCriteria = std::forward<SearchCriteriaT>(value);
66 }
67 template <typename SearchCriteriaT = SearchCriteria>
68 SearchImageSetsRequest& WithSearchCriteria(SearchCriteriaT&& value) {
69 SetSearchCriteria(std::forward<SearchCriteriaT>(value));
70 return *this;
71 }
73
75
78 inline int GetMaxResults() const { return m_maxResults; }
79 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
80 inline void SetMaxResults(int value) {
81 m_maxResultsHasBeenSet = true;
82 m_maxResults = value;
83 }
85 SetMaxResults(value);
86 return *this;
87 }
89
91
96 inline const Aws::String& GetNextToken() const { return m_nextToken; }
97 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
98 template <typename NextTokenT = Aws::String>
99 void SetNextToken(NextTokenT&& value) {
100 m_nextTokenHasBeenSet = true;
101 m_nextToken = std::forward<NextTokenT>(value);
102 }
103 template <typename NextTokenT = Aws::String>
105 SetNextToken(std::forward<NextTokenT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_datastoreId;
111
112 SearchCriteria m_searchCriteria;
113
114 int m_maxResults{0};
115
116 Aws::String m_nextToken;
117 bool m_datastoreIdHasBeenSet = false;
118 bool m_searchCriteriaHasBeenSet = false;
119 bool m_maxResultsHasBeenSet = false;
120 bool m_nextTokenHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace MedicalImaging
125} // namespace Aws
AWS_MEDICALIMAGING_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
SearchImageSetsRequest & WithDatastoreId(DatastoreIdT &&value)
SearchImageSetsRequest & WithSearchCriteria(SearchCriteriaT &&value)
AWS_MEDICALIMAGING_API SearchImageSetsRequest()=default
SearchImageSetsRequest & WithNextToken(NextTokenT &&value)
AWS_MEDICALIMAGING_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String