AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PerformanceInsightsMetricDimensionGroup.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace RDS
23{
24namespace Model
25{
26
45 {
46 public:
50
51 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
52 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
53
54
56
61 inline const Aws::Vector<Aws::String>& GetDimensions() const{ return m_dimensions; }
62 inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; }
63 inline void SetDimensions(const Aws::Vector<Aws::String>& value) { m_dimensionsHasBeenSet = true; m_dimensions = value; }
64 inline void SetDimensions(Aws::Vector<Aws::String>&& value) { m_dimensionsHasBeenSet = true; m_dimensions = std::move(value); }
67 inline PerformanceInsightsMetricDimensionGroup& AddDimensions(const Aws::String& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(value); return *this; }
68 inline PerformanceInsightsMetricDimensionGroup& AddDimensions(Aws::String&& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(std::move(value)); return *this; }
69 inline PerformanceInsightsMetricDimensionGroup& AddDimensions(const char* value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(value); return *this; }
71
73
76 inline const Aws::String& GetGroup() const{ return m_group; }
77 inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; }
78 inline void SetGroup(const Aws::String& value) { m_groupHasBeenSet = true; m_group = value; }
79 inline void SetGroup(Aws::String&& value) { m_groupHasBeenSet = true; m_group = std::move(value); }
80 inline void SetGroup(const char* value) { m_groupHasBeenSet = true; m_group.assign(value); }
81 inline PerformanceInsightsMetricDimensionGroup& WithGroup(const Aws::String& value) { SetGroup(value); return *this;}
82 inline PerformanceInsightsMetricDimensionGroup& WithGroup(Aws::String&& value) { SetGroup(std::move(value)); return *this;}
83 inline PerformanceInsightsMetricDimensionGroup& WithGroup(const char* value) { SetGroup(value); return *this;}
85
87
90 inline int GetLimit() const{ return m_limit; }
91 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
92 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
93 inline PerformanceInsightsMetricDimensionGroup& WithLimit(int value) { SetLimit(value); return *this;}
95 private:
96
97 Aws::Vector<Aws::String> m_dimensions;
98 bool m_dimensionsHasBeenSet = false;
99
100 Aws::String m_group;
101 bool m_groupHasBeenSet = false;
102
103 int m_limit;
104 bool m_limitHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace RDS
109} // namespace Aws
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_RDS_API PerformanceInsightsMetricDimensionGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
PerformanceInsightsMetricDimensionGroup & WithGroup(const Aws::String &value)
PerformanceInsightsMetricDimensionGroup & AddDimensions(Aws::String &&value)
PerformanceInsightsMetricDimensionGroup & WithGroup(const char *value)
PerformanceInsightsMetricDimensionGroup & WithDimensions(Aws::Vector< Aws::String > &&value)
AWS_RDS_API PerformanceInsightsMetricDimensionGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PerformanceInsightsMetricDimensionGroup & AddDimensions(const Aws::String &value)
PerformanceInsightsMetricDimensionGroup & WithGroup(Aws::String &&value)
PerformanceInsightsMetricDimensionGroup & WithDimensions(const Aws::Vector< Aws::String > &value)
PerformanceInsightsMetricDimensionGroup & AddDimensions(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream