AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
SummarizationDimensionOverview.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/notifications/Notifications_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Notifications {
21namespace Model {
22
30 public:
31 AWS_NOTIFICATIONS_API SummarizationDimensionOverview() = default;
34 AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline int GetCount() const { return m_count; }
59 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
60 inline void SetCount(int value) {
61 m_countHasBeenSet = true;
62 m_count = value;
63 }
65 SetCount(value);
66 return *this;
67 }
69
71
74 inline const Aws::Vector<Aws::String>& GetSampleValues() const { return m_sampleValues; }
75 inline bool SampleValuesHasBeenSet() const { return m_sampleValuesHasBeenSet; }
76 template <typename SampleValuesT = Aws::Vector<Aws::String>>
77 void SetSampleValues(SampleValuesT&& value) {
78 m_sampleValuesHasBeenSet = true;
79 m_sampleValues = std::forward<SampleValuesT>(value);
80 }
81 template <typename SampleValuesT = Aws::Vector<Aws::String>>
83 SetSampleValues(std::forward<SampleValuesT>(value));
84 return *this;
85 }
86 template <typename SampleValuesT = Aws::String>
88 m_sampleValuesHasBeenSet = true;
89 m_sampleValues.emplace_back(std::forward<SampleValuesT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_name;
95
96 int m_count{0};
97
98 Aws::Vector<Aws::String> m_sampleValues;
99 bool m_nameHasBeenSet = false;
100 bool m_countHasBeenSet = false;
101 bool m_sampleValuesHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace Notifications
106} // 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