AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
43 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
44 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
45 inline UpdateTopicRuleDestinationRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline UpdateTopicRuleDestinationRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline UpdateTopicRuleDestinationRequest& WithArn(const char* value) { SetArn(value); return *this;}
49
51
71 inline const TopicRuleDestinationStatus& GetStatus() const{ return m_status; }
72 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
73 inline void SetStatus(const TopicRuleDestinationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
74 inline void SetStatus(TopicRuleDestinationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
76 inline UpdateTopicRuleDestinationRequest& WithStatus(TopicRuleDestinationStatus&& value) { SetStatus(std::move(value)); return *this;}
78 private:
79
80 Aws::String m_arn;
81 bool m_arnHasBeenSet = false;
82
84 bool m_statusHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace IoT
89} // namespace Aws
UpdateTopicRuleDestinationRequest & WithArn(Aws::String &&value)
void SetStatus(const TopicRuleDestinationStatus &value)
AWS_IOT_API Aws::String SerializePayload() const override
UpdateTopicRuleDestinationRequest & WithStatus(TopicRuleDestinationStatus &&value)
UpdateTopicRuleDestinationRequest & WithStatus(const TopicRuleDestinationStatus &value)
UpdateTopicRuleDestinationRequest & WithArn(const Aws::String &value)
UpdateTopicRuleDestinationRequest & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String