AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
MeteredProductSummary.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 deadline
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_DEADLINE_API MeteredProductSummary() = default;
37 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetProductId() const { return m_productId; }
45 inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
46 template<typename ProductIdT = Aws::String>
47 void SetProductId(ProductIdT&& value) { m_productIdHasBeenSet = true; m_productId = std::forward<ProductIdT>(value); }
48 template<typename ProductIdT = Aws::String>
49 MeteredProductSummary& WithProductId(ProductIdT&& value) { SetProductId(std::forward<ProductIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetFamily() const { return m_family; }
57 inline bool FamilyHasBeenSet() const { return m_familyHasBeenSet; }
58 template<typename FamilyT = Aws::String>
59 void SetFamily(FamilyT&& value) { m_familyHasBeenSet = true; m_family = std::forward<FamilyT>(value); }
60 template<typename FamilyT = Aws::String>
61 MeteredProductSummary& WithFamily(FamilyT&& value) { SetFamily(std::forward<FamilyT>(value)); return *this;}
63
65
68 inline const Aws::String& GetVendor() const { return m_vendor; }
69 inline bool VendorHasBeenSet() const { return m_vendorHasBeenSet; }
70 template<typename VendorT = Aws::String>
71 void SetVendor(VendorT&& value) { m_vendorHasBeenSet = true; m_vendor = std::forward<VendorT>(value); }
72 template<typename VendorT = Aws::String>
73 MeteredProductSummary& WithVendor(VendorT&& value) { SetVendor(std::forward<VendorT>(value)); return *this;}
75
77
80 inline int GetPort() const { return m_port; }
81 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
82 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
83 inline MeteredProductSummary& WithPort(int value) { SetPort(value); return *this;}
85 private:
86
87 Aws::String m_productId;
88 bool m_productIdHasBeenSet = false;
89
90 Aws::String m_family;
91 bool m_familyHasBeenSet = false;
92
93 Aws::String m_vendor;
94 bool m_vendorHasBeenSet = false;
95
96 int m_port{0};
97 bool m_portHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace deadline
102} // namespace Aws
MeteredProductSummary & WithPort(int value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API MeteredProductSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API MeteredProductSummary(Aws::Utils::Json::JsonView jsonValue)
MeteredProductSummary & WithVendor(VendorT &&value)
MeteredProductSummary & WithProductId(ProductIdT &&value)
MeteredProductSummary & WithFamily(FamilyT &&value)
AWS_DEADLINE_API MeteredProductSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue