AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisableEnhancedMonitoringResult.h
1
6#pragma once
7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kinesis/model/MetricsName.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Kinesis
26{
27namespace Model
28{
36 {
37 public:
41
42
44
47 inline const Aws::String& GetStreamName() const{ return m_streamName; }
48 inline void SetStreamName(const Aws::String& value) { m_streamName = value; }
49 inline void SetStreamName(Aws::String&& value) { m_streamName = std::move(value); }
50 inline void SetStreamName(const char* value) { m_streamName.assign(value); }
51 inline DisableEnhancedMonitoringResult& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
52 inline DisableEnhancedMonitoringResult& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
53 inline DisableEnhancedMonitoringResult& WithStreamName(const char* value) { SetStreamName(value); return *this;}
55
57
61 inline const Aws::Vector<MetricsName>& GetCurrentShardLevelMetrics() const{ return m_currentShardLevelMetrics; }
62 inline void SetCurrentShardLevelMetrics(const Aws::Vector<MetricsName>& value) { m_currentShardLevelMetrics = value; }
63 inline void SetCurrentShardLevelMetrics(Aws::Vector<MetricsName>&& value) { m_currentShardLevelMetrics = std::move(value); }
66 inline DisableEnhancedMonitoringResult& AddCurrentShardLevelMetrics(const MetricsName& value) { m_currentShardLevelMetrics.push_back(value); return *this; }
67 inline DisableEnhancedMonitoringResult& AddCurrentShardLevelMetrics(MetricsName&& value) { m_currentShardLevelMetrics.push_back(std::move(value)); return *this; }
69
71
75 inline const Aws::Vector<MetricsName>& GetDesiredShardLevelMetrics() const{ return m_desiredShardLevelMetrics; }
76 inline void SetDesiredShardLevelMetrics(const Aws::Vector<MetricsName>& value) { m_desiredShardLevelMetrics = value; }
77 inline void SetDesiredShardLevelMetrics(Aws::Vector<MetricsName>&& value) { m_desiredShardLevelMetrics = std::move(value); }
80 inline DisableEnhancedMonitoringResult& AddDesiredShardLevelMetrics(const MetricsName& value) { m_desiredShardLevelMetrics.push_back(value); return *this; }
81 inline DisableEnhancedMonitoringResult& AddDesiredShardLevelMetrics(MetricsName&& value) { m_desiredShardLevelMetrics.push_back(std::move(value)); return *this; }
83
85
88 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
89 inline void SetStreamARN(const Aws::String& value) { m_streamARN = value; }
90 inline void SetStreamARN(Aws::String&& value) { m_streamARN = std::move(value); }
91 inline void SetStreamARN(const char* value) { m_streamARN.assign(value); }
92 inline DisableEnhancedMonitoringResult& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
93 inline DisableEnhancedMonitoringResult& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
94 inline DisableEnhancedMonitoringResult& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
96
98
99 inline const Aws::String& GetRequestId() const{ return m_requestId; }
100 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
101 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
102 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
103 inline DisableEnhancedMonitoringResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
104 inline DisableEnhancedMonitoringResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
105 inline DisableEnhancedMonitoringResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
107 private:
108
109 Aws::String m_streamName;
110
111 Aws::Vector<MetricsName> m_currentShardLevelMetrics;
112
113 Aws::Vector<MetricsName> m_desiredShardLevelMetrics;
114
115 Aws::String m_streamARN;
116
117 Aws::String m_requestId;
118 };
119
120} // namespace Model
121} // namespace Kinesis
122} // namespace Aws
DisableEnhancedMonitoringResult & WithStreamName(const char *value)
DisableEnhancedMonitoringResult & WithCurrentShardLevelMetrics(const Aws::Vector< MetricsName > &value)
DisableEnhancedMonitoringResult & WithCurrentShardLevelMetrics(Aws::Vector< MetricsName > &&value)
DisableEnhancedMonitoringResult & WithDesiredShardLevelMetrics(const Aws::Vector< MetricsName > &value)
DisableEnhancedMonitoringResult & WithRequestId(const char *value)
DisableEnhancedMonitoringResult & WithStreamName(const Aws::String &value)
const Aws::Vector< MetricsName > & GetDesiredShardLevelMetrics() const
void SetCurrentShardLevelMetrics(Aws::Vector< MetricsName > &&value)
AWS_KINESIS_API DisableEnhancedMonitoringResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisableEnhancedMonitoringResult & WithStreamARN(const Aws::String &value)
DisableEnhancedMonitoringResult & AddCurrentShardLevelMetrics(MetricsName &&value)
const Aws::Vector< MetricsName > & GetCurrentShardLevelMetrics() const
void SetDesiredShardLevelMetrics(Aws::Vector< MetricsName > &&value)
void SetCurrentShardLevelMetrics(const Aws::Vector< MetricsName > &value)
DisableEnhancedMonitoringResult & AddDesiredShardLevelMetrics(MetricsName &&value)
DisableEnhancedMonitoringResult & AddDesiredShardLevelMetrics(const MetricsName &value)
DisableEnhancedMonitoringResult & WithStreamARN(const char *value)
DisableEnhancedMonitoringResult & WithDesiredShardLevelMetrics(Aws::Vector< MetricsName > &&value)
DisableEnhancedMonitoringResult & WithStreamName(Aws::String &&value)
AWS_KINESIS_API DisableEnhancedMonitoringResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDesiredShardLevelMetrics(const Aws::Vector< MetricsName > &value)
DisableEnhancedMonitoringResult & WithRequestId(Aws::String &&value)
DisableEnhancedMonitoringResult & WithRequestId(const Aws::String &value)
DisableEnhancedMonitoringResult & WithStreamARN(Aws::String &&value)
DisableEnhancedMonitoringResult & AddCurrentShardLevelMetrics(const MetricsName &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue