AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
47 inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
48 inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
49 inline MeteredProductSummary& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
50 inline MeteredProductSummary& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
51 inline MeteredProductSummary& WithProductId(const char* value) { SetProductId(value); return *this;}
53
55
58 inline const Aws::String& GetFamily() const{ return m_family; }
59 inline bool FamilyHasBeenSet() const { return m_familyHasBeenSet; }
60 inline void SetFamily(const Aws::String& value) { m_familyHasBeenSet = true; m_family = value; }
61 inline void SetFamily(Aws::String&& value) { m_familyHasBeenSet = true; m_family = std::move(value); }
62 inline void SetFamily(const char* value) { m_familyHasBeenSet = true; m_family.assign(value); }
63 inline MeteredProductSummary& WithFamily(const Aws::String& value) { SetFamily(value); return *this;}
64 inline MeteredProductSummary& WithFamily(Aws::String&& value) { SetFamily(std::move(value)); return *this;}
65 inline MeteredProductSummary& WithFamily(const char* value) { SetFamily(value); return *this;}
67
69
72 inline const Aws::String& GetVendor() const{ return m_vendor; }
73 inline bool VendorHasBeenSet() const { return m_vendorHasBeenSet; }
74 inline void SetVendor(const Aws::String& value) { m_vendorHasBeenSet = true; m_vendor = value; }
75 inline void SetVendor(Aws::String&& value) { m_vendorHasBeenSet = true; m_vendor = std::move(value); }
76 inline void SetVendor(const char* value) { m_vendorHasBeenSet = true; m_vendor.assign(value); }
77 inline MeteredProductSummary& WithVendor(const Aws::String& value) { SetVendor(value); return *this;}
78 inline MeteredProductSummary& WithVendor(Aws::String&& value) { SetVendor(std::move(value)); return *this;}
79 inline MeteredProductSummary& WithVendor(const char* value) { SetVendor(value); return *this;}
81
83
86 inline int GetPort() const{ return m_port; }
87 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
88 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
89 inline MeteredProductSummary& WithPort(int value) { SetPort(value); return *this;}
91 private:
92
93 Aws::String m_productId;
94 bool m_productIdHasBeenSet = false;
95
96 Aws::String m_family;
97 bool m_familyHasBeenSet = false;
98
99 Aws::String m_vendor;
100 bool m_vendorHasBeenSet = false;
101
102 int m_port;
103 bool m_portHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace deadline
108} // namespace Aws
MeteredProductSummary & WithPort(int value)
MeteredProductSummary & WithFamily(const Aws::String &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API MeteredProductSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
MeteredProductSummary & WithVendor(Aws::String &&value)
AWS_DEADLINE_API MeteredProductSummary(Aws::Utils::Json::JsonView jsonValue)
MeteredProductSummary & WithVendor(const char *value)
MeteredProductSummary & WithVendor(const Aws::String &value)
MeteredProductSummary & WithProductId(const Aws::String &value)
MeteredProductSummary & WithProductId(const char *value)
MeteredProductSummary & WithFamily(Aws::String &&value)
MeteredProductSummary & WithFamily(const char *value)
MeteredProductSummary & WithProductId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue