AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
UpdateTopicRuleDestinationRequest.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#include <aws/iot/model/TopicRuleDestinationStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace IoT {
16namespace Model {
17
21 public:
22 AWS_IOT_API UpdateTopicRuleDestinationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateTopicRuleDestination"; }
29
30 AWS_IOT_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetArn() const { return m_arn; }
37 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
38 template <typename ArnT = Aws::String>
39 void SetArn(ArnT&& value) {
40 m_arnHasBeenSet = true;
41 m_arn = std::forward<ArnT>(value);
42 }
43 template <typename ArnT = Aws::String>
45 SetArn(std::forward<ArnT>(value));
46 return *this;
47 }
49
51
71 inline TopicRuleDestinationStatus GetStatus() const { return m_status; }
72 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
74 m_statusHasBeenSet = true;
75 m_status = value;
76 }
78 SetStatus(value);
79 return *this;
80 }
82 private:
83 Aws::String m_arn;
84 bool m_arnHasBeenSet = false;
85
87 bool m_statusHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace IoT
92} // 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