AWS SDK for C++  1.9.125
AWS SDK for C++
StartSuiteRunRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace IoTDeviceAdvisor
17 {
18 namespace Model
19 {
20 
24  {
25  public:
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 "StartSuiteRun"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
40  inline const Aws::String& GetSuiteDefinitionId() const{ return m_suiteDefinitionId; }
41 
45  inline bool SuiteDefinitionIdHasBeenSet() const { return m_suiteDefinitionIdHasBeenSet; }
46 
50  inline void SetSuiteDefinitionId(const Aws::String& value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId = value; }
51 
55  inline void SetSuiteDefinitionId(Aws::String&& value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId = std::move(value); }
56 
60  inline void SetSuiteDefinitionId(const char* value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId.assign(value); }
61 
65  inline StartSuiteRunRequest& WithSuiteDefinitionId(const Aws::String& value) { SetSuiteDefinitionId(value); return *this;}
66 
70  inline StartSuiteRunRequest& WithSuiteDefinitionId(Aws::String&& value) { SetSuiteDefinitionId(std::move(value)); return *this;}
71 
75  inline StartSuiteRunRequest& WithSuiteDefinitionId(const char* value) { SetSuiteDefinitionId(value); return *this;}
76 
77 
81  inline const Aws::String& GetSuiteDefinitionVersion() const{ return m_suiteDefinitionVersion; }
82 
86  inline bool SuiteDefinitionVersionHasBeenSet() const { return m_suiteDefinitionVersionHasBeenSet; }
87 
91  inline void SetSuiteDefinitionVersion(const Aws::String& value) { m_suiteDefinitionVersionHasBeenSet = true; m_suiteDefinitionVersion = value; }
92 
96  inline void SetSuiteDefinitionVersion(Aws::String&& value) { m_suiteDefinitionVersionHasBeenSet = true; m_suiteDefinitionVersion = std::move(value); }
97 
101  inline void SetSuiteDefinitionVersion(const char* value) { m_suiteDefinitionVersionHasBeenSet = true; m_suiteDefinitionVersion.assign(value); }
102 
106  inline StartSuiteRunRequest& WithSuiteDefinitionVersion(const Aws::String& value) { SetSuiteDefinitionVersion(value); return *this;}
107 
111  inline StartSuiteRunRequest& WithSuiteDefinitionVersion(Aws::String&& value) { SetSuiteDefinitionVersion(std::move(value)); return *this;}
112 
116  inline StartSuiteRunRequest& WithSuiteDefinitionVersion(const char* value) { SetSuiteDefinitionVersion(value); return *this;}
117 
118 
122  inline const SuiteRunConfiguration& GetSuiteRunConfiguration() const{ return m_suiteRunConfiguration; }
123 
127  inline bool SuiteRunConfigurationHasBeenSet() const { return m_suiteRunConfigurationHasBeenSet; }
128 
132  inline void SetSuiteRunConfiguration(const SuiteRunConfiguration& value) { m_suiteRunConfigurationHasBeenSet = true; m_suiteRunConfiguration = value; }
133 
137  inline void SetSuiteRunConfiguration(SuiteRunConfiguration&& value) { m_suiteRunConfigurationHasBeenSet = true; m_suiteRunConfiguration = std::move(value); }
138 
142  inline StartSuiteRunRequest& WithSuiteRunConfiguration(const SuiteRunConfiguration& value) { SetSuiteRunConfiguration(value); return *this;}
143 
147  inline StartSuiteRunRequest& WithSuiteRunConfiguration(SuiteRunConfiguration&& value) { SetSuiteRunConfiguration(std::move(value)); return *this;}
148 
149 
153  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
154 
158  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
159 
163  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
164 
168  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
169 
173  inline StartSuiteRunRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
174 
178  inline StartSuiteRunRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
179 
183  inline StartSuiteRunRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
184 
188  inline StartSuiteRunRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
189 
193  inline StartSuiteRunRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
194 
198  inline StartSuiteRunRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
199 
203  inline StartSuiteRunRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
204 
208  inline StartSuiteRunRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
209 
213  inline StartSuiteRunRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
214 
215  private:
216 
217  Aws::String m_suiteDefinitionId;
218  bool m_suiteDefinitionIdHasBeenSet;
219 
220  Aws::String m_suiteDefinitionVersion;
221  bool m_suiteDefinitionVersionHasBeenSet;
222 
223  SuiteRunConfiguration m_suiteRunConfiguration;
224  bool m_suiteRunConfigurationHasBeenSet;
225 
227  bool m_tagsHasBeenSet;
228  };
229 
230 } // namespace Model
231 } // namespace IoTDeviceAdvisor
232 } // namespace Aws
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::SetSuiteDefinitionId
void SetSuiteDefinitionId(Aws::String &&value)
Definition: StartSuiteRunRequest.h:55
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::WithSuiteDefinitionId
StartSuiteRunRequest & WithSuiteDefinitionId(const Aws::String &value)
Definition: StartSuiteRunRequest.h:65
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::AddTags
StartSuiteRunRequest & AddTags(Aws::String &&key, const char *value)
Definition: StartSuiteRunRequest.h:208
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::WithSuiteRunConfiguration
StartSuiteRunRequest & WithSuiteRunConfiguration(SuiteRunConfiguration &&value)
Definition: StartSuiteRunRequest.h:147
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::WithSuiteDefinitionId
StartSuiteRunRequest & WithSuiteDefinitionId(const char *value)
Definition: StartSuiteRunRequest.h:75
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::SetSuiteDefinitionVersion
void SetSuiteDefinitionVersion(Aws::String &&value)
Definition: StartSuiteRunRequest.h:96
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::AddTags
StartSuiteRunRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: StartSuiteRunRequest.h:188
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::SetSuiteRunConfiguration
void SetSuiteRunConfiguration(const SuiteRunConfiguration &value)
Definition: StartSuiteRunRequest.h:132
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::GetSuiteRunConfiguration
const SuiteRunConfiguration & GetSuiteRunConfiguration() const
Definition: StartSuiteRunRequest.h:122
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::SetSuiteRunConfiguration
void SetSuiteRunConfiguration(SuiteRunConfiguration &&value)
Definition: StartSuiteRunRequest.h:137
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::SuiteRunConfigurationHasBeenSet
bool SuiteRunConfigurationHasBeenSet() const
Definition: StartSuiteRunRequest.h:127
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::SuiteDefinitionIdHasBeenSet
bool SuiteDefinitionIdHasBeenSet() const
Definition: StartSuiteRunRequest.h:45
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::SetSuiteDefinitionId
void SetSuiteDefinitionId(const Aws::String &value)
Definition: StartSuiteRunRequest.h:50
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::WithSuiteDefinitionVersion
StartSuiteRunRequest & WithSuiteDefinitionVersion(Aws::String &&value)
Definition: StartSuiteRunRequest.h:111
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::AddTags
StartSuiteRunRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: StartSuiteRunRequest.h:198
AWS_IOTDEVICEADVISOR_API
#define AWS_IOTDEVICEADVISOR_API
Definition: IoTDeviceAdvisor_EXPORTS.h:28
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::SetSuiteDefinitionVersion
void SetSuiteDefinitionVersion(const Aws::String &value)
Definition: StartSuiteRunRequest.h:91
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::WithSuiteRunConfiguration
StartSuiteRunRequest & WithSuiteRunConfiguration(const SuiteRunConfiguration &value)
Definition: StartSuiteRunRequest.h:142
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: StartSuiteRunRequest.h:158
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::WithSuiteDefinitionVersion
StartSuiteRunRequest & WithSuiteDefinitionVersion(const char *value)
Definition: StartSuiteRunRequest.h:116
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::SetSuiteDefinitionVersion
void SetSuiteDefinitionVersion(const char *value)
Definition: StartSuiteRunRequest.h:101
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: StartSuiteRunRequest.h:168
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::StartSuiteRunRequest
StartSuiteRunRequest()
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::AddTags
StartSuiteRunRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: StartSuiteRunRequest.h:193
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::SuiteDefinitionVersionHasBeenSet
bool SuiteDefinitionVersionHasBeenSet() const
Definition: StartSuiteRunRequest.h:86
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::AddTags
StartSuiteRunRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: StartSuiteRunRequest.h:183
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::AddTags
StartSuiteRunRequest & AddTags(const char *key, const char *value)
Definition: StartSuiteRunRequest.h:213
AWSString.h
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::WithSuiteDefinitionId
StartSuiteRunRequest & WithSuiteDefinitionId(Aws::String &&value)
Definition: StartSuiteRunRequest.h:70
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::SetSuiteDefinitionId
void SetSuiteDefinitionId(const char *value)
Definition: StartSuiteRunRequest.h:60
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration
Definition: SuiteRunConfiguration.h:34
Aws::IoTDeviceAdvisor::IoTDeviceAdvisorRequest
Definition: IoTDeviceAdvisorRequest.h:17
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::WithTags
StartSuiteRunRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: StartSuiteRunRequest.h:178
SuiteRunConfiguration.h
IoTDeviceAdvisorRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartSuiteRunRequest.h:32
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::GetSuiteDefinitionId
const Aws::String & GetSuiteDefinitionId() const
Definition: StartSuiteRunRequest.h:40
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: StartSuiteRunRequest.h:153
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest
Definition: StartSuiteRunRequest.h:24
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::WithSuiteDefinitionVersion
StartSuiteRunRequest & WithSuiteDefinitionVersion(const Aws::String &value)
Definition: StartSuiteRunRequest.h:106
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::GetSuiteDefinitionVersion
const Aws::String & GetSuiteDefinitionVersion() const
Definition: StartSuiteRunRequest.h:81
IoTDeviceAdvisor_EXPORTS.h
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::WithTags
StartSuiteRunRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: StartSuiteRunRequest.h:173
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: StartSuiteRunRequest.h:163
AWSMap.h
Aws::IoTDeviceAdvisor::Model::StartSuiteRunRequest::AddTags
StartSuiteRunRequest & AddTags(const char *key, Aws::String &&value)
Definition: StartSuiteRunRequest.h:203
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19