AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
48 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
49 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
50 inline StartSimulationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
51 inline StartSimulationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
52 inline StartSimulationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
54
56
59 inline const Aws::String& GetDescription() const{ return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
62 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
63 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
64 inline StartSimulationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
65 inline StartSimulationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
66 inline StartSimulationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
68
70
78 inline const Aws::String& GetMaximumDuration() const{ return m_maximumDuration; }
79 inline bool MaximumDurationHasBeenSet() const { return m_maximumDurationHasBeenSet; }
80 inline void SetMaximumDuration(const Aws::String& value) { m_maximumDurationHasBeenSet = true; m_maximumDuration = value; }
81 inline void SetMaximumDuration(Aws::String&& value) { m_maximumDurationHasBeenSet = true; m_maximumDuration = std::move(value); }
82 inline void SetMaximumDuration(const char* value) { m_maximumDurationHasBeenSet = true; m_maximumDuration.assign(value); }
83 inline StartSimulationRequest& WithMaximumDuration(const Aws::String& value) { SetMaximumDuration(value); return *this;}
84 inline StartSimulationRequest& WithMaximumDuration(Aws::String&& value) { SetMaximumDuration(std::move(value)); return *this;}
85 inline StartSimulationRequest& WithMaximumDuration(const char* value) { SetMaximumDuration(value); return *this;}
87
89
92 inline const Aws::String& GetName() const{ return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
95 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
96 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
97 inline StartSimulationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
98 inline StartSimulationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
99 inline StartSimulationRequest& WithName(const char* value) { SetName(value); return *this;}
101
103
113 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
114 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
115 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
116 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
117 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
118 inline StartSimulationRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
119 inline StartSimulationRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
120 inline StartSimulationRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
122
124
133 inline const S3Location& GetSchemaS3Location() const{ return m_schemaS3Location; }
134 inline bool SchemaS3LocationHasBeenSet() const { return m_schemaS3LocationHasBeenSet; }
135 inline void SetSchemaS3Location(const S3Location& value) { m_schemaS3LocationHasBeenSet = true; m_schemaS3Location = value; }
136 inline void SetSchemaS3Location(S3Location&& value) { m_schemaS3LocationHasBeenSet = true; m_schemaS3Location = std::move(value); }
137 inline StartSimulationRequest& WithSchemaS3Location(const S3Location& value) { SetSchemaS3Location(value); return *this;}
138 inline StartSimulationRequest& WithSchemaS3Location(S3Location&& value) { SetSchemaS3Location(std::move(value)); return *this;}
140
142
152 inline const S3Location& GetSnapshotS3Location() const{ return m_snapshotS3Location; }
153 inline bool SnapshotS3LocationHasBeenSet() const { return m_snapshotS3LocationHasBeenSet; }
154 inline void SetSnapshotS3Location(const S3Location& value) { m_snapshotS3LocationHasBeenSet = true; m_snapshotS3Location = value; }
155 inline void SetSnapshotS3Location(S3Location&& value) { m_snapshotS3LocationHasBeenSet = true; m_snapshotS3Location = std::move(value); }
157 inline StartSimulationRequest& WithSnapshotS3Location(S3Location&& value) { SetSnapshotS3Location(std::move(value)); return *this;}
159
161
167 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
168 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
169 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
170 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
171 inline StartSimulationRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
172 inline StartSimulationRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
173 inline StartSimulationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
174 inline StartSimulationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
175 inline StartSimulationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
176 inline StartSimulationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
177 inline StartSimulationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
178 inline StartSimulationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
179 inline StartSimulationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
181 private:
182
183 Aws::String m_clientToken;
184 bool m_clientTokenHasBeenSet = false;
185
186 Aws::String m_description;
187 bool m_descriptionHasBeenSet = false;
188
189 Aws::String m_maximumDuration;
190 bool m_maximumDurationHasBeenSet = false;
191
192 Aws::String m_name;
193 bool m_nameHasBeenSet = false;
194
195 Aws::String m_roleArn;
196 bool m_roleArnHasBeenSet = false;
197
198 S3Location m_schemaS3Location;
199 bool m_schemaS3LocationHasBeenSet = false;
200
201 S3Location m_snapshotS3Location;
202 bool m_snapshotS3LocationHasBeenSet = false;
203
205 bool m_tagsHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace SimSpaceWeaver
210} // namespace Aws
StartSimulationRequest & AddTags(const char *key, const char *value)
StartSimulationRequest & WithMaximumDuration(const Aws::String &value)
StartSimulationRequest & AddTags(const Aws::String &key, const Aws::String &value)
StartSimulationRequest & WithMaximumDuration(Aws::String &&value)
StartSimulationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
StartSimulationRequest & WithSnapshotS3Location(const S3Location &value)
StartSimulationRequest & WithDescription(const char *value)
StartSimulationRequest & WithMaximumDuration(const char *value)
StartSimulationRequest & WithName(Aws::String &&value)
StartSimulationRequest & AddTags(const char *key, Aws::String &&value)
StartSimulationRequest & WithName(const Aws::String &value)
StartSimulationRequest & AddTags(Aws::String &&key, const char *value)
StartSimulationRequest & WithClientToken(Aws::String &&value)
StartSimulationRequest & WithSnapshotS3Location(S3Location &&value)
StartSimulationRequest & WithName(const char *value)
StartSimulationRequest & WithRoleArn(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StartSimulationRequest & WithClientToken(const Aws::String &value)
StartSimulationRequest & AddTags(Aws::String &&key, Aws::String &&value)
virtual const char * GetServiceRequestName() const override
StartSimulationRequest & WithRoleArn(const Aws::String &value)
StartSimulationRequest & AddTags(const Aws::String &key, Aws::String &&value)
StartSimulationRequest & WithRoleArn(Aws::String &&value)
StartSimulationRequest & WithClientToken(const char *value)
StartSimulationRequest & WithSchemaS3Location(const S3Location &value)
StartSimulationRequest & WithSchemaS3Location(S3Location &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
StartSimulationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
StartSimulationRequest & AddTags(Aws::String &&key, const Aws::String &value)
StartSimulationRequest & WithDescription(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SIMSPACEWEAVER_API Aws::String SerializePayload() const override
StartSimulationRequest & WithDescription(Aws::String &&value)
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