AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartAppRequest.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 <aws/simspaceweaver/model/LaunchOverrides.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace SimSpaceWeaver
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SIMSPACEWEAVER_API StartAppRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StartApp"; }
33
34 AWS_SIMSPACEWEAVER_API Aws::String SerializePayload() const override;
35
36
38
44 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
45 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
46 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
47 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
48 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
49 inline StartAppRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
50 inline StartAppRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
51 inline StartAppRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
53
55
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
61 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
62 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 inline StartAppRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline StartAppRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline StartAppRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
72 inline const Aws::String& GetDomain() const{ return m_domain; }
73 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
74 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
75 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
76 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
77 inline StartAppRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
78 inline StartAppRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
79 inline StartAppRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
81
83
84 inline const LaunchOverrides& GetLaunchOverrides() const{ return m_launchOverrides; }
85 inline bool LaunchOverridesHasBeenSet() const { return m_launchOverridesHasBeenSet; }
86 inline void SetLaunchOverrides(const LaunchOverrides& value) { m_launchOverridesHasBeenSet = true; m_launchOverrides = value; }
87 inline void SetLaunchOverrides(LaunchOverrides&& value) { m_launchOverridesHasBeenSet = true; m_launchOverrides = std::move(value); }
88 inline StartAppRequest& WithLaunchOverrides(const LaunchOverrides& value) { SetLaunchOverrides(value); return *this;}
89 inline StartAppRequest& WithLaunchOverrides(LaunchOverrides&& value) { SetLaunchOverrides(std::move(value)); return *this;}
91
93
96 inline const Aws::String& GetName() const{ return m_name; }
97 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
98 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
99 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
100 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
101 inline StartAppRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
102 inline StartAppRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
103 inline StartAppRequest& WithName(const char* value) { SetName(value); return *this;}
105
107
110 inline const Aws::String& GetSimulation() const{ return m_simulation; }
111 inline bool SimulationHasBeenSet() const { return m_simulationHasBeenSet; }
112 inline void SetSimulation(const Aws::String& value) { m_simulationHasBeenSet = true; m_simulation = value; }
113 inline void SetSimulation(Aws::String&& value) { m_simulationHasBeenSet = true; m_simulation = std::move(value); }
114 inline void SetSimulation(const char* value) { m_simulationHasBeenSet = true; m_simulation.assign(value); }
115 inline StartAppRequest& WithSimulation(const Aws::String& value) { SetSimulation(value); return *this;}
116 inline StartAppRequest& WithSimulation(Aws::String&& value) { SetSimulation(std::move(value)); return *this;}
117 inline StartAppRequest& WithSimulation(const char* value) { SetSimulation(value); return *this;}
119 private:
120
121 Aws::String m_clientToken;
122 bool m_clientTokenHasBeenSet = false;
123
124 Aws::String m_description;
125 bool m_descriptionHasBeenSet = false;
126
127 Aws::String m_domain;
128 bool m_domainHasBeenSet = false;
129
130 LaunchOverrides m_launchOverrides;
131 bool m_launchOverridesHasBeenSet = false;
132
133 Aws::String m_name;
134 bool m_nameHasBeenSet = false;
135
136 Aws::String m_simulation;
137 bool m_simulationHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace SimSpaceWeaver
142} // namespace Aws
StartAppRequest & WithClientToken(Aws::String &&value)
StartAppRequest & WithDomain(const char *value)
StartAppRequest & WithName(const char *value)
StartAppRequest & WithDomain(const Aws::String &value)
const Aws::String & GetClientToken() const
StartAppRequest & WithDescription(Aws::String &&value)
StartAppRequest & WithName(Aws::String &&value)
StartAppRequest & WithLaunchOverrides(LaunchOverrides &&value)
virtual const char * GetServiceRequestName() const override
StartAppRequest & WithClientToken(const Aws::String &value)
StartAppRequest & WithSimulation(const Aws::String &value)
void SetDomain(const Aws::String &value)
AWS_SIMSPACEWEAVER_API Aws::String SerializePayload() const override
void SetClientToken(const Aws::String &value)
void SetLaunchOverrides(const LaunchOverrides &value)
void SetLaunchOverrides(LaunchOverrides &&value)
StartAppRequest & WithSimulation(Aws::String &&value)
StartAppRequest & WithSimulation(const char *value)
StartAppRequest & WithDomain(Aws::String &&value)
void SetDescription(const Aws::String &value)
StartAppRequest & WithClientToken(const char *value)
const LaunchOverrides & GetLaunchOverrides() const
StartAppRequest & WithDescription(const Aws::String &value)
const Aws::String & GetDescription() const
void SetSimulation(const Aws::String &value)
StartAppRequest & WithLaunchOverrides(const LaunchOverrides &value)
StartAppRequest & WithDescription(const char *value)
void SetName(const Aws::String &value)
AWS_SIMSPACEWEAVER_API StartAppRequest()
StartAppRequest & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String