AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ResourceType& GetResourceType() const{ return m_resourceType; }
56 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
57 inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
58 inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
59 inline ResourceSpecification& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
60 inline ResourceSpecification& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
62 private:
63
64 int m_reservedBitrate;
65 bool m_reservedBitrateHasBeenSet = false;
66
67 ResourceType m_resourceType;
68 bool m_resourceTypeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace MediaConnect
73} // 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)
ResourceSpecification & WithResourceType(const ResourceType &value)
AWS_MEDIACONNECT_API ResourceSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue