AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreditSpecificationRequest.h
1
6#pragma once
7#include <aws/workspaces-instances/WorkspacesInstances_EXPORTS.h>
8#include <aws/workspaces-instances/model/CpuCreditsEnum.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WorkspacesInstances
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_WORKSPACESINSTANCES_API CreditSpecificationRequest() = default;
36 AWS_WORKSPACESINSTANCES_API CreditSpecificationRequest(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WORKSPACESINSTANCES_API CreditSpecificationRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WORKSPACESINSTANCES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline CpuCreditsEnum GetCpuCredits() const { return m_cpuCredits; }
46 inline bool CpuCreditsHasBeenSet() const { return m_cpuCreditsHasBeenSet; }
47 inline void SetCpuCredits(CpuCreditsEnum value) { m_cpuCreditsHasBeenSet = true; m_cpuCredits = value; }
50 private:
51
53 bool m_cpuCreditsHasBeenSet = false;
54 };
55
56} // namespace Model
57} // namespace WorkspacesInstances
58} // namespace Aws
AWS_WORKSPACESINSTANCES_API CreditSpecificationRequest()=default
AWS_WORKSPACESINSTANCES_API CreditSpecificationRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACESINSTANCES_API CreditSpecificationRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACESINSTANCES_API Aws::Utils::Json::JsonValue Jsonize() const
CreditSpecificationRequest & WithCpuCredits(CpuCreditsEnum value)
Aws::Utils::Json::JsonValue JsonValue