AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DimensionGroupDetail.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 <aws/pi/model/DimensionDetail.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace PI
24{
25namespace Model
26{
27
35 {
36 public:
41
42
44
47 inline const Aws::String& GetGroup() const{ return m_group; }
48 inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; }
49 inline void SetGroup(const Aws::String& value) { m_groupHasBeenSet = true; m_group = value; }
50 inline void SetGroup(Aws::String&& value) { m_groupHasBeenSet = true; m_group = std::move(value); }
51 inline void SetGroup(const char* value) { m_groupHasBeenSet = true; m_group.assign(value); }
52 inline DimensionGroupDetail& WithGroup(const Aws::String& value) { SetGroup(value); return *this;}
53 inline DimensionGroupDetail& WithGroup(Aws::String&& value) { SetGroup(std::move(value)); return *this;}
54 inline DimensionGroupDetail& WithGroup(const char* value) { SetGroup(value); return *this;}
56
58
61 inline const Aws::Vector<DimensionDetail>& GetDimensions() const{ return m_dimensions; }
62 inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; }
63 inline void SetDimensions(const Aws::Vector<DimensionDetail>& value) { m_dimensionsHasBeenSet = true; m_dimensions = value; }
64 inline void SetDimensions(Aws::Vector<DimensionDetail>&& value) { m_dimensionsHasBeenSet = true; m_dimensions = std::move(value); }
66 inline DimensionGroupDetail& WithDimensions(Aws::Vector<DimensionDetail>&& value) { SetDimensions(std::move(value)); return *this;}
67 inline DimensionGroupDetail& AddDimensions(const DimensionDetail& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(value); return *this; }
68 inline DimensionGroupDetail& AddDimensions(DimensionDetail&& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(std::move(value)); return *this; }
70 private:
71
72 Aws::String m_group;
73 bool m_groupHasBeenSet = false;
74
76 bool m_dimensionsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace PI
81} // namespace Aws
void SetGroup(const Aws::String &value)
DimensionGroupDetail & AddDimensions(DimensionDetail &&value)
DimensionGroupDetail & WithGroup(const Aws::String &value)
AWS_PI_API DimensionGroupDetail(Aws::Utils::Json::JsonView jsonValue)
DimensionGroupDetail & AddDimensions(const DimensionDetail &value)
void SetDimensions(const Aws::Vector< DimensionDetail > &value)
const Aws::Vector< DimensionDetail > & GetDimensions() const
void SetDimensions(Aws::Vector< DimensionDetail > &&value)
DimensionGroupDetail & WithGroup(const char *value)
AWS_PI_API DimensionGroupDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
DimensionGroupDetail & WithDimensions(const Aws::Vector< DimensionDetail > &value)
DimensionGroupDetail & WithDimensions(Aws::Vector< DimensionDetail > &&value)
AWS_PI_API Aws::Utils::Json::JsonValue Jsonize() const
DimensionGroupDetail & 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