AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StopAppRequest.h
1
6#pragma once
7#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
8#include <aws/simspaceweaver/SimSpaceWeaverRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SimSpaceWeaver
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SIMSPACEWEAVER_API StopAppRequest() = 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 "StopApp"; }
31
32 AWS_SIMSPACEWEAVER_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetApp() const { return m_app; }
40 inline bool AppHasBeenSet() const { return m_appHasBeenSet; }
41 template<typename AppT = Aws::String>
42 void SetApp(AppT&& value) { m_appHasBeenSet = true; m_app = std::forward<AppT>(value); }
43 template<typename AppT = Aws::String>
44 StopAppRequest& WithApp(AppT&& value) { SetApp(std::forward<AppT>(value)); return *this;}
46
48
51 inline const Aws::String& GetDomain() const { return m_domain; }
52 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
53 template<typename DomainT = Aws::String>
54 void SetDomain(DomainT&& value) { m_domainHasBeenSet = true; m_domain = std::forward<DomainT>(value); }
55 template<typename DomainT = Aws::String>
56 StopAppRequest& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
58
60
63 inline const Aws::String& GetSimulation() const { return m_simulation; }
64 inline bool SimulationHasBeenSet() const { return m_simulationHasBeenSet; }
65 template<typename SimulationT = Aws::String>
66 void SetSimulation(SimulationT&& value) { m_simulationHasBeenSet = true; m_simulation = std::forward<SimulationT>(value); }
67 template<typename SimulationT = Aws::String>
68 StopAppRequest& WithSimulation(SimulationT&& value) { SetSimulation(std::forward<SimulationT>(value)); return *this;}
70 private:
71
72 Aws::String m_app;
73 bool m_appHasBeenSet = false;
74
75 Aws::String m_domain;
76 bool m_domainHasBeenSet = false;
77
78 Aws::String m_simulation;
79 bool m_simulationHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace SimSpaceWeaver
84} // 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