AWS SDK for C++

AWS SDK for C++ Version 1.11.753

Loading...
Searching...
No Matches
DeleteCommandExecutionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/iot/IoT_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace IoT {
18namespace Model {
19
23 public:
24 AWS_IOT_API DeleteCommandExecutionRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteCommandExecution"; }
31
32 AWS_IOT_API Aws::String SerializePayload() const override;
33
34 AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
41 inline const Aws::String& GetExecutionId() const { return m_executionId; }
42 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
43 template <typename ExecutionIdT = Aws::String>
44 void SetExecutionId(ExecutionIdT&& value) {
45 m_executionIdHasBeenSet = true;
46 m_executionId = std::forward<ExecutionIdT>(value);
47 }
48 template <typename ExecutionIdT = Aws::String>
50 SetExecutionId(std::forward<ExecutionIdT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetTargetArn() const { return m_targetArn; }
61 inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; }
62 template <typename TargetArnT = Aws::String>
63 void SetTargetArn(TargetArnT&& value) {
64 m_targetArnHasBeenSet = true;
65 m_targetArn = std::forward<TargetArnT>(value);
66 }
67 template <typename TargetArnT = Aws::String>
69 SetTargetArn(std::forward<TargetArnT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_executionId;
75
76 Aws::String m_targetArn;
77 bool m_executionIdHasBeenSet = false;
78 bool m_targetArnHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace IoT
83} // namespace Aws
DeleteCommandExecutionRequest & WithTargetArn(TargetArnT &&value)
DeleteCommandExecutionRequest & WithExecutionId(ExecutionIdT &&value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
AWS_IOT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String