AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ComputeCapacity.h
Go to the documentation of this file.
1
6#pragma once
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:
36
37
41 inline int GetDesiredInstances() const{ return m_desiredInstances; }
42
46 inline bool DesiredInstancesHasBeenSet() const { return m_desiredInstancesHasBeenSet; }
47
51 inline void SetDesiredInstances(int value) { m_desiredInstancesHasBeenSet = true; m_desiredInstances = value; }
52
56 inline ComputeCapacity& WithDesiredInstances(int value) { SetDesiredInstances(value); return *this;}
57
58 private:
59
60 int m_desiredInstances;
61 bool m_desiredInstancesHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace AppStream
66} // namespace Aws
#define AWS_APPSTREAM_API
ComputeCapacity & WithDesiredInstances(int value)
AWS_APPSTREAM_API ComputeCapacity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API ComputeCapacity(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const