AWS SDK for C++

AWS SDK for C++ Version 1.11.819

Loading...
Searching...
No Matches
ListSystemsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehubv2/Resiliencehubv2Request.h>
9#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace resiliencehubv2 {
18namespace Model {
19
23 public:
24 AWS_RESILIENCEHUBV2_API ListSystemsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ListSystems"; }
31
32 AWS_RESILIENCEHUBV2_API Aws::String SerializePayload() const override;
33
34 AWS_RESILIENCEHUBV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetOuId() const { return m_ouId; }
41 inline bool OuIdHasBeenSet() const { return m_ouIdHasBeenSet; }
42 template <typename OuIdT = Aws::String>
43 void SetOuId(OuIdT&& value) {
44 m_ouIdHasBeenSet = true;
45 m_ouId = std::forward<OuIdT>(value);
46 }
47 template <typename OuIdT = Aws::String>
48 ListSystemsRequest& WithOuId(OuIdT&& value) {
49 SetOuId(std::forward<OuIdT>(value));
50 return *this;
51 }
53
55
56 inline int GetMaxResults() const { return m_maxResults; }
57 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
58 inline void SetMaxResults(int value) {
59 m_maxResultsHasBeenSet = true;
60 m_maxResults = value;
61 }
63 SetMaxResults(value);
64 return *this;
65 }
67
69
70 inline const Aws::String& GetNextToken() const { return m_nextToken; }
71 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
72 template <typename NextTokenT = Aws::String>
73 void SetNextToken(NextTokenT&& value) {
74 m_nextTokenHasBeenSet = true;
75 m_nextToken = std::forward<NextTokenT>(value);
76 }
77 template <typename NextTokenT = Aws::String>
78 ListSystemsRequest& WithNextToken(NextTokenT&& value) {
79 SetNextToken(std::forward<NextTokenT>(value));
80 return *this;
81 }
83 private:
84 Aws::String m_ouId;
85
86 int m_maxResults{0};
87
88 Aws::String m_nextToken;
89 bool m_ouIdHasBeenSet = false;
90 bool m_maxResultsHasBeenSet = false;
91 bool m_nextTokenHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace resiliencehubv2
96} // namespace Aws
ListSystemsRequest & WithOuId(OuIdT &&value)
AWS_RESILIENCEHUBV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_RESILIENCEHUBV2_API ListSystemsRequest()=default
ListSystemsRequest & WithNextToken(NextTokenT &&value)
AWS_RESILIENCEHUBV2_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String