AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutDeliveryChannelRequest.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/ConfigServiceRequest.h>
9#include <aws/config/model/DeliveryChannel.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ConfigService
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_CONFIGSERVICE_API PutDeliveryChannelRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "PutDeliveryChannel"; }
35
36 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
37
38 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
46 inline const DeliveryChannel& GetDeliveryChannel() const{ return m_deliveryChannel; }
47 inline bool DeliveryChannelHasBeenSet() const { return m_deliveryChannelHasBeenSet; }
48 inline void SetDeliveryChannel(const DeliveryChannel& value) { m_deliveryChannelHasBeenSet = true; m_deliveryChannel = value; }
49 inline void SetDeliveryChannel(DeliveryChannel&& value) { m_deliveryChannelHasBeenSet = true; m_deliveryChannel = std::move(value); }
51 inline PutDeliveryChannelRequest& WithDeliveryChannel(DeliveryChannel&& value) { SetDeliveryChannel(std::move(value)); return *this;}
53 private:
54
55 DeliveryChannel m_deliveryChannel;
56 bool m_deliveryChannelHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace ConfigService
61} // namespace Aws
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
PutDeliveryChannelRequest & WithDeliveryChannel(DeliveryChannel &&value)
PutDeliveryChannelRequest & WithDeliveryChannel(const DeliveryChannel &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String