AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListDatastoresRequest.h
1
6#pragma once
7#include <aws/medical-imaging/MedicalImaging_EXPORTS.h>
8#include <aws/medical-imaging/MedicalImagingRequest.h>
9#include <aws/medical-imaging/model/DatastoreStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.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 ListDatastoresRequest();
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 "ListDatastores"; }
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 DatastoreStatus& GetDatastoreStatus() const{ return m_datastoreStatus; }
47 inline bool DatastoreStatusHasBeenSet() const { return m_datastoreStatusHasBeenSet; }
48 inline void SetDatastoreStatus(const DatastoreStatus& value) { m_datastoreStatusHasBeenSet = true; m_datastoreStatus = value; }
49 inline void SetDatastoreStatus(DatastoreStatus&& value) { m_datastoreStatusHasBeenSet = true; m_datastoreStatus = std::move(value); }
50 inline ListDatastoresRequest& WithDatastoreStatus(const DatastoreStatus& value) { SetDatastoreStatus(value); return *this;}
51 inline ListDatastoresRequest& WithDatastoreStatus(DatastoreStatus&& value) { SetDatastoreStatus(std::move(value)); return *this;}
53
55
59 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
60 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
61 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
62 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
63 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
64 inline ListDatastoresRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
65 inline ListDatastoresRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
66 inline ListDatastoresRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
68
70
73 inline int GetMaxResults() const{ return m_maxResults; }
74 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
75 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
76 inline ListDatastoresRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
78 private:
79
80 DatastoreStatus m_datastoreStatus;
81 bool m_datastoreStatusHasBeenSet = false;
82
83 Aws::String m_nextToken;
84 bool m_nextTokenHasBeenSet = false;
85
86 int m_maxResults;
87 bool m_maxResultsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace MedicalImaging
92} // namespace Aws
ListDatastoresRequest & WithDatastoreStatus(const DatastoreStatus &value)
void SetDatastoreStatus(const DatastoreStatus &value)
AWS_MEDICALIMAGING_API Aws::String SerializePayload() const override
ListDatastoresRequest & WithDatastoreStatus(DatastoreStatus &&value)
virtual const char * GetServiceRequestName() const override
ListDatastoresRequest & WithNextToken(const char *value)
ListDatastoresRequest & WithNextToken(const Aws::String &value)
AWS_MEDICALIMAGING_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListDatastoresRequest & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String