AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AggregationOutputItem.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataZone
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_DATAZONE_API AggregationOutputItem() = default;
37 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline int GetCount() const { return m_count; }
45 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
46 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
47 inline AggregationOutputItem& WithCount(int value) { SetCount(value); return *this;}
49
51
56 inline const Aws::String& GetDisplayValue() const { return m_displayValue; }
57 inline bool DisplayValueHasBeenSet() const { return m_displayValueHasBeenSet; }
58 template<typename DisplayValueT = Aws::String>
59 void SetDisplayValue(DisplayValueT&& value) { m_displayValueHasBeenSet = true; m_displayValue = std::forward<DisplayValueT>(value); }
60 template<typename DisplayValueT = Aws::String>
61 AggregationOutputItem& WithDisplayValue(DisplayValueT&& value) { SetDisplayValue(std::forward<DisplayValueT>(value)); return *this;}
63
65
68 inline const Aws::String& GetValue() const { return m_value; }
69 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
70 template<typename ValueT = Aws::String>
71 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
72 template<typename ValueT = Aws::String>
73 AggregationOutputItem& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
75 private:
76
77 int m_count{0};
78 bool m_countHasBeenSet = false;
79
80 Aws::String m_displayValue;
81 bool m_displayValueHasBeenSet = false;
82
83 Aws::String m_value;
84 bool m_valueHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace DataZone
89} // namespace Aws
AWS_DATAZONE_API AggregationOutputItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AggregationOutputItem & WithDisplayValue(DisplayValueT &&value)
AggregationOutputItem & WithCount(int value)
AWS_DATAZONE_API AggregationOutputItem(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API AggregationOutputItem()=default
AggregationOutputItem & WithValue(ValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue