AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
ListDatabasesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm-sap/SsmSapRequest.h>
9#include <aws/ssm-sap/SsmSap_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SsmSap {
15namespace Model {
16
20 public:
21 AWS_SSMSAP_API ListDatabasesRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "ListDatabases"; }
28
29 AWS_SSMSAP_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
36 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
37 template <typename ApplicationIdT = Aws::String>
38 void SetApplicationId(ApplicationIdT&& value) {
39 m_applicationIdHasBeenSet = true;
40 m_applicationId = std::forward<ApplicationIdT>(value);
41 }
42 template <typename ApplicationIdT = Aws::String>
43 ListDatabasesRequest& WithApplicationId(ApplicationIdT&& value) {
44 SetApplicationId(std::forward<ApplicationIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetComponentId() const { return m_componentId; }
54 inline bool ComponentIdHasBeenSet() const { return m_componentIdHasBeenSet; }
55 template <typename ComponentIdT = Aws::String>
56 void SetComponentId(ComponentIdT&& value) {
57 m_componentIdHasBeenSet = true;
58 m_componentId = std::forward<ComponentIdT>(value);
59 }
60 template <typename ComponentIdT = Aws::String>
61 ListDatabasesRequest& WithComponentId(ComponentIdT&& value) {
62 SetComponentId(std::forward<ComponentIdT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetNextToken() const { return m_nextToken; }
72 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 template <typename NextTokenT = Aws::String>
74 void SetNextToken(NextTokenT&& value) {
75 m_nextTokenHasBeenSet = true;
76 m_nextToken = std::forward<NextTokenT>(value);
77 }
78 template <typename NextTokenT = Aws::String>
79 ListDatabasesRequest& WithNextToken(NextTokenT&& value) {
80 SetNextToken(std::forward<NextTokenT>(value));
81 return *this;
82 }
84
86
92 inline int GetMaxResults() const { return m_maxResults; }
93 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
94 inline void SetMaxResults(int value) {
95 m_maxResultsHasBeenSet = true;
96 m_maxResults = value;
97 }
99 SetMaxResults(value);
100 return *this;
101 }
103 private:
104 Aws::String m_applicationId;
105
106 Aws::String m_componentId;
107
108 Aws::String m_nextToken;
109
110 int m_maxResults{0};
111 bool m_applicationIdHasBeenSet = false;
112 bool m_componentIdHasBeenSet = false;
113 bool m_nextTokenHasBeenSet = false;
114 bool m_maxResultsHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace SsmSap
119} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetApplicationId(ApplicationIdT &&value)
ListDatabasesRequest & WithMaxResults(int value)
ListDatabasesRequest & WithComponentId(ComponentIdT &&value)
ListDatabasesRequest & WithNextToken(NextTokenT &&value)
AWS_SSMSAP_API Aws::String SerializePayload() const override
AWS_SSMSAP_API ListDatabasesRequest()=default
ListDatabasesRequest & WithApplicationId(ApplicationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String