AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetQueueIds(const Aws::Vector<Aws::String>& value) { m_queueIdsHasBeenSet = true; m_queueIds = value; }
51 inline void SetQueueIds(Aws::Vector<Aws::String>&& value) { m_queueIdsHasBeenSet = true; m_queueIds = std::move(value); }
53 inline SessionsStatisticsResources& WithQueueIds(Aws::Vector<Aws::String>&& value) { SetQueueIds(std::move(value)); return *this;}
54 inline SessionsStatisticsResources& AddQueueIds(const Aws::String& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; }
55 inline SessionsStatisticsResources& AddQueueIds(Aws::String&& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(std::move(value)); return *this; }
56 inline SessionsStatisticsResources& AddQueueIds(const char* value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; }
58
60
65 inline const Aws::Vector<Aws::String>& GetFleetIds() const{ return m_fleetIds; }
66 inline bool FleetIdsHasBeenSet() const { return m_fleetIdsHasBeenSet; }
67 inline void SetFleetIds(const Aws::Vector<Aws::String>& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = value; }
68 inline void SetFleetIds(Aws::Vector<Aws::String>&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = std::move(value); }
70 inline SessionsStatisticsResources& WithFleetIds(Aws::Vector<Aws::String>&& value) { SetFleetIds(std::move(value)); return *this;}
71 inline SessionsStatisticsResources& AddFleetIds(const Aws::String& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; }
72 inline SessionsStatisticsResources& AddFleetIds(Aws::String&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(std::move(value)); return *this; }
73 inline SessionsStatisticsResources& AddFleetIds(const char* value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; }
75 private:
76
77 Aws::Vector<Aws::String> m_queueIds;
78 bool m_queueIdsHasBeenSet = false;
79
80 Aws::Vector<Aws::String> m_fleetIds;
81 bool m_fleetIdsHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace deadline
86} // namespace Aws
SessionsStatisticsResources & AddFleetIds(const char *value)
SessionsStatisticsResources & AddQueueIds(const Aws::String &value)
void SetQueueIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetFleetIds() const
SessionsStatisticsResources & AddQueueIds(Aws::String &&value)
void SetQueueIds(const Aws::Vector< Aws::String > &value)
SessionsStatisticsResources & AddFleetIds(Aws::String &&value)
AWS_DEADLINE_API SessionsStatisticsResources(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetQueueIds() const
SessionsStatisticsResources & WithQueueIds(const Aws::Vector< Aws::String > &value)
SessionsStatisticsResources & WithFleetIds(Aws::Vector< Aws::String > &&value)
SessionsStatisticsResources & AddQueueIds(const char *value)
SessionsStatisticsResources & WithQueueIds(Aws::Vector< Aws::String > &&value)
void SetFleetIds(const Aws::Vector< Aws::String > &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API SessionsStatisticsResources & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFleetIds(Aws::Vector< Aws::String > &&value)
SessionsStatisticsResources & WithFleetIds(const Aws::Vector< Aws::String > &value)
SessionsStatisticsResources & AddFleetIds(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue