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/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DevOpsGuru
23{
24namespace Model
25{
26
52 {
53 public:
57 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
58
59
61
78 inline const Aws::String& GetGroup() const{ return m_group; }
79 inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; }
80 inline void SetGroup(const Aws::String& value) { m_groupHasBeenSet = true; m_group = value; }
81 inline void SetGroup(Aws::String&& value) { m_groupHasBeenSet = true; m_group = std::move(value); }
82 inline void SetGroup(const char* value) { m_groupHasBeenSet = true; m_group.assign(value); }
83 inline PerformanceInsightsMetricDimensionGroup& WithGroup(const Aws::String& value) { SetGroup(value); return *this;}
84 inline PerformanceInsightsMetricDimensionGroup& WithGroup(Aws::String&& value) { SetGroup(std::move(value)); return *this;}
85 inline PerformanceInsightsMetricDimensionGroup& WithGroup(const char* value) { SetGroup(value); return *this;}
87
89
121 inline const Aws::Vector<Aws::String>& GetDimensions() const{ return m_dimensions; }
122 inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; }
123 inline void SetDimensions(const Aws::Vector<Aws::String>& value) { m_dimensionsHasBeenSet = true; m_dimensions = value; }
124 inline void SetDimensions(Aws::Vector<Aws::String>&& value) { m_dimensionsHasBeenSet = true; m_dimensions = std::move(value); }
127 inline PerformanceInsightsMetricDimensionGroup& AddDimensions(const Aws::String& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(value); return *this; }
128 inline PerformanceInsightsMetricDimensionGroup& AddDimensions(Aws::String&& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(std::move(value)); return *this; }
129 inline PerformanceInsightsMetricDimensionGroup& AddDimensions(const char* value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(value); return *this; }
131
133
136 inline int GetLimit() const{ return m_limit; }
137 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
138 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
139 inline PerformanceInsightsMetricDimensionGroup& WithLimit(int value) { SetLimit(value); return *this;}
141 private:
142
143 Aws::String m_group;
144 bool m_groupHasBeenSet = false;
145
146 Aws::Vector<Aws::String> m_dimensions;
147 bool m_dimensionsHasBeenSet = false;
148
149 int m_limit;
150 bool m_limitHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace DevOpsGuru
155} // namespace Aws
PerformanceInsightsMetricDimensionGroup & WithDimensions(const Aws::Vector< Aws::String > &value)
PerformanceInsightsMetricDimensionGroup & WithDimensions(Aws::Vector< Aws::String > &&value)
PerformanceInsightsMetricDimensionGroup & WithGroup(const char *value)
PerformanceInsightsMetricDimensionGroup & AddDimensions(const char *value)
PerformanceInsightsMetricDimensionGroup & WithGroup(const Aws::String &value)
PerformanceInsightsMetricDimensionGroup & AddDimensions(const Aws::String &value)
AWS_DEVOPSGURU_API PerformanceInsightsMetricDimensionGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSGURU_API PerformanceInsightsMetricDimensionGroup(Aws::Utils::Json::JsonView jsonValue)
PerformanceInsightsMetricDimensionGroup & AddDimensions(Aws::String &&value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
PerformanceInsightsMetricDimensionGroup & WithGroup(Aws::String &&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