AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
50 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
51 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
53 inline GetResourceEventConfigurationRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
54 inline GetResourceEventConfigurationRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
56
58
62 inline const IdentifierType& GetIdentifierType() const{ return m_identifierType; }
63 inline bool IdentifierTypeHasBeenSet() const { return m_identifierTypeHasBeenSet; }
64 inline void SetIdentifierType(const IdentifierType& value) { m_identifierTypeHasBeenSet = true; m_identifierType = value; }
65 inline void SetIdentifierType(IdentifierType&& value) { m_identifierTypeHasBeenSet = true; m_identifierType = std::move(value); }
69
71
75 inline const EventNotificationPartnerType& GetPartnerType() const{ return m_partnerType; }
76 inline bool PartnerTypeHasBeenSet() const { return m_partnerTypeHasBeenSet; }
77 inline void SetPartnerType(const EventNotificationPartnerType& value) { m_partnerTypeHasBeenSet = true; m_partnerType = value; }
78 inline void SetPartnerType(EventNotificationPartnerType&& value) { m_partnerTypeHasBeenSet = true; m_partnerType = std::move(value); }
82 private:
83
84 Aws::String m_identifier;
85 bool m_identifierHasBeenSet = false;
86
87 IdentifierType m_identifierType;
88 bool m_identifierTypeHasBeenSet = false;
89
90 EventNotificationPartnerType m_partnerType;
91 bool m_partnerTypeHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace IoTWireless
96} // namespace Aws
GetResourceEventConfigurationRequest & WithIdentifier(const char *value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
GetResourceEventConfigurationRequest & WithIdentifier(const Aws::String &value)
GetResourceEventConfigurationRequest & WithIdentifierType(IdentifierType &&value)
GetResourceEventConfigurationRequest & WithPartnerType(EventNotificationPartnerType &&value)
GetResourceEventConfigurationRequest & WithIdentifier(Aws::String &&value)
GetResourceEventConfigurationRequest & WithIdentifierType(const IdentifierType &value)
GetResourceEventConfigurationRequest & WithPartnerType(const 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