AWS SDK for C++  1.9.123
AWS SDK for C++
TopicRuleDestinationConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoT
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const HttpUrlDestinationConfiguration& GetHttpUrlConfiguration() const{ return m_httpUrlConfiguration; }
45 
49  inline bool HttpUrlConfigurationHasBeenSet() const { return m_httpUrlConfigurationHasBeenSet; }
50 
54  inline void SetHttpUrlConfiguration(const HttpUrlDestinationConfiguration& value) { m_httpUrlConfigurationHasBeenSet = true; m_httpUrlConfiguration = value; }
55 
59  inline void SetHttpUrlConfiguration(HttpUrlDestinationConfiguration&& value) { m_httpUrlConfigurationHasBeenSet = true; m_httpUrlConfiguration = std::move(value); }
60 
64  inline TopicRuleDestinationConfiguration& WithHttpUrlConfiguration(const HttpUrlDestinationConfiguration& value) { SetHttpUrlConfiguration(value); return *this;}
65 
69  inline TopicRuleDestinationConfiguration& WithHttpUrlConfiguration(HttpUrlDestinationConfiguration&& value) { SetHttpUrlConfiguration(std::move(value)); return *this;}
70 
71 
75  inline const VpcDestinationConfiguration& GetVpcConfiguration() const{ return m_vpcConfiguration; }
76 
80  inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }
81 
85  inline void SetVpcConfiguration(const VpcDestinationConfiguration& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = value; }
86 
90  inline void SetVpcConfiguration(VpcDestinationConfiguration&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::move(value); }
91 
95  inline TopicRuleDestinationConfiguration& WithVpcConfiguration(const VpcDestinationConfiguration& value) { SetVpcConfiguration(value); return *this;}
96 
100  inline TopicRuleDestinationConfiguration& WithVpcConfiguration(VpcDestinationConfiguration&& value) { SetVpcConfiguration(std::move(value)); return *this;}
101 
102  private:
103 
104  HttpUrlDestinationConfiguration m_httpUrlConfiguration;
105  bool m_httpUrlConfigurationHasBeenSet;
106 
107  VpcDestinationConfiguration m_vpcConfiguration;
108  bool m_vpcConfigurationHasBeenSet;
109  };
110 
111 } // namespace Model
112 } // namespace IoT
113 } // namespace Aws
HttpUrlDestinationConfiguration.h
Aws::IoT::Model::TopicRuleDestinationConfiguration::WithHttpUrlConfiguration
TopicRuleDestinationConfiguration & WithHttpUrlConfiguration(HttpUrlDestinationConfiguration &&value)
Definition: TopicRuleDestinationConfiguration.h:69
Aws::IoT::Model::TopicRuleDestinationConfiguration::WithVpcConfiguration
TopicRuleDestinationConfiguration & WithVpcConfiguration(const VpcDestinationConfiguration &value)
Definition: TopicRuleDestinationConfiguration.h:95
Aws::IoT::Model::TopicRuleDestinationConfiguration::operator=
TopicRuleDestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::VpcDestinationConfiguration
Definition: VpcDestinationConfiguration.h:34
Aws::IoT::Model::TopicRuleDestinationConfiguration::WithVpcConfiguration
TopicRuleDestinationConfiguration & WithVpcConfiguration(VpcDestinationConfiguration &&value)
Definition: TopicRuleDestinationConfiguration.h:100
Aws::IoT::Model::TopicRuleDestinationConfiguration
Definition: TopicRuleDestinationConfiguration.h:33
Aws::IoT::Model::TopicRuleDestinationConfiguration::VpcConfigurationHasBeenSet
bool VpcConfigurationHasBeenSet() const
Definition: TopicRuleDestinationConfiguration.h:80
Aws::IoT::Model::TopicRuleDestinationConfiguration::SetVpcConfiguration
void SetVpcConfiguration(VpcDestinationConfiguration &&value)
Definition: TopicRuleDestinationConfiguration.h:90
Aws::IoT::Model::TopicRuleDestinationConfiguration::GetVpcConfiguration
const VpcDestinationConfiguration & GetVpcConfiguration() const
Definition: TopicRuleDestinationConfiguration.h:75
Aws::IoT::Model::TopicRuleDestinationConfiguration::GetHttpUrlConfiguration
const HttpUrlDestinationConfiguration & GetHttpUrlConfiguration() const
Definition: TopicRuleDestinationConfiguration.h:44
VpcDestinationConfiguration.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::TopicRuleDestinationConfiguration::SetVpcConfiguration
void SetVpcConfiguration(const VpcDestinationConfiguration &value)
Definition: TopicRuleDestinationConfiguration.h:85
Aws::IoT::Model::TopicRuleDestinationConfiguration::HttpUrlConfigurationHasBeenSet
bool HttpUrlConfigurationHasBeenSet() const
Definition: TopicRuleDestinationConfiguration.h:49
Aws::IoT::Model::TopicRuleDestinationConfiguration::WithHttpUrlConfiguration
TopicRuleDestinationConfiguration & WithHttpUrlConfiguration(const HttpUrlDestinationConfiguration &value)
Definition: TopicRuleDestinationConfiguration.h:64
Aws::IoT::Model::TopicRuleDestinationConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::TopicRuleDestinationConfiguration::SetHttpUrlConfiguration
void SetHttpUrlConfiguration(const HttpUrlDestinationConfiguration &value)
Definition: TopicRuleDestinationConfiguration.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::TopicRuleDestinationConfiguration::TopicRuleDestinationConfiguration
TopicRuleDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::HttpUrlDestinationConfiguration
Definition: HttpUrlDestinationConfiguration.h:33
Aws::IoT::Model::TopicRuleDestinationConfiguration::TopicRuleDestinationConfiguration
TopicRuleDestinationConfiguration()
Aws::IoT::Model::TopicRuleDestinationConfiguration::SetHttpUrlConfiguration
void SetHttpUrlConfiguration(HttpUrlDestinationConfiguration &&value)
Definition: TopicRuleDestinationConfiguration.h:59
IoT_EXPORTS.h