AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
SessionsStatisticsResources.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/deadline/Deadline_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace deadline {
21namespace Model {
22
30 public:
31 AWS_DEADLINE_API SessionsStatisticsResources() = default;
34 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::Vector<Aws::String>& GetQueueIds() const { return m_queueIds; }
43 inline bool QueueIdsHasBeenSet() const { return m_queueIdsHasBeenSet; }
44 template <typename QueueIdsT = Aws::Vector<Aws::String>>
45 void SetQueueIds(QueueIdsT&& value) {
46 m_queueIdsHasBeenSet = true;
47 m_queueIds = std::forward<QueueIdsT>(value);
48 }
49 template <typename QueueIdsT = Aws::Vector<Aws::String>>
51 SetQueueIds(std::forward<QueueIdsT>(value));
52 return *this;
53 }
54 template <typename QueueIdsT = Aws::String>
56 m_queueIdsHasBeenSet = true;
57 m_queueIds.emplace_back(std::forward<QueueIdsT>(value));
58 return *this;
59 }
61
63
68 inline const Aws::Vector<Aws::String>& GetFleetIds() const { return m_fleetIds; }
69 inline bool FleetIdsHasBeenSet() const { return m_fleetIdsHasBeenSet; }
70 template <typename FleetIdsT = Aws::Vector<Aws::String>>
71 void SetFleetIds(FleetIdsT&& value) {
72 m_fleetIdsHasBeenSet = true;
73 m_fleetIds = std::forward<FleetIdsT>(value);
74 }
75 template <typename FleetIdsT = Aws::Vector<Aws::String>>
77 SetFleetIds(std::forward<FleetIdsT>(value));
78 return *this;
79 }
80 template <typename FleetIdsT = Aws::String>
82 m_fleetIdsHasBeenSet = true;
83 m_fleetIds.emplace_back(std::forward<FleetIdsT>(value));
84 return *this;
85 }
87 private:
88 Aws::Vector<Aws::String> m_queueIds;
89
90 Aws::Vector<Aws::String> m_fleetIds;
91 bool m_queueIdsHasBeenSet = false;
92 bool m_fleetIdsHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace deadline
97} // 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