AWS SDK for C++  1.9.40
AWS SDK for C++
CreateSuiteDefinitionRequest.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 "CreateSuiteDefinition"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
40  inline const SuiteDefinitionConfiguration& GetSuiteDefinitionConfiguration() const{ return m_suiteDefinitionConfiguration; }
41 
45  inline bool SuiteDefinitionConfigurationHasBeenSet() const { return m_suiteDefinitionConfigurationHasBeenSet; }
46 
50  inline void SetSuiteDefinitionConfiguration(const SuiteDefinitionConfiguration& value) { m_suiteDefinitionConfigurationHasBeenSet = true; m_suiteDefinitionConfiguration = value; }
51 
55  inline void SetSuiteDefinitionConfiguration(SuiteDefinitionConfiguration&& value) { m_suiteDefinitionConfigurationHasBeenSet = true; m_suiteDefinitionConfiguration = std::move(value); }
56 
60  inline CreateSuiteDefinitionRequest& WithSuiteDefinitionConfiguration(const SuiteDefinitionConfiguration& value) { SetSuiteDefinitionConfiguration(value); return *this;}
61 
65  inline CreateSuiteDefinitionRequest& WithSuiteDefinitionConfiguration(SuiteDefinitionConfiguration&& value) { SetSuiteDefinitionConfiguration(std::move(value)); return *this;}
66 
67 
71  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
72 
76  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
77 
81  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
82 
86  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
87 
91  inline CreateSuiteDefinitionRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
92 
96  inline CreateSuiteDefinitionRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
97 
101  inline CreateSuiteDefinitionRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
102 
106  inline CreateSuiteDefinitionRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
107 
111  inline CreateSuiteDefinitionRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
112 
116  inline CreateSuiteDefinitionRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
117 
121  inline CreateSuiteDefinitionRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
122 
126  inline CreateSuiteDefinitionRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
127 
131  inline CreateSuiteDefinitionRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
132 
133  private:
134 
135  SuiteDefinitionConfiguration m_suiteDefinitionConfiguration;
136  bool m_suiteDefinitionConfigurationHasBeenSet;
137 
139  bool m_tagsHasBeenSet;
140  };
141 
142 } // namespace Model
143 } // namespace IoTDeviceAdvisor
144 } // namespace Aws
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::AddTags
CreateSuiteDefinitionRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateSuiteDefinitionRequest.h:111
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateSuiteDefinitionRequest.h:76
Aws::IoTDeviceAdvisor::Model::SuiteDefinitionConfiguration
Definition: SuiteDefinitionConfiguration.h:34
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::WithSuiteDefinitionConfiguration
CreateSuiteDefinitionRequest & WithSuiteDefinitionConfiguration(SuiteDefinitionConfiguration &&value)
Definition: CreateSuiteDefinitionRequest.h:65
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::WithSuiteDefinitionConfiguration
CreateSuiteDefinitionRequest & WithSuiteDefinitionConfiguration(const SuiteDefinitionConfiguration &value)
Definition: CreateSuiteDefinitionRequest.h:60
SuiteDefinitionConfiguration.h
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::WithTags
CreateSuiteDefinitionRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateSuiteDefinitionRequest.h:96
AWS_IOTDEVICEADVISOR_API
#define AWS_IOTDEVICEADVISOR_API
Definition: IoTDeviceAdvisor_EXPORTS.h:28
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::AddTags
CreateSuiteDefinitionRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateSuiteDefinitionRequest.h:101
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateSuiteDefinitionRequest.h:86
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::SetSuiteDefinitionConfiguration
void SetSuiteDefinitionConfiguration(SuiteDefinitionConfiguration &&value)
Definition: CreateSuiteDefinitionRequest.h:55
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateSuiteDefinitionRequest.h:71
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::AddTags
CreateSuiteDefinitionRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateSuiteDefinitionRequest.h:126
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::SuiteDefinitionConfigurationHasBeenSet
bool SuiteDefinitionConfigurationHasBeenSet() const
Definition: CreateSuiteDefinitionRequest.h:45
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::WithTags
CreateSuiteDefinitionRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateSuiteDefinitionRequest.h:91
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::AddTags
CreateSuiteDefinitionRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateSuiteDefinitionRequest.h:116
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::CreateSuiteDefinitionRequest
CreateSuiteDefinitionRequest()
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::AddTags
CreateSuiteDefinitionRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateSuiteDefinitionRequest.h:106
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::GetSuiteDefinitionConfiguration
const SuiteDefinitionConfiguration & GetSuiteDefinitionConfiguration() const
Definition: CreateSuiteDefinitionRequest.h:40
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateSuiteDefinitionRequest.h:32
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::AddTags
CreateSuiteDefinitionRequest & AddTags(const char *key, const char *value)
Definition: CreateSuiteDefinitionRequest.h:131
AWSString.h
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::AddTags
CreateSuiteDefinitionRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateSuiteDefinitionRequest.h:121
Aws::IoTDeviceAdvisor::IoTDeviceAdvisorRequest
Definition: IoTDeviceAdvisorRequest.h:17
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::SetSuiteDefinitionConfiguration
void SetSuiteDefinitionConfiguration(const SuiteDefinitionConfiguration &value)
Definition: CreateSuiteDefinitionRequest.h:50
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateSuiteDefinitionRequest.h:81
IoTDeviceAdvisorRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest::SerializePayload
Aws::String SerializePayload() const override
IoTDeviceAdvisor_EXPORTS.h
Aws::IoTDeviceAdvisor::Model::CreateSuiteDefinitionRequest
Definition: CreateSuiteDefinitionRequest.h:24
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19