AWS SDK for C++  1.9.104
AWS SDK for C++
CreateTopicRuleDestinationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IoT
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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 "CreateTopicRuleDestination"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const TopicRuleDestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; }
39 
43  inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
44 
48  inline void SetDestinationConfiguration(const TopicRuleDestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; }
49 
53  inline void SetDestinationConfiguration(TopicRuleDestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); }
54 
58  inline CreateTopicRuleDestinationRequest& WithDestinationConfiguration(const TopicRuleDestinationConfiguration& value) { SetDestinationConfiguration(value); return *this;}
59 
63  inline CreateTopicRuleDestinationRequest& WithDestinationConfiguration(TopicRuleDestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;}
64 
65  private:
66 
67  TopicRuleDestinationConfiguration m_destinationConfiguration;
68  bool m_destinationConfigurationHasBeenSet;
69  };
70 
71 } // namespace Model
72 } // namespace IoT
73 } // namespace Aws
Aws::IoT::Model::CreateTopicRuleDestinationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::CreateTopicRuleDestinationRequest::SetDestinationConfiguration
void SetDestinationConfiguration(TopicRuleDestinationConfiguration &&value)
Definition: CreateTopicRuleDestinationRequest.h:53
Aws::IoT::Model::CreateTopicRuleDestinationRequest::GetDestinationConfiguration
const TopicRuleDestinationConfiguration & GetDestinationConfiguration() const
Definition: CreateTopicRuleDestinationRequest.h:38
Aws::IoT::Model::CreateTopicRuleDestinationRequest::DestinationConfigurationHasBeenSet
bool DestinationConfigurationHasBeenSet() const
Definition: CreateTopicRuleDestinationRequest.h:43
Aws::IoT::Model::CreateTopicRuleDestinationRequest::CreateTopicRuleDestinationRequest
CreateTopicRuleDestinationRequest()
Aws::IoT::Model::CreateTopicRuleDestinationRequest
Definition: CreateTopicRuleDestinationRequest.h:22
Aws::IoT::Model::TopicRuleDestinationConfiguration
Definition: TopicRuleDestinationConfiguration.h:33
Aws::IoT::Model::CreateTopicRuleDestinationRequest::WithDestinationConfiguration
CreateTopicRuleDestinationRequest & WithDestinationConfiguration(TopicRuleDestinationConfiguration &&value)
Definition: CreateTopicRuleDestinationRequest.h:63
Aws::IoT::Model::CreateTopicRuleDestinationRequest::WithDestinationConfiguration
CreateTopicRuleDestinationRequest & WithDestinationConfiguration(const TopicRuleDestinationConfiguration &value)
Definition: CreateTopicRuleDestinationRequest.h:58
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::CreateTopicRuleDestinationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateTopicRuleDestinationRequest.h:30
IoTRequest.h
TopicRuleDestinationConfiguration.h
IoT_EXPORTS.h
Aws::IoT::Model::CreateTopicRuleDestinationRequest::SetDestinationConfiguration
void SetDestinationConfiguration(const TopicRuleDestinationConfiguration &value)
Definition: CreateTopicRuleDestinationRequest.h:48