AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnableEnhancedMonitoringResult.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 EnableEnhancedMonitoringResult& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
52 inline EnableEnhancedMonitoringResult& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
53 inline EnableEnhancedMonitoringResult& 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 EnableEnhancedMonitoringResult& AddCurrentShardLevelMetrics(const MetricsName& value) { m_currentShardLevelMetrics.push_back(value); return *this; }
67 inline EnableEnhancedMonitoringResult& 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 EnableEnhancedMonitoringResult& AddDesiredShardLevelMetrics(const MetricsName& value) { m_desiredShardLevelMetrics.push_back(value); return *this; }
81 inline EnableEnhancedMonitoringResult& 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 EnableEnhancedMonitoringResult& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
93 inline EnableEnhancedMonitoringResult& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
94 inline EnableEnhancedMonitoringResult& 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 EnableEnhancedMonitoringResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
104 inline EnableEnhancedMonitoringResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
105 inline EnableEnhancedMonitoringResult& 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
const Aws::Vector< MetricsName > & GetDesiredShardLevelMetrics() const
EnableEnhancedMonitoringResult & AddDesiredShardLevelMetrics(MetricsName &&value)
void SetDesiredShardLevelMetrics(Aws::Vector< MetricsName > &&value)
EnableEnhancedMonitoringResult & WithRequestId(const char *value)
EnableEnhancedMonitoringResult & WithStreamName(const char *value)
void SetCurrentShardLevelMetrics(const Aws::Vector< MetricsName > &value)
EnableEnhancedMonitoringResult & WithStreamARN(const char *value)
EnableEnhancedMonitoringResult & WithRequestId(Aws::String &&value)
void SetCurrentShardLevelMetrics(Aws::Vector< MetricsName > &&value)
EnableEnhancedMonitoringResult & WithDesiredShardLevelMetrics(const Aws::Vector< MetricsName > &value)
const Aws::Vector< MetricsName > & GetCurrentShardLevelMetrics() const
AWS_KINESIS_API EnableEnhancedMonitoringResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
EnableEnhancedMonitoringResult & WithRequestId(const Aws::String &value)
EnableEnhancedMonitoringResult & WithStreamARN(Aws::String &&value)
EnableEnhancedMonitoringResult & AddDesiredShardLevelMetrics(const MetricsName &value)
EnableEnhancedMonitoringResult & WithCurrentShardLevelMetrics(Aws::Vector< MetricsName > &&value)
EnableEnhancedMonitoringResult & WithStreamName(Aws::String &&value)
EnableEnhancedMonitoringResult & WithDesiredShardLevelMetrics(Aws::Vector< MetricsName > &&value)
EnableEnhancedMonitoringResult & AddCurrentShardLevelMetrics(const MetricsName &value)
AWS_KINESIS_API EnableEnhancedMonitoringResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDesiredShardLevelMetrics(const Aws::Vector< MetricsName > &value)
EnableEnhancedMonitoringResult & WithStreamARN(const Aws::String &value)
EnableEnhancedMonitoringResult & WithStreamName(const Aws::String &value)
EnableEnhancedMonitoringResult & AddCurrentShardLevelMetrics(MetricsName &&value)
EnableEnhancedMonitoringResult & WithCurrentShardLevelMetrics(const Aws::Vector< 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