AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
ListAppsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/simspaceweaver/SimSpaceWeaverRequest.h>
9#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace SimSpaceWeaver {
18namespace Model {
19
23 public:
24 AWS_SIMSPACEWEAVER_API ListAppsRequest() = 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 "ListApps"; }
31
32 AWS_SIMSPACEWEAVER_API Aws::String SerializePayload() const override;
33
34 AWS_SIMSPACEWEAVER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetDomain() const { return m_domain; }
41 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
42 template <typename DomainT = Aws::String>
43 void SetDomain(DomainT&& value) {
44 m_domainHasBeenSet = true;
45 m_domain = std::forward<DomainT>(value);
46 }
47 template <typename DomainT = Aws::String>
48 ListAppsRequest& WithDomain(DomainT&& value) {
49 SetDomain(std::forward<DomainT>(value));
50 return *this;
51 }
53
55
58 inline int GetMaxResults() const { return m_maxResults; }
59 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
60 inline void SetMaxResults(int value) {
61 m_maxResultsHasBeenSet = true;
62 m_maxResults = value;
63 }
64 inline ListAppsRequest& WithMaxResults(int value) {
65 SetMaxResults(value);
66 return *this;
67 }
69
71
80 inline const Aws::String& GetNextToken() const { return m_nextToken; }
81 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
82 template <typename NextTokenT = Aws::String>
83 void SetNextToken(NextTokenT&& value) {
84 m_nextTokenHasBeenSet = true;
85 m_nextToken = std::forward<NextTokenT>(value);
86 }
87 template <typename NextTokenT = Aws::String>
88 ListAppsRequest& WithNextToken(NextTokenT&& value) {
89 SetNextToken(std::forward<NextTokenT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetSimulation() const { return m_simulation; }
99 inline bool SimulationHasBeenSet() const { return m_simulationHasBeenSet; }
100 template <typename SimulationT = Aws::String>
101 void SetSimulation(SimulationT&& value) {
102 m_simulationHasBeenSet = true;
103 m_simulation = std::forward<SimulationT>(value);
104 }
105 template <typename SimulationT = Aws::String>
106 ListAppsRequest& WithSimulation(SimulationT&& value) {
107 SetSimulation(std::forward<SimulationT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_domain;
113
114 int m_maxResults{0};
115
116 Aws::String m_nextToken;
117
118 Aws::String m_simulation;
119 bool m_domainHasBeenSet = false;
120 bool m_maxResultsHasBeenSet = false;
121 bool m_nextTokenHasBeenSet = false;
122 bool m_simulationHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace SimSpaceWeaver
127} // namespace Aws
ListAppsRequest & WithNextToken(NextTokenT &&value)
ListAppsRequest & WithSimulation(SimulationT &&value)
ListAppsRequest & WithMaxResults(int value)
AWS_SIMSPACEWEAVER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetSimulation() const
AWS_SIMSPACEWEAVER_API ListAppsRequest()=default
virtual const char * GetServiceRequestName() const override
ListAppsRequest & WithDomain(DomainT &&value)
AWS_SIMSPACEWEAVER_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String