AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetProduct(const Aws::String& value) { m_productHasBeenSet = true; m_product = value; }
47 inline void SetProduct(Aws::String&& value) { m_productHasBeenSet = true; m_product = std::move(value); }
48 inline void SetProduct(const char* value) { m_productHasBeenSet = true; m_product.assign(value); }
49 inline ComputePlatform& WithProduct(const Aws::String& value) { SetProduct(value); return *this;}
50 inline ComputePlatform& WithProduct(Aws::String&& value) { SetProduct(std::move(value)); return *this;}
51 inline ComputePlatform& WithProduct(const char* value) { SetProduct(value); return *this;}
53
55
58 inline const Aws::String& GetVendor() const{ return m_vendor; }
59 inline bool VendorHasBeenSet() const { return m_vendorHasBeenSet; }
60 inline void SetVendor(const Aws::String& value) { m_vendorHasBeenSet = true; m_vendor = value; }
61 inline void SetVendor(Aws::String&& value) { m_vendorHasBeenSet = true; m_vendor = std::move(value); }
62 inline void SetVendor(const char* value) { m_vendorHasBeenSet = true; m_vendor.assign(value); }
63 inline ComputePlatform& WithVendor(const Aws::String& value) { SetVendor(value); return *this;}
64 inline ComputePlatform& WithVendor(Aws::String&& value) { SetVendor(std::move(value)); return *this;}
65 inline ComputePlatform& WithVendor(const char* value) { SetVendor(value); return *this;}
67
69
72 inline const Aws::String& GetVersion() const{ return m_version; }
73 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
74 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
75 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
76 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
77 inline ComputePlatform& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
78 inline ComputePlatform& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
79 inline ComputePlatform& WithVersion(const char* value) { SetVersion(value); return *this;}
81 private:
82
83 Aws::String m_product;
84 bool m_productHasBeenSet = false;
85
86 Aws::String m_vendor;
87 bool m_vendorHasBeenSet = false;
88
89 Aws::String m_version;
90 bool m_versionHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Inspector2
95} // namespace Aws
ComputePlatform & WithVersion(Aws::String &&value)
const Aws::String & GetVendor() const
ComputePlatform & WithVendor(const Aws::String &value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProduct(const Aws::String &value)
void SetVersion(const Aws::String &value)
const Aws::String & GetProduct() const
ComputePlatform & WithProduct(const Aws::String &value)
ComputePlatform & WithVendor(Aws::String &&value)
AWS_INSPECTOR2_API ComputePlatform(Aws::Utils::Json::JsonView jsonValue)
ComputePlatform & WithProduct(const char *value)
ComputePlatform & WithProduct(Aws::String &&value)
ComputePlatform & WithVersion(const char *value)
ComputePlatform & WithVersion(const Aws::String &value)
const Aws::String & GetVersion() const
AWS_INSPECTOR2_API ComputePlatform & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVendor(const Aws::String &value)
ComputePlatform & WithVendor(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue