AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
StartAppRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/simspaceweaver/SimSpaceWeaverRequest.h>
10#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
11#include <aws/simspaceweaver/model/LaunchOverrides.h>
12
13#include <utility>
14
15namespace Aws {
16namespace SimSpaceWeaver {
17namespace Model {
18
22 public:
23 AWS_SIMSPACEWEAVER_API StartAppRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "StartApp"; }
30
31 AWS_SIMSPACEWEAVER_API Aws::String SerializePayload() const override;
32
34
40 inline const Aws::String& GetClientToken() const { return m_clientToken; }
41 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
42 template <typename ClientTokenT = Aws::String>
43 void SetClientToken(ClientTokenT&& value) {
44 m_clientTokenHasBeenSet = true;
45 m_clientToken = std::forward<ClientTokenT>(value);
46 }
47 template <typename ClientTokenT = Aws::String>
48 StartAppRequest& WithClientToken(ClientTokenT&& value) {
49 SetClientToken(std::forward<ClientTokenT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template <typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) {
62 m_descriptionHasBeenSet = true;
63 m_description = std::forward<DescriptionT>(value);
64 }
65 template <typename DescriptionT = Aws::String>
66 StartAppRequest& WithDescription(DescriptionT&& value) {
67 SetDescription(std::forward<DescriptionT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDomain() const { return m_domain; }
77 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
78 template <typename DomainT = Aws::String>
79 void SetDomain(DomainT&& value) {
80 m_domainHasBeenSet = true;
81 m_domain = std::forward<DomainT>(value);
82 }
83 template <typename DomainT = Aws::String>
84 StartAppRequest& WithDomain(DomainT&& value) {
85 SetDomain(std::forward<DomainT>(value));
86 return *this;
87 }
89
91
92 inline const LaunchOverrides& GetLaunchOverrides() const { return m_launchOverrides; }
93 inline bool LaunchOverridesHasBeenSet() const { return m_launchOverridesHasBeenSet; }
94 template <typename LaunchOverridesT = LaunchOverrides>
95 void SetLaunchOverrides(LaunchOverridesT&& value) {
96 m_launchOverridesHasBeenSet = true;
97 m_launchOverrides = std::forward<LaunchOverridesT>(value);
98 }
99 template <typename LaunchOverridesT = LaunchOverrides>
100 StartAppRequest& WithLaunchOverrides(LaunchOverridesT&& value) {
101 SetLaunchOverrides(std::forward<LaunchOverridesT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetName() const { return m_name; }
111 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
112 template <typename NameT = Aws::String>
113 void SetName(NameT&& value) {
114 m_nameHasBeenSet = true;
115 m_name = std::forward<NameT>(value);
116 }
117 template <typename NameT = Aws::String>
118 StartAppRequest& WithName(NameT&& value) {
119 SetName(std::forward<NameT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetSimulation() const { return m_simulation; }
129 inline bool SimulationHasBeenSet() const { return m_simulationHasBeenSet; }
130 template <typename SimulationT = Aws::String>
131 void SetSimulation(SimulationT&& value) {
132 m_simulationHasBeenSet = true;
133 m_simulation = std::forward<SimulationT>(value);
134 }
135 template <typename SimulationT = Aws::String>
136 StartAppRequest& WithSimulation(SimulationT&& value) {
137 SetSimulation(std::forward<SimulationT>(value));
138 return *this;
139 }
141 private:
143
144 Aws::String m_description;
145
146 Aws::String m_domain;
147
148 LaunchOverrides m_launchOverrides;
149
150 Aws::String m_name;
151
152 Aws::String m_simulation;
153 bool m_clientTokenHasBeenSet = true;
154 bool m_descriptionHasBeenSet = false;
155 bool m_domainHasBeenSet = false;
156 bool m_launchOverridesHasBeenSet = false;
157 bool m_nameHasBeenSet = false;
158 bool m_simulationHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace SimSpaceWeaver
163} // namespace Aws
const Aws::String & GetClientToken() const
StartAppRequest & WithDomain(DomainT &&value)
void SetLaunchOverrides(LaunchOverridesT &&value)
virtual const char * GetServiceRequestName() const override
StartAppRequest & WithDescription(DescriptionT &&value)
AWS_SIMSPACEWEAVER_API Aws::String SerializePayload() const override
StartAppRequest & WithSimulation(SimulationT &&value)
const LaunchOverrides & GetLaunchOverrides() const
StartAppRequest & WithLaunchOverrides(LaunchOverridesT &&value)
AWS_SIMSPACEWEAVER_API StartAppRequest()=default
const Aws::String & GetDescription() const
StartAppRequest & WithClientToken(ClientTokenT &&value)
StartAppRequest & WithName(NameT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String