AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
SummaryConfiguration.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/SummaryMode.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
30 public:
31 AWS_CONNECT_API SummaryConfiguration() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::Vector<SummaryMode>& GetSummaryModes() const { return m_summaryModes; }
43 inline bool SummaryModesHasBeenSet() const { return m_summaryModesHasBeenSet; }
44 template <typename SummaryModesT = Aws::Vector<SummaryMode>>
45 void SetSummaryModes(SummaryModesT&& value) {
46 m_summaryModesHasBeenSet = true;
47 m_summaryModes = std::forward<SummaryModesT>(value);
48 }
49 template <typename SummaryModesT = Aws::Vector<SummaryMode>>
50 SummaryConfiguration& WithSummaryModes(SummaryModesT&& value) {
51 SetSummaryModes(std::forward<SummaryModesT>(value));
52 return *this;
53 }
55 m_summaryModesHasBeenSet = true;
56 m_summaryModes.push_back(value);
57 return *this;
58 }
60 private:
61 Aws::Vector<SummaryMode> m_summaryModes;
62 bool m_summaryModesHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace Connect
67} // namespace Aws
AWS_CONNECT_API SummaryConfiguration()=default
AWS_CONNECT_API SummaryConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SummaryMode > & GetSummaryModes() const
AWS_CONNECT_API SummaryConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SummaryConfiguration & WithSummaryModes(SummaryModesT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
SummaryConfiguration & AddSummaryModes(SummaryMode value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue