AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SessionsStatisticsResources.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 deadline
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DEADLINE_API SessionsStatisticsResources() = default;
39 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::Vector<Aws::String>& GetQueueIds() const { return m_queueIds; }
49 inline bool QueueIdsHasBeenSet() const { return m_queueIdsHasBeenSet; }
50 template<typename QueueIdsT = Aws::Vector<Aws::String>>
51 void SetQueueIds(QueueIdsT&& value) { m_queueIdsHasBeenSet = true; m_queueIds = std::forward<QueueIdsT>(value); }
52 template<typename QueueIdsT = Aws::Vector<Aws::String>>
53 SessionsStatisticsResources& WithQueueIds(QueueIdsT&& value) { SetQueueIds(std::forward<QueueIdsT>(value)); return *this;}
54 template<typename QueueIdsT = Aws::String>
55 SessionsStatisticsResources& AddQueueIds(QueueIdsT&& value) { m_queueIdsHasBeenSet = true; m_queueIds.emplace_back(std::forward<QueueIdsT>(value)); return *this; }
57
59
64 inline const Aws::Vector<Aws::String>& GetFleetIds() const { return m_fleetIds; }
65 inline bool FleetIdsHasBeenSet() const { return m_fleetIdsHasBeenSet; }
66 template<typename FleetIdsT = Aws::Vector<Aws::String>>
67 void SetFleetIds(FleetIdsT&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = std::forward<FleetIdsT>(value); }
68 template<typename FleetIdsT = Aws::Vector<Aws::String>>
69 SessionsStatisticsResources& WithFleetIds(FleetIdsT&& value) { SetFleetIds(std::forward<FleetIdsT>(value)); return *this;}
70 template<typename FleetIdsT = Aws::String>
71 SessionsStatisticsResources& AddFleetIds(FleetIdsT&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.emplace_back(std::forward<FleetIdsT>(value)); return *this; }
73 private:
74
75 Aws::Vector<Aws::String> m_queueIds;
76 bool m_queueIdsHasBeenSet = false;
77
78 Aws::Vector<Aws::String> m_fleetIds;
79 bool m_fleetIdsHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace deadline
84} // namespace Aws
AWS_DEADLINE_API SessionsStatisticsResources()=default
const Aws::Vector< Aws::String > & GetFleetIds() const
SessionsStatisticsResources & AddQueueIds(QueueIdsT &&value)
AWS_DEADLINE_API SessionsStatisticsResources(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetQueueIds() const
SessionsStatisticsResources & WithFleetIds(FleetIdsT &&value)
SessionsStatisticsResources & WithQueueIds(QueueIdsT &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API SessionsStatisticsResources & operator=(Aws::Utils::Json::JsonView jsonValue)
SessionsStatisticsResources & AddFleetIds(FleetIdsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue