AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SummarizationDimensionOverview.h
1
6#pragma once
7#include <aws/notifications/Notifications_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 Notifications
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_NOTIFICATIONS_API SummarizationDimensionOverview() = default;
39 AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 SummarizationDimensionOverview& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline int GetCount() const { return m_count; }
59 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
60 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
61 inline SummarizationDimensionOverview& WithCount(int value) { SetCount(value); return *this;}
63
65
68 inline const Aws::Vector<Aws::String>& GetSampleValues() const { return m_sampleValues; }
69 inline bool SampleValuesHasBeenSet() const { return m_sampleValuesHasBeenSet; }
70 template<typename SampleValuesT = Aws::Vector<Aws::String>>
71 void SetSampleValues(SampleValuesT&& value) { m_sampleValuesHasBeenSet = true; m_sampleValues = std::forward<SampleValuesT>(value); }
72 template<typename SampleValuesT = Aws::Vector<Aws::String>>
73 SummarizationDimensionOverview& WithSampleValues(SampleValuesT&& value) { SetSampleValues(std::forward<SampleValuesT>(value)); return *this;}
74 template<typename SampleValuesT = Aws::String>
75 SummarizationDimensionOverview& AddSampleValues(SampleValuesT&& value) { m_sampleValuesHasBeenSet = true; m_sampleValues.emplace_back(std::forward<SampleValuesT>(value)); return *this; }
77 private:
78
79 Aws::String m_name;
80 bool m_nameHasBeenSet = false;
81
82 int m_count{0};
83 bool m_countHasBeenSet = false;
84
85 Aws::Vector<Aws::String> m_sampleValues;
86 bool m_sampleValuesHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Notifications
91} // namespace Aws
SummarizationDimensionOverview & AddSampleValues(SampleValuesT &&value)
SummarizationDimensionOverview & WithSampleValues(SampleValuesT &&value)
AWS_NOTIFICATIONS_API SummarizationDimensionOverview(Aws::Utils::Json::JsonView jsonValue)
AWS_NOTIFICATIONS_API SummarizationDimensionOverview()=default
AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NOTIFICATIONS_API SummarizationDimensionOverview & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue