AWS SDK for C++  1.9.123
AWS SDK for C++
DescribeChannelRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace IoTAnalytics
19 {
20 namespace Model
21 {
22 
26  {
27  public:
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 "DescribeChannel"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetChannelName() const{ return m_channelName; }
45 
49  inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
50 
54  inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
55 
59  inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
60 
64  inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
65 
69  inline DescribeChannelRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
70 
74  inline DescribeChannelRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
75 
79  inline DescribeChannelRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
80 
81 
87  inline bool GetIncludeStatistics() const{ return m_includeStatistics; }
88 
94  inline bool IncludeStatisticsHasBeenSet() const { return m_includeStatisticsHasBeenSet; }
95 
101  inline void SetIncludeStatistics(bool value) { m_includeStatisticsHasBeenSet = true; m_includeStatistics = value; }
102 
108  inline DescribeChannelRequest& WithIncludeStatistics(bool value) { SetIncludeStatistics(value); return *this;}
109 
110  private:
111 
112  Aws::String m_channelName;
113  bool m_channelNameHasBeenSet;
114 
115  bool m_includeStatistics;
116  bool m_includeStatisticsHasBeenSet;
117  };
118 
119 } // namespace Model
120 } // namespace IoTAnalytics
121 } // namespace Aws
Aws::IoTAnalytics::Model::DescribeChannelRequest::GetChannelName
const Aws::String & GetChannelName() const
Definition: DescribeChannelRequest.h:44
Aws::Http::URI
Definition: URI.h:32
Aws::IoTAnalytics::Model::DescribeChannelRequest::WithChannelName
DescribeChannelRequest & WithChannelName(Aws::String &&value)
Definition: DescribeChannelRequest.h:74
Aws::IoTAnalytics::Model::DescribeChannelRequest::IncludeStatisticsHasBeenSet
bool IncludeStatisticsHasBeenSet() const
Definition: DescribeChannelRequest.h:94
Aws::IoTAnalytics::Model::DescribeChannelRequest::WithIncludeStatistics
DescribeChannelRequest & WithIncludeStatistics(bool value)
Definition: DescribeChannelRequest.h:108
AWS_IOTANALYTICS_API
#define AWS_IOTANALYTICS_API
Definition: IoTAnalytics_EXPORTS.h:28
Aws::IoTAnalytics::Model::DescribeChannelRequest::WithChannelName
DescribeChannelRequest & WithChannelName(const char *value)
Definition: DescribeChannelRequest.h:79
Aws::IoTAnalytics::Model::DescribeChannelRequest::DescribeChannelRequest
DescribeChannelRequest()
Aws::IoTAnalytics::Model::DescribeChannelRequest
Definition: DescribeChannelRequest.h:26
Aws::IoTAnalytics::Model::DescribeChannelRequest::SetChannelName
void SetChannelName(const char *value)
Definition: DescribeChannelRequest.h:64
Aws::IoTAnalytics::Model::DescribeChannelRequest::ChannelNameHasBeenSet
bool ChannelNameHasBeenSet() const
Definition: DescribeChannelRequest.h:49
Aws::IoTAnalytics::IoTAnalyticsRequest
Definition: IoTAnalyticsRequest.h:17
IoTAnalyticsRequest.h
Aws::IoTAnalytics::Model::DescribeChannelRequest::GetIncludeStatistics
bool GetIncludeStatistics() const
Definition: DescribeChannelRequest.h:87
AWSString.h
Aws::IoTAnalytics::Model::DescribeChannelRequest::SetIncludeStatistics
void SetIncludeStatistics(bool value)
Definition: DescribeChannelRequest.h:101
Aws::IoTAnalytics::Model::DescribeChannelRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeChannelRequest.h:34
Aws::IoTAnalytics::Model::DescribeChannelRequest::SetChannelName
void SetChannelName(Aws::String &&value)
Definition: DescribeChannelRequest.h:59
Aws::IoTAnalytics::Model::DescribeChannelRequest::SetChannelName
void SetChannelName(const Aws::String &value)
Definition: DescribeChannelRequest.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::IoTAnalytics::Model::DescribeChannelRequest::WithChannelName
DescribeChannelRequest & WithChannelName(const Aws::String &value)
Definition: DescribeChannelRequest.h:69
Aws::IoTAnalytics::Model::DescribeChannelRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
IoTAnalytics_EXPORTS.h
Aws::IoTAnalytics::Model::DescribeChannelRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override