AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ReportedOs.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_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 OpsWorks
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_OPSWORKS_API ReportedOs() = default;
36 AWS_OPSWORKS_API ReportedOs(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPSWORKS_API ReportedOs& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetFamily() const { return m_family; }
46 inline bool FamilyHasBeenSet() const { return m_familyHasBeenSet; }
47 template<typename FamilyT = Aws::String>
48 void SetFamily(FamilyT&& value) { m_familyHasBeenSet = true; m_family = std::forward<FamilyT>(value); }
49 template<typename FamilyT = Aws::String>
50 ReportedOs& WithFamily(FamilyT&& value) { SetFamily(std::forward<FamilyT>(value)); return *this;}
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template<typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
61 template<typename NameT = Aws::String>
62 ReportedOs& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetVersion() const { return m_version; }
70 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
71 template<typename VersionT = Aws::String>
72 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
73 template<typename VersionT = Aws::String>
74 ReportedOs& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
76 private:
77
78 Aws::String m_family;
79 bool m_familyHasBeenSet = false;
80
81 Aws::String m_name;
82 bool m_nameHasBeenSet = false;
83
84 Aws::String m_version;
85 bool m_versionHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace OpsWorks
90} // namespace Aws
const Aws::String & GetVersion() const
Definition ReportedOs.h:69
AWS_OPSWORKS_API ReportedOs()=default
AWS_OPSWORKS_API ReportedOs(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
Definition ReportedOs.h:57
ReportedOs & WithFamily(FamilyT &&value)
Definition ReportedOs.h:50
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
ReportedOs & WithName(NameT &&value)
Definition ReportedOs.h:62
void SetVersion(VersionT &&value)
Definition ReportedOs.h:72
const Aws::String & GetFamily() const
Definition ReportedOs.h:45
void SetName(NameT &&value)
Definition ReportedOs.h:60
AWS_OPSWORKS_API ReportedOs & operator=(Aws::Utils::Json::JsonView jsonValue)
ReportedOs & WithVersion(VersionT &&value)
Definition ReportedOs.h:74
void SetFamily(FamilyT &&value)
Definition ReportedOs.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue