AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComputeCapacity.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppStream
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_APPSTREAM_API ComputeCapacity();
33 AWS_APPSTREAM_API ComputeCapacity(Aws::Utils::Json::JsonView jsonValue);
35 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline int GetDesiredInstances() const{ return m_desiredInstances; }
43 inline bool DesiredInstancesHasBeenSet() const { return m_desiredInstancesHasBeenSet; }
44 inline void SetDesiredInstances(int value) { m_desiredInstancesHasBeenSet = true; m_desiredInstances = value; }
45 inline ComputeCapacity& WithDesiredInstances(int value) { SetDesiredInstances(value); return *this;}
47
49
56 inline int GetDesiredSessions() const{ return m_desiredSessions; }
57 inline bool DesiredSessionsHasBeenSet() const { return m_desiredSessionsHasBeenSet; }
58 inline void SetDesiredSessions(int value) { m_desiredSessionsHasBeenSet = true; m_desiredSessions = value; }
59 inline ComputeCapacity& WithDesiredSessions(int value) { SetDesiredSessions(value); return *this;}
61 private:
62
63 int m_desiredInstances;
64 bool m_desiredInstancesHasBeenSet = false;
65
66 int m_desiredSessions;
67 bool m_desiredSessionsHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace AppStream
72} // namespace Aws
ComputeCapacity & WithDesiredInstances(int value)
AWS_APPSTREAM_API ComputeCapacity & operator=(Aws::Utils::Json::JsonView jsonValue)
ComputeCapacity & WithDesiredSessions(int value)
AWS_APPSTREAM_API ComputeCapacity(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue