AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisableEnhancedMonitoringRequest.h
1
6#pragma once
7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/kinesis/KinesisRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/kinesis/model/MetricsName.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Kinesis
17{
18namespace Model
19{
20
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 "DisableEnhancedMonitoring"; }
37
38 AWS_KINESIS_API Aws::String SerializePayload() const override;
39
41
45 AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override;
46
48
52 inline const Aws::String& GetStreamName() const{ return m_streamName; }
53 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
54 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
55 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
56 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
57 inline DisableEnhancedMonitoringRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
58 inline DisableEnhancedMonitoringRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
59 inline DisableEnhancedMonitoringRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
61
63
77 inline const Aws::Vector<MetricsName>& GetShardLevelMetrics() const{ return m_shardLevelMetrics; }
78 inline bool ShardLevelMetricsHasBeenSet() const { return m_shardLevelMetricsHasBeenSet; }
79 inline void SetShardLevelMetrics(const Aws::Vector<MetricsName>& value) { m_shardLevelMetricsHasBeenSet = true; m_shardLevelMetrics = value; }
80 inline void SetShardLevelMetrics(Aws::Vector<MetricsName>&& value) { m_shardLevelMetricsHasBeenSet = true; m_shardLevelMetrics = std::move(value); }
83 inline DisableEnhancedMonitoringRequest& AddShardLevelMetrics(const MetricsName& value) { m_shardLevelMetricsHasBeenSet = true; m_shardLevelMetrics.push_back(value); return *this; }
84 inline DisableEnhancedMonitoringRequest& AddShardLevelMetrics(MetricsName&& value) { m_shardLevelMetricsHasBeenSet = true; m_shardLevelMetrics.push_back(std::move(value)); return *this; }
86
88
91 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
92 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
93 inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
94 inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
95 inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
96 inline DisableEnhancedMonitoringRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
97 inline DisableEnhancedMonitoringRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
98 inline DisableEnhancedMonitoringRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
100 private:
101
102 Aws::String m_streamName;
103 bool m_streamNameHasBeenSet = false;
104
105 Aws::Vector<MetricsName> m_shardLevelMetrics;
106 bool m_shardLevelMetricsHasBeenSet = false;
107
108 Aws::String m_streamARN;
109 bool m_streamARNHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Kinesis
114} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
void SetShardLevelMetrics(const Aws::Vector< MetricsName > &value)
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override
DisableEnhancedMonitoringRequest & WithStreamARN(Aws::String &&value)
DisableEnhancedMonitoringRequest & AddShardLevelMetrics(const MetricsName &value)
DisableEnhancedMonitoringRequest & WithStreamARN(const char *value)
DisableEnhancedMonitoringRequest & AddShardLevelMetrics(MetricsName &&value)
DisableEnhancedMonitoringRequest & WithStreamName(const Aws::String &value)
AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DisableEnhancedMonitoringRequest & WithStreamName(const char *value)
DisableEnhancedMonitoringRequest & WithStreamARN(const Aws::String &value)
DisableEnhancedMonitoringRequest & WithShardLevelMetrics(Aws::Vector< MetricsName > &&value)
DisableEnhancedMonitoringRequest & WithShardLevelMetrics(const Aws::Vector< MetricsName > &value)
AWS_KINESIS_API Aws::String SerializePayload() const override
DisableEnhancedMonitoringRequest & WithStreamName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector