AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetResourceEventConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/iotwireless/IoTWireless_EXPORTS.h>
10#include <aws/iotwireless/model/EventNotificationPartnerType.h>
11#include <aws/iotwireless/model/IdentifierType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace IoTWireless {
20namespace Model {
21
25 public:
26 AWS_IOTWIRELESS_API GetResourceEventConfigurationRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "GetResourceEventConfiguration"; }
33
34 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
35
36 AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
37
39
42 inline const Aws::String& GetIdentifier() const { return m_identifier; }
43 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
44 template <typename IdentifierT = Aws::String>
45 void SetIdentifier(IdentifierT&& value) {
46 m_identifierHasBeenSet = true;
47 m_identifier = std::forward<IdentifierT>(value);
48 }
49 template <typename IdentifierT = Aws::String>
51 SetIdentifier(std::forward<IdentifierT>(value));
52 return *this;
53 }
55
57
61 inline IdentifierType GetIdentifierType() const { return m_identifierType; }
62 inline bool IdentifierTypeHasBeenSet() const { return m_identifierTypeHasBeenSet; }
63 inline void SetIdentifierType(IdentifierType value) {
64 m_identifierTypeHasBeenSet = true;
65 m_identifierType = value;
66 }
68 SetIdentifierType(value);
69 return *this;
70 }
72
74
78 inline EventNotificationPartnerType GetPartnerType() const { return m_partnerType; }
79 inline bool PartnerTypeHasBeenSet() const { return m_partnerTypeHasBeenSet; }
81 m_partnerTypeHasBeenSet = true;
82 m_partnerType = value;
83 }
85 SetPartnerType(value);
86 return *this;
87 }
89 private:
90 Aws::String m_identifier;
91
93
95 bool m_identifierHasBeenSet = false;
96 bool m_identifierTypeHasBeenSet = false;
97 bool m_partnerTypeHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace IoTWireless
102} // 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