AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateTopicRuleDestinationRequest.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 <aws/iot/model/TopicRuleDestinationStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IoT
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOT_API UpdateTopicRuleDestinationRequest() = default;
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 "UpdateTopicRuleDestination"; }
32
33 AWS_IOT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template<typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
44 template<typename ArnT = Aws::String>
45 UpdateTopicRuleDestinationRequest& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
47
49
69 inline TopicRuleDestinationStatus GetStatus() const { return m_status; }
70 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
71 inline void SetStatus(TopicRuleDestinationStatus value) { m_statusHasBeenSet = true; m_status = value; }
74 private:
75
76 Aws::String m_arn;
77 bool m_arnHasBeenSet = false;
78
80 bool m_statusHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace IoT
85} // namespace Aws
AWS_IOT_API Aws::String SerializePayload() const override
UpdateTopicRuleDestinationRequest & WithArn(ArnT &&value)
UpdateTopicRuleDestinationRequest & WithStatus(TopicRuleDestinationStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String