AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ResourceSpecification.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/ResourceType.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 MediaConnect
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MEDIACONNECT_API ResourceSpecification() = default;
36 AWS_MEDIACONNECT_API ResourceSpecification(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetReservedBitrate() const { return m_reservedBitrate; }
46 inline bool ReservedBitrateHasBeenSet() const { return m_reservedBitrateHasBeenSet; }
47 inline void SetReservedBitrate(int value) { m_reservedBitrateHasBeenSet = true; m_reservedBitrate = value; }
48 inline ResourceSpecification& WithReservedBitrate(int value) { SetReservedBitrate(value); return *this;}
50
52
55 inline ResourceType GetResourceType() const { return m_resourceType; }
56 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
57 inline void SetResourceType(ResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
60 private:
61
62 int m_reservedBitrate{0};
63 bool m_reservedBitrateHasBeenSet = false;
64
65 ResourceType m_resourceType{ResourceType::NOT_SET};
66 bool m_resourceTypeHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace MediaConnect
71} // namespace Aws
ResourceSpecification & WithReservedBitrate(int value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceSpecification & WithResourceType(ResourceType value)
AWS_MEDIACONNECT_API ResourceSpecification(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API ResourceSpecification()=default
AWS_MEDIACONNECT_API ResourceSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue