AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
StopAppRequest.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 SimSpaceWeaver {
15namespace Model {
16
20 public:
21 AWS_SIMSPACEWEAVER_API StopAppRequest() = 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 "StopApp"; }
28
29 AWS_SIMSPACEWEAVER_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetApp() const { return m_app; }
36 inline bool AppHasBeenSet() const { return m_appHasBeenSet; }
37 template <typename AppT = Aws::String>
38 void SetApp(AppT&& value) {
39 m_appHasBeenSet = true;
40 m_app = std::forward<AppT>(value);
41 }
42 template <typename AppT = Aws::String>
43 StopAppRequest& WithApp(AppT&& value) {
44 SetApp(std::forward<AppT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDomain() const { return m_domain; }
54 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
55 template <typename DomainT = Aws::String>
56 void SetDomain(DomainT&& value) {
57 m_domainHasBeenSet = true;
58 m_domain = std::forward<DomainT>(value);
59 }
60 template <typename DomainT = Aws::String>
61 StopAppRequest& WithDomain(DomainT&& value) {
62 SetDomain(std::forward<DomainT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetSimulation() const { return m_simulation; }
72 inline bool SimulationHasBeenSet() const { return m_simulationHasBeenSet; }
73 template <typename SimulationT = Aws::String>
74 void SetSimulation(SimulationT&& value) {
75 m_simulationHasBeenSet = true;
76 m_simulation = std::forward<SimulationT>(value);
77 }
78 template <typename SimulationT = Aws::String>
79 StopAppRequest& WithSimulation(SimulationT&& value) {
80 SetSimulation(std::forward<SimulationT>(value));
81 return *this;
82 }
84 private:
85 Aws::String m_app;
86
87 Aws::String m_domain;
88
89 Aws::String m_simulation;
90 bool m_appHasBeenSet = false;
91 bool m_domainHasBeenSet = false;
92 bool m_simulationHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace SimSpaceWeaver
97} // namespace Aws
virtual const char * GetServiceRequestName() const override
const Aws::String & GetSimulation() const
AWS_SIMSPACEWEAVER_API Aws::String SerializePayload() const override
StopAppRequest & WithApp(AppT &&value)
StopAppRequest & WithSimulation(SimulationT &&value)
const Aws::String & GetDomain() const
AWS_SIMSPACEWEAVER_API StopAppRequest()=default
StopAppRequest & WithDomain(DomainT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String