AWS SDK for C++  1.9.131
AWS SDK for C++
UpdateSuiteDefinitionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace IoTDeviceAdvisor
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateSuiteDefinition"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetSuiteDefinitionId() const{ return m_suiteDefinitionId; }
40 
44  inline bool SuiteDefinitionIdHasBeenSet() const { return m_suiteDefinitionIdHasBeenSet; }
45 
49  inline void SetSuiteDefinitionId(const Aws::String& value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId = value; }
50 
54  inline void SetSuiteDefinitionId(Aws::String&& value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId = std::move(value); }
55 
59  inline void SetSuiteDefinitionId(const char* value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId.assign(value); }
60 
64  inline UpdateSuiteDefinitionRequest& WithSuiteDefinitionId(const Aws::String& value) { SetSuiteDefinitionId(value); return *this;}
65 
69  inline UpdateSuiteDefinitionRequest& WithSuiteDefinitionId(Aws::String&& value) { SetSuiteDefinitionId(std::move(value)); return *this;}
70 
74  inline UpdateSuiteDefinitionRequest& WithSuiteDefinitionId(const char* value) { SetSuiteDefinitionId(value); return *this;}
75 
76 
80  inline const SuiteDefinitionConfiguration& GetSuiteDefinitionConfiguration() const{ return m_suiteDefinitionConfiguration; }
81 
85  inline bool SuiteDefinitionConfigurationHasBeenSet() const { return m_suiteDefinitionConfigurationHasBeenSet; }
86 
90  inline void SetSuiteDefinitionConfiguration(const SuiteDefinitionConfiguration& value) { m_suiteDefinitionConfigurationHasBeenSet = true; m_suiteDefinitionConfiguration = value; }
91 
95  inline void SetSuiteDefinitionConfiguration(SuiteDefinitionConfiguration&& value) { m_suiteDefinitionConfigurationHasBeenSet = true; m_suiteDefinitionConfiguration = std::move(value); }
96 
100  inline UpdateSuiteDefinitionRequest& WithSuiteDefinitionConfiguration(const SuiteDefinitionConfiguration& value) { SetSuiteDefinitionConfiguration(value); return *this;}
101 
105  inline UpdateSuiteDefinitionRequest& WithSuiteDefinitionConfiguration(SuiteDefinitionConfiguration&& value) { SetSuiteDefinitionConfiguration(std::move(value)); return *this;}
106 
107  private:
108 
109  Aws::String m_suiteDefinitionId;
110  bool m_suiteDefinitionIdHasBeenSet;
111 
112  SuiteDefinitionConfiguration m_suiteDefinitionConfiguration;
113  bool m_suiteDefinitionConfigurationHasBeenSet;
114  };
115 
116 } // namespace Model
117 } // namespace IoTDeviceAdvisor
118 } // namespace Aws
Aws::IoTDeviceAdvisor::Model::UpdateSuiteDefinitionRequest::SetSuiteDefinitionConfiguration
void SetSuiteDefinitionConfiguration(SuiteDefinitionConfiguration &&value)
Definition: UpdateSuiteDefinitionRequest.h:95
Aws::IoTDeviceAdvisor::Model::UpdateSuiteDefinitionRequest::SetSuiteDefinitionId
void SetSuiteDefinitionId(Aws::String &&value)
Definition: UpdateSuiteDefinitionRequest.h:54
Aws::IoTDeviceAdvisor::Model::SuiteDefinitionConfiguration
Definition: SuiteDefinitionConfiguration.h:34
Aws::IoTDeviceAdvisor::Model::UpdateSuiteDefinitionRequest::SetSuiteDefinitionId
void SetSuiteDefinitionId(const Aws::String &value)
Definition: UpdateSuiteDefinitionRequest.h:49
Aws::IoTDeviceAdvisor::Model::UpdateSuiteDefinitionRequest::WithSuiteDefinitionId
UpdateSuiteDefinitionRequest & WithSuiteDefinitionId(const Aws::String &value)
Definition: UpdateSuiteDefinitionRequest.h:64
Aws::IoTDeviceAdvisor::Model::UpdateSuiteDefinitionRequest::WithSuiteDefinitionConfiguration
UpdateSuiteDefinitionRequest & WithSuiteDefinitionConfiguration(SuiteDefinitionConfiguration &&value)
Definition: UpdateSuiteDefinitionRequest.h:105
SuiteDefinitionConfiguration.h
AWS_IOTDEVICEADVISOR_API
#define AWS_IOTDEVICEADVISOR_API
Definition: IoTDeviceAdvisor_EXPORTS.h:28
Aws::IoTDeviceAdvisor::Model::UpdateSuiteDefinitionRequest
Definition: UpdateSuiteDefinitionRequest.h:23
Aws::IoTDeviceAdvisor::Model::UpdateSuiteDefinitionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTDeviceAdvisor::Model::UpdateSuiteDefinitionRequest::WithSuiteDefinitionConfiguration
UpdateSuiteDefinitionRequest & WithSuiteDefinitionConfiguration(const SuiteDefinitionConfiguration &value)
Definition: UpdateSuiteDefinitionRequest.h:100
AWSString.h
Aws::IoTDeviceAdvisor::IoTDeviceAdvisorRequest
Definition: IoTDeviceAdvisorRequest.h:17
Aws::IoTDeviceAdvisor::Model::UpdateSuiteDefinitionRequest::GetSuiteDefinitionConfiguration
const SuiteDefinitionConfiguration & GetSuiteDefinitionConfiguration() const
Definition: UpdateSuiteDefinitionRequest.h:80
Aws::IoTDeviceAdvisor::Model::UpdateSuiteDefinitionRequest::SuiteDefinitionConfigurationHasBeenSet
bool SuiteDefinitionConfigurationHasBeenSet() const
Definition: UpdateSuiteDefinitionRequest.h:85
Aws::IoTDeviceAdvisor::Model::UpdateSuiteDefinitionRequest::WithSuiteDefinitionId
UpdateSuiteDefinitionRequest & WithSuiteDefinitionId(Aws::String &&value)
Definition: UpdateSuiteDefinitionRequest.h:69
IoTDeviceAdvisorRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::IoTDeviceAdvisor::Model::UpdateSuiteDefinitionRequest::SetSuiteDefinitionId
void SetSuiteDefinitionId(const char *value)
Definition: UpdateSuiteDefinitionRequest.h:59
Aws::IoTDeviceAdvisor::Model::UpdateSuiteDefinitionRequest::SetSuiteDefinitionConfiguration
void SetSuiteDefinitionConfiguration(const SuiteDefinitionConfiguration &value)
Definition: UpdateSuiteDefinitionRequest.h:90
Aws::IoTDeviceAdvisor::Model::UpdateSuiteDefinitionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateSuiteDefinitionRequest.h:31
Aws::IoTDeviceAdvisor::Model::UpdateSuiteDefinitionRequest::SuiteDefinitionIdHasBeenSet
bool SuiteDefinitionIdHasBeenSet() const
Definition: UpdateSuiteDefinitionRequest.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTDeviceAdvisor::Model::UpdateSuiteDefinitionRequest::GetSuiteDefinitionId
const Aws::String & GetSuiteDefinitionId() const
Definition: UpdateSuiteDefinitionRequest.h:39
IoTDeviceAdvisor_EXPORTS.h
Aws::IoTDeviceAdvisor::Model::UpdateSuiteDefinitionRequest::UpdateSuiteDefinitionRequest
UpdateSuiteDefinitionRequest()
Aws::IoTDeviceAdvisor::Model::UpdateSuiteDefinitionRequest::WithSuiteDefinitionId
UpdateSuiteDefinitionRequest & WithSuiteDefinitionId(const char *value)
Definition: UpdateSuiteDefinitionRequest.h:74