AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateChannelRequest.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/iotanalytics/IoTAnalyticsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotanalytics/model/ChannelStorage.h>
11#include <aws/iotanalytics/model/RetentionPeriod.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IoTAnalytics
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IOTANALYTICS_API UpdateChannelRequest();
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 "UpdateChannel"; }
33
34 AWS_IOTANALYTICS_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetChannelName() const{ return m_channelName; }
42 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
43 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
44 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
45 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
46 inline UpdateChannelRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
47 inline UpdateChannelRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
48 inline UpdateChannelRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
50
52
58 inline const ChannelStorage& GetChannelStorage() const{ return m_channelStorage; }
59 inline bool ChannelStorageHasBeenSet() const { return m_channelStorageHasBeenSet; }
60 inline void SetChannelStorage(const ChannelStorage& value) { m_channelStorageHasBeenSet = true; m_channelStorage = value; }
61 inline void SetChannelStorage(ChannelStorage&& value) { m_channelStorageHasBeenSet = true; m_channelStorage = std::move(value); }
62 inline UpdateChannelRequest& WithChannelStorage(const ChannelStorage& value) { SetChannelStorage(value); return *this;}
63 inline UpdateChannelRequest& WithChannelStorage(ChannelStorage&& value) { SetChannelStorage(std::move(value)); return *this;}
65
67
71 inline const RetentionPeriod& GetRetentionPeriod() const{ return m_retentionPeriod; }
72 inline bool RetentionPeriodHasBeenSet() const { return m_retentionPeriodHasBeenSet; }
73 inline void SetRetentionPeriod(const RetentionPeriod& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = value; }
74 inline void SetRetentionPeriod(RetentionPeriod&& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = std::move(value); }
75 inline UpdateChannelRequest& WithRetentionPeriod(const RetentionPeriod& value) { SetRetentionPeriod(value); return *this;}
76 inline UpdateChannelRequest& WithRetentionPeriod(RetentionPeriod&& value) { SetRetentionPeriod(std::move(value)); return *this;}
78 private:
79
80 Aws::String m_channelName;
81 bool m_channelNameHasBeenSet = false;
82
83 ChannelStorage m_channelStorage;
84 bool m_channelStorageHasBeenSet = false;
85
86 RetentionPeriod m_retentionPeriod;
87 bool m_retentionPeriodHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace IoTAnalytics
92} // namespace Aws
UpdateChannelRequest & WithRetentionPeriod(RetentionPeriod &&value)
const RetentionPeriod & GetRetentionPeriod() const
void SetChannelStorage(const ChannelStorage &value)
UpdateChannelRequest & WithChannelName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateChannelRequest & WithChannelStorage(ChannelStorage &&value)
AWS_IOTANALYTICS_API Aws::String SerializePayload() const override
UpdateChannelRequest & WithChannelStorage(const ChannelStorage &value)
UpdateChannelRequest & WithChannelName(const Aws::String &value)
UpdateChannelRequest & WithRetentionPeriod(const RetentionPeriod &value)
void SetRetentionPeriod(const RetentionPeriod &value)
UpdateChannelRequest & WithChannelName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String