AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartSimulationRequest.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/S3Location.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace SimSpaceWeaver
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SIMSPACEWEAVER_API StartSimulationRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "StartSimulation"; }
34
35 AWS_SIMSPACEWEAVER_API Aws::String SerializePayload() const override;
36
37
39
45 inline const Aws::String& GetClientToken() const { return m_clientToken; }
46 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
47 template<typename ClientTokenT = Aws::String>
48 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
49 template<typename ClientTokenT = Aws::String>
50 StartSimulationRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
52
54
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template<typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
61 template<typename DescriptionT = Aws::String>
62 StartSimulationRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
64
66
74 inline const Aws::String& GetMaximumDuration() const { return m_maximumDuration; }
75 inline bool MaximumDurationHasBeenSet() const { return m_maximumDurationHasBeenSet; }
76 template<typename MaximumDurationT = Aws::String>
77 void SetMaximumDuration(MaximumDurationT&& value) { m_maximumDurationHasBeenSet = true; m_maximumDuration = std::forward<MaximumDurationT>(value); }
78 template<typename MaximumDurationT = Aws::String>
79 StartSimulationRequest& WithMaximumDuration(MaximumDurationT&& value) { SetMaximumDuration(std::forward<MaximumDurationT>(value)); return *this;}
81
83
86 inline const Aws::String& GetName() const { return m_name; }
87 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
88 template<typename NameT = Aws::String>
89 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
90 template<typename NameT = Aws::String>
91 StartSimulationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
93
95
105 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
106 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
107 template<typename RoleArnT = Aws::String>
108 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
109 template<typename RoleArnT = Aws::String>
110 StartSimulationRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
112
114
123 inline const S3Location& GetSchemaS3Location() const { return m_schemaS3Location; }
124 inline bool SchemaS3LocationHasBeenSet() const { return m_schemaS3LocationHasBeenSet; }
125 template<typename SchemaS3LocationT = S3Location>
126 void SetSchemaS3Location(SchemaS3LocationT&& value) { m_schemaS3LocationHasBeenSet = true; m_schemaS3Location = std::forward<SchemaS3LocationT>(value); }
127 template<typename SchemaS3LocationT = S3Location>
128 StartSimulationRequest& WithSchemaS3Location(SchemaS3LocationT&& value) { SetSchemaS3Location(std::forward<SchemaS3LocationT>(value)); return *this;}
130
132
142 inline const S3Location& GetSnapshotS3Location() const { return m_snapshotS3Location; }
143 inline bool SnapshotS3LocationHasBeenSet() const { return m_snapshotS3LocationHasBeenSet; }
144 template<typename SnapshotS3LocationT = S3Location>
145 void SetSnapshotS3Location(SnapshotS3LocationT&& value) { m_snapshotS3LocationHasBeenSet = true; m_snapshotS3Location = std::forward<SnapshotS3LocationT>(value); }
146 template<typename SnapshotS3LocationT = S3Location>
147 StartSimulationRequest& WithSnapshotS3Location(SnapshotS3LocationT&& value) { SetSnapshotS3Location(std::forward<SnapshotS3LocationT>(value)); return *this;}
149
151
157 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
158 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
159 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
160 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
161 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
162 StartSimulationRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
163 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
164 StartSimulationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
165 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
166 }
168 private:
169
171 bool m_clientTokenHasBeenSet = true;
172
173 Aws::String m_description;
174 bool m_descriptionHasBeenSet = false;
175
176 Aws::String m_maximumDuration;
177 bool m_maximumDurationHasBeenSet = false;
178
179 Aws::String m_name;
180 bool m_nameHasBeenSet = false;
181
182 Aws::String m_roleArn;
183 bool m_roleArnHasBeenSet = false;
184
185 S3Location m_schemaS3Location;
186 bool m_schemaS3LocationHasBeenSet = false;
187
188 S3Location m_snapshotS3Location;
189 bool m_snapshotS3LocationHasBeenSet = false;
190
192 bool m_tagsHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace SimSpaceWeaver
197} // namespace Aws
StartSimulationRequest & WithSnapshotS3Location(SnapshotS3LocationT &&value)
StartSimulationRequest & WithName(NameT &&value)
StartSimulationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
StartSimulationRequest & WithRoleArn(RoleArnT &&value)
AWS_SIMSPACEWEAVER_API StartSimulationRequest()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
virtual const char * GetServiceRequestName() const override
StartSimulationRequest & WithSchemaS3Location(SchemaS3LocationT &&value)
StartSimulationRequest & WithTags(TagsT &&value)
StartSimulationRequest & WithClientToken(ClientTokenT &&value)
StartSimulationRequest & WithMaximumDuration(MaximumDurationT &&value)
AWS_SIMSPACEWEAVER_API Aws::String SerializePayload() const override
StartSimulationRequest & WithDescription(DescriptionT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String