AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SearchImageSetsRequest.h
1
6#pragma once
7#include <aws/medical-imaging/MedicalImaging_EXPORTS.h>
8#include <aws/medical-imaging/MedicalImagingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/medical-imaging/model/SearchCriteria.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace MedicalImaging
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_MEDICALIMAGING_API SearchImageSetsRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "SearchImageSets"; }
36
37 AWS_MEDICALIMAGING_API Aws::String SerializePayload() const override;
38
39 AWS_MEDICALIMAGING_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetDatastoreId() const { return m_datastoreId; }
47 inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; }
48 template<typename DatastoreIdT = Aws::String>
49 void SetDatastoreId(DatastoreIdT&& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = std::forward<DatastoreIdT>(value); }
50 template<typename DatastoreIdT = Aws::String>
51 SearchImageSetsRequest& WithDatastoreId(DatastoreIdT&& value) { SetDatastoreId(std::forward<DatastoreIdT>(value)); return *this;}
53
55
59 inline const SearchCriteria& GetSearchCriteria() const { return m_searchCriteria; }
60 inline bool SearchCriteriaHasBeenSet() const { return m_searchCriteriaHasBeenSet; }
61 template<typename SearchCriteriaT = SearchCriteria>
62 void SetSearchCriteria(SearchCriteriaT&& value) { m_searchCriteriaHasBeenSet = true; m_searchCriteria = std::forward<SearchCriteriaT>(value); }
63 template<typename SearchCriteriaT = SearchCriteria>
64 SearchImageSetsRequest& WithSearchCriteria(SearchCriteriaT&& value) { SetSearchCriteria(std::forward<SearchCriteriaT>(value)); return *this;}
66
68
71 inline int GetMaxResults() const { return m_maxResults; }
72 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
73 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
74 inline SearchImageSetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
76
78
83 inline const Aws::String& GetNextToken() const { return m_nextToken; }
84 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
85 template<typename NextTokenT = Aws::String>
86 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
87 template<typename NextTokenT = Aws::String>
88 SearchImageSetsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
90 private:
91
92 Aws::String m_datastoreId;
93 bool m_datastoreIdHasBeenSet = false;
94
95 SearchCriteria m_searchCriteria;
96 bool m_searchCriteriaHasBeenSet = false;
97
98 int m_maxResults{0};
99 bool m_maxResultsHasBeenSet = false;
100
101 Aws::String m_nextToken;
102 bool m_nextTokenHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace MedicalImaging
107} // 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