AWS SDK for C++  1.9.104
AWS SDK for C++
DeleteThingTypeRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IoT
15 {
16 namespace Model
17 {
18 
25  {
26  public:
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 "DeleteThingType"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetThingTypeName() const{ return m_thingTypeName; }
42 
46  inline bool ThingTypeNameHasBeenSet() const { return m_thingTypeNameHasBeenSet; }
47 
51  inline void SetThingTypeName(const Aws::String& value) { m_thingTypeNameHasBeenSet = true; m_thingTypeName = value; }
52 
56  inline void SetThingTypeName(Aws::String&& value) { m_thingTypeNameHasBeenSet = true; m_thingTypeName = std::move(value); }
57 
61  inline void SetThingTypeName(const char* value) { m_thingTypeNameHasBeenSet = true; m_thingTypeName.assign(value); }
62 
66  inline DeleteThingTypeRequest& WithThingTypeName(const Aws::String& value) { SetThingTypeName(value); return *this;}
67 
71  inline DeleteThingTypeRequest& WithThingTypeName(Aws::String&& value) { SetThingTypeName(std::move(value)); return *this;}
72 
76  inline DeleteThingTypeRequest& WithThingTypeName(const char* value) { SetThingTypeName(value); return *this;}
77 
78  private:
79 
80  Aws::String m_thingTypeName;
81  bool m_thingTypeNameHasBeenSet;
82  };
83 
84 } // namespace Model
85 } // namespace IoT
86 } // namespace Aws
Aws::IoT::Model::DeleteThingTypeRequest::WithThingTypeName
DeleteThingTypeRequest & WithThingTypeName(const Aws::String &value)
Definition: DeleteThingTypeRequest.h:66
Aws::IoT::Model::DeleteThingTypeRequest::ThingTypeNameHasBeenSet
bool ThingTypeNameHasBeenSet() const
Definition: DeleteThingTypeRequest.h:46
Aws::IoT::Model::DeleteThingTypeRequest
Definition: DeleteThingTypeRequest.h:25
Aws::IoT::Model::DeleteThingTypeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteThingTypeRequest.h:33
Aws::IoT::Model::DeleteThingTypeRequest::WithThingTypeName
DeleteThingTypeRequest & WithThingTypeName(Aws::String &&value)
Definition: DeleteThingTypeRequest.h:71
Aws::IoT::Model::DeleteThingTypeRequest::SetThingTypeName
void SetThingTypeName(const Aws::String &value)
Definition: DeleteThingTypeRequest.h:51
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::DeleteThingTypeRequest::DeleteThingTypeRequest
DeleteThingTypeRequest()
Aws::IoT::Model::DeleteThingTypeRequest::WithThingTypeName
DeleteThingTypeRequest & WithThingTypeName(const char *value)
Definition: DeleteThingTypeRequest.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DeleteThingTypeRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
IoTRequest.h
Aws::IoT::Model::DeleteThingTypeRequest::SetThingTypeName
void SetThingTypeName(const char *value)
Definition: DeleteThingTypeRequest.h:61
Aws::IoT::Model::DeleteThingTypeRequest::GetThingTypeName
const Aws::String & GetThingTypeName() const
Definition: DeleteThingTypeRequest.h:41
Aws::IoT::Model::DeleteThingTypeRequest::SetThingTypeName
void SetThingTypeName(Aws::String &&value)
Definition: DeleteThingTypeRequest.h:56
IoT_EXPORTS.h