AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetResourceEventConfigurationRequest.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotwireless/model/IdentifierType.h>
11#include <aws/iotwireless/model/EventNotificationPartnerType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace IoTWireless
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_IOTWIRELESS_API GetResourceEventConfigurationRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "GetResourceEventConfiguration"; }
37
38 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
39
40 AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
47 inline const Aws::String& GetIdentifier() const { return m_identifier; }
48 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
49 template<typename IdentifierT = Aws::String>
50 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
51 template<typename IdentifierT = Aws::String>
52 GetResourceEventConfigurationRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
54
56
60 inline IdentifierType GetIdentifierType() const { return m_identifierType; }
61 inline bool IdentifierTypeHasBeenSet() const { return m_identifierTypeHasBeenSet; }
62 inline void SetIdentifierType(IdentifierType value) { m_identifierTypeHasBeenSet = true; m_identifierType = value; }
65
67
71 inline EventNotificationPartnerType GetPartnerType() const { return m_partnerType; }
72 inline bool PartnerTypeHasBeenSet() const { return m_partnerTypeHasBeenSet; }
73 inline void SetPartnerType(EventNotificationPartnerType value) { m_partnerTypeHasBeenSet = true; m_partnerType = value; }
76 private:
77
78 Aws::String m_identifier;
79 bool m_identifierHasBeenSet = false;
80
82 bool m_identifierTypeHasBeenSet = false;
83
85 bool m_partnerTypeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace IoTWireless
90} // namespace Aws
GetResourceEventConfigurationRequest & WithIdentifier(IdentifierT &&value)
GetResourceEventConfigurationRequest & WithIdentifierType(IdentifierType value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
AWS_IOTWIRELESS_API GetResourceEventConfigurationRequest()=default
GetResourceEventConfigurationRequest & WithPartnerType(EventNotificationPartnerType value)
AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String