AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ClientTokenT = Aws::String>
47 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
48 template<typename ClientTokenT = Aws::String>
49 StartAppRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 template<typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
60 template<typename DescriptionT = Aws::String>
61 StartAppRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
63
65
68 inline const Aws::String& GetDomain() const { return m_domain; }
69 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
70 template<typename DomainT = Aws::String>
71 void SetDomain(DomainT&& value) { m_domainHasBeenSet = true; m_domain = std::forward<DomainT>(value); }
72 template<typename DomainT = Aws::String>
73 StartAppRequest& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
75
77
78 inline const LaunchOverrides& GetLaunchOverrides() const { return m_launchOverrides; }
79 inline bool LaunchOverridesHasBeenSet() const { return m_launchOverridesHasBeenSet; }
80 template<typename LaunchOverridesT = LaunchOverrides>
81 void SetLaunchOverrides(LaunchOverridesT&& value) { m_launchOverridesHasBeenSet = true; m_launchOverrides = std::forward<LaunchOverridesT>(value); }
82 template<typename LaunchOverridesT = LaunchOverrides>
83 StartAppRequest& WithLaunchOverrides(LaunchOverridesT&& value) { SetLaunchOverrides(std::forward<LaunchOverridesT>(value)); return *this;}
85
87
90 inline const Aws::String& GetName() const { return m_name; }
91 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
92 template<typename NameT = Aws::String>
93 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
94 template<typename NameT = Aws::String>
95 StartAppRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
97
99
102 inline const Aws::String& GetSimulation() const { return m_simulation; }
103 inline bool SimulationHasBeenSet() const { return m_simulationHasBeenSet; }
104 template<typename SimulationT = Aws::String>
105 void SetSimulation(SimulationT&& value) { m_simulationHasBeenSet = true; m_simulation = std::forward<SimulationT>(value); }
106 template<typename SimulationT = Aws::String>
107 StartAppRequest& WithSimulation(SimulationT&& value) { SetSimulation(std::forward<SimulationT>(value)); return *this;}
109 private:
110
112 bool m_clientTokenHasBeenSet = true;
113
114 Aws::String m_description;
115 bool m_descriptionHasBeenSet = false;
116
117 Aws::String m_domain;
118 bool m_domainHasBeenSet = false;
119
120 LaunchOverrides m_launchOverrides;
121 bool m_launchOverridesHasBeenSet = false;
122
123 Aws::String m_name;
124 bool m_nameHasBeenSet = false;
125
126 Aws::String m_simulation;
127 bool m_simulationHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace SimSpaceWeaver
132} // 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