AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ComputePlatform.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_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 Inspector2
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_INSPECTOR2_API ComputePlatform() = default;
35 AWS_INSPECTOR2_API ComputePlatform(Aws::Utils::Json::JsonView jsonValue);
37 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetProduct() const { return m_product; }
45 inline bool ProductHasBeenSet() const { return m_productHasBeenSet; }
46 template<typename ProductT = Aws::String>
47 void SetProduct(ProductT&& value) { m_productHasBeenSet = true; m_product = std::forward<ProductT>(value); }
48 template<typename ProductT = Aws::String>
49 ComputePlatform& WithProduct(ProductT&& value) { SetProduct(std::forward<ProductT>(value)); return *this;}
51
53
56 inline const Aws::String& GetVendor() const { return m_vendor; }
57 inline bool VendorHasBeenSet() const { return m_vendorHasBeenSet; }
58 template<typename VendorT = Aws::String>
59 void SetVendor(VendorT&& value) { m_vendorHasBeenSet = true; m_vendor = std::forward<VendorT>(value); }
60 template<typename VendorT = Aws::String>
61 ComputePlatform& WithVendor(VendorT&& value) { SetVendor(std::forward<VendorT>(value)); return *this;}
63
65
68 inline const Aws::String& GetVersion() const { return m_version; }
69 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
70 template<typename VersionT = Aws::String>
71 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
72 template<typename VersionT = Aws::String>
73 ComputePlatform& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
75 private:
76
77 Aws::String m_product;
78 bool m_productHasBeenSet = false;
79
80 Aws::String m_vendor;
81 bool m_vendorHasBeenSet = false;
82
83 Aws::String m_version;
84 bool m_versionHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Inspector2
89} // namespace Aws
const Aws::String & GetVendor() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
ComputePlatform & WithVendor(VendorT &&value)
AWS_INSPECTOR2_API ComputePlatform()=default
ComputePlatform & WithVersion(VersionT &&value)
const Aws::String & GetProduct() const
AWS_INSPECTOR2_API ComputePlatform(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVersion() const
AWS_INSPECTOR2_API ComputePlatform & operator=(Aws::Utils::Json::JsonView jsonValue)
ComputePlatform & WithProduct(ProductT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue