AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteOTAUpdateRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace IoT
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DeleteOTAUpdate"; }
35
36 AWS_IOT_API Aws::String SerializePayload() const override;
37
38 AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetOtaUpdateId() const{ return m_otaUpdateId; }
46 inline bool OtaUpdateIdHasBeenSet() const { return m_otaUpdateIdHasBeenSet; }
47 inline void SetOtaUpdateId(const Aws::String& value) { m_otaUpdateIdHasBeenSet = true; m_otaUpdateId = value; }
48 inline void SetOtaUpdateId(Aws::String&& value) { m_otaUpdateIdHasBeenSet = true; m_otaUpdateId = std::move(value); }
49 inline void SetOtaUpdateId(const char* value) { m_otaUpdateIdHasBeenSet = true; m_otaUpdateId.assign(value); }
50 inline DeleteOTAUpdateRequest& WithOtaUpdateId(const Aws::String& value) { SetOtaUpdateId(value); return *this;}
51 inline DeleteOTAUpdateRequest& WithOtaUpdateId(Aws::String&& value) { SetOtaUpdateId(std::move(value)); return *this;}
52 inline DeleteOTAUpdateRequest& WithOtaUpdateId(const char* value) { SetOtaUpdateId(value); return *this;}
54
56
61 inline bool GetDeleteStream() const{ return m_deleteStream; }
62 inline bool DeleteStreamHasBeenSet() const { return m_deleteStreamHasBeenSet; }
63 inline void SetDeleteStream(bool value) { m_deleteStreamHasBeenSet = true; m_deleteStream = value; }
64 inline DeleteOTAUpdateRequest& WithDeleteStream(bool value) { SetDeleteStream(value); return *this;}
66
68
73 inline bool GetForceDeleteAWSJob() const{ return m_forceDeleteAWSJob; }
74 inline bool ForceDeleteAWSJobHasBeenSet() const { return m_forceDeleteAWSJobHasBeenSet; }
75 inline void SetForceDeleteAWSJob(bool value) { m_forceDeleteAWSJobHasBeenSet = true; m_forceDeleteAWSJob = value; }
76 inline DeleteOTAUpdateRequest& WithForceDeleteAWSJob(bool value) { SetForceDeleteAWSJob(value); return *this;}
78 private:
79
80 Aws::String m_otaUpdateId;
81 bool m_otaUpdateIdHasBeenSet = false;
82
83 bool m_deleteStream;
84 bool m_deleteStreamHasBeenSet = false;
85
86 bool m_forceDeleteAWSJob;
87 bool m_forceDeleteAWSJobHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace IoT
92} // namespace Aws
AWS_IOT_API Aws::String SerializePayload() const override
DeleteOTAUpdateRequest & WithDeleteStream(bool value)
DeleteOTAUpdateRequest & WithOtaUpdateId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetOtaUpdateId(const Aws::String &value)
DeleteOTAUpdateRequest & WithOtaUpdateId(const char *value)
DeleteOTAUpdateRequest & WithOtaUpdateId(const Aws::String &value)
DeleteOTAUpdateRequest & WithForceDeleteAWSJob(bool value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String