AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DimensionGroup.h
1
6#pragma once
7#include <aws/pi/PI_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 PI
23{
24namespace Model
25{
26
45 {
46 public:
47 AWS_PI_API DimensionGroup();
51
52
54
82 inline const Aws::String& GetGroup() const{ return m_group; }
83 inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; }
84 inline void SetGroup(const Aws::String& value) { m_groupHasBeenSet = true; m_group = value; }
85 inline void SetGroup(Aws::String&& value) { m_groupHasBeenSet = true; m_group = std::move(value); }
86 inline void SetGroup(const char* value) { m_groupHasBeenSet = true; m_group.assign(value); }
87 inline DimensionGroup& WithGroup(const Aws::String& value) { SetGroup(value); return *this;}
88 inline DimensionGroup& WithGroup(Aws::String&& value) { SetGroup(std::move(value)); return *this;}
89 inline DimensionGroup& WithGroup(const char* value) { SetGroup(value); return *this;}
91
93
157 inline const Aws::Vector<Aws::String>& GetDimensions() const{ return m_dimensions; }
158 inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; }
159 inline void SetDimensions(const Aws::Vector<Aws::String>& value) { m_dimensionsHasBeenSet = true; m_dimensions = value; }
160 inline void SetDimensions(Aws::Vector<Aws::String>&& value) { m_dimensionsHasBeenSet = true; m_dimensions = std::move(value); }
161 inline DimensionGroup& WithDimensions(const Aws::Vector<Aws::String>& value) { SetDimensions(value); return *this;}
162 inline DimensionGroup& WithDimensions(Aws::Vector<Aws::String>&& value) { SetDimensions(std::move(value)); return *this;}
163 inline DimensionGroup& AddDimensions(const Aws::String& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(value); return *this; }
164 inline DimensionGroup& AddDimensions(Aws::String&& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(std::move(value)); return *this; }
165 inline DimensionGroup& AddDimensions(const char* value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(value); return *this; }
167
169
172 inline int GetLimit() const{ return m_limit; }
173 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
174 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
175 inline DimensionGroup& WithLimit(int value) { SetLimit(value); return *this;}
177 private:
178
179 Aws::String m_group;
180 bool m_groupHasBeenSet = false;
181
182 Aws::Vector<Aws::String> m_dimensions;
183 bool m_dimensionsHasBeenSet = false;
184
185 int m_limit;
186 bool m_limitHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace PI
191} // namespace Aws
DimensionGroup & WithGroup(const Aws::String &value)
void SetDimensions(const Aws::Vector< Aws::String > &value)
DimensionGroup & AddDimensions(const Aws::String &value)
DimensionGroup & WithGroup(Aws::String &&value)
DimensionGroup & WithLimit(int value)
const Aws::Vector< Aws::String > & GetDimensions() const
DimensionGroup & AddDimensions(Aws::String &&value)
AWS_PI_API DimensionGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetGroup() const
DimensionGroup & WithDimensions(Aws::Vector< Aws::String > &&value)
DimensionGroup & AddDimensions(const char *value)
AWS_PI_API DimensionGroup(Aws::Utils::Json::JsonView jsonValue)
AWS_PI_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGroup(const Aws::String &value)
DimensionGroup & WithGroup(const char *value)
void SetDimensions(Aws::Vector< Aws::String > &&value)
DimensionGroup & WithDimensions(const Aws::Vector< Aws::String > &value)
void SetGroup(Aws::String &&value)
void SetGroup(const char *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