AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTopicRuleResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/TopicRule.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoT
25{
26namespace Model
27{
34 {
35 public:
36 AWS_IOT_API GetTopicRuleResult();
39
40
42
45 inline const Aws::String& GetRuleArn() const{ return m_ruleArn; }
46 inline void SetRuleArn(const Aws::String& value) { m_ruleArn = value; }
47 inline void SetRuleArn(Aws::String&& value) { m_ruleArn = std::move(value); }
48 inline void SetRuleArn(const char* value) { m_ruleArn.assign(value); }
49 inline GetTopicRuleResult& WithRuleArn(const Aws::String& value) { SetRuleArn(value); return *this;}
50 inline GetTopicRuleResult& WithRuleArn(Aws::String&& value) { SetRuleArn(std::move(value)); return *this;}
51 inline GetTopicRuleResult& WithRuleArn(const char* value) { SetRuleArn(value); return *this;}
53
55
58 inline const TopicRule& GetRule() const{ return m_rule; }
59 inline void SetRule(const TopicRule& value) { m_rule = value; }
60 inline void SetRule(TopicRule&& value) { m_rule = std::move(value); }
61 inline GetTopicRuleResult& WithRule(const TopicRule& value) { SetRule(value); return *this;}
62 inline GetTopicRuleResult& WithRule(TopicRule&& value) { SetRule(std::move(value)); return *this;}
64
66
67 inline const Aws::String& GetRequestId() const{ return m_requestId; }
68 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
69 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
70 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
71 inline GetTopicRuleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline GetTopicRuleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline GetTopicRuleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
77 Aws::String m_ruleArn;
78
79 TopicRule m_rule;
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace IoT
86} // namespace Aws
void SetRequestId(Aws::String &&value)
void SetRuleArn(const Aws::String &value)
GetTopicRuleResult & WithRequestId(const char *value)
AWS_IOT_API GetTopicRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRule(const TopicRule &value)
GetTopicRuleResult & WithRequestId(const Aws::String &value)
GetTopicRuleResult & WithRuleArn(Aws::String &&value)
GetTopicRuleResult & WithRequestId(Aws::String &&value)
const Aws::String & GetRequestId() const
void SetRuleArn(Aws::String &&value)
void SetRequestId(const Aws::String &value)
GetTopicRuleResult & WithRule(TopicRule &&value)
GetTopicRuleResult & WithRule(const TopicRule &value)
AWS_IOT_API GetTopicRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTopicRuleResult & WithRuleArn(const Aws::String &value)
const Aws::String & GetRuleArn() const
GetTopicRuleResult & WithRuleArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue