AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFamily(const Aws::String& value) { m_familyHasBeenSet = true; m_family = value; }
48 inline void SetFamily(Aws::String&& value) { m_familyHasBeenSet = true; m_family = std::move(value); }
49 inline void SetFamily(const char* value) { m_familyHasBeenSet = true; m_family.assign(value); }
50 inline ReportedOs& WithFamily(const Aws::String& value) { SetFamily(value); return *this;}
51 inline ReportedOs& WithFamily(Aws::String&& value) { SetFamily(std::move(value)); return *this;}
52 inline ReportedOs& WithFamily(const char* value) { SetFamily(value); return *this;}
54
56
59 inline const Aws::String& GetName() const{ return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
62 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 inline ReportedOs& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline ReportedOs& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline ReportedOs& WithName(const char* value) { SetName(value); return *this;}
68
70
73 inline const Aws::String& GetVersion() const{ return m_version; }
74 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
75 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
76 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
77 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
78 inline ReportedOs& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
79 inline ReportedOs& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
80 inline ReportedOs& WithVersion(const char* value) { SetVersion(value); return *this;}
82 private:
83
84 Aws::String m_family;
85 bool m_familyHasBeenSet = false;
86
87 Aws::String m_name;
88 bool m_nameHasBeenSet = false;
89
90 Aws::String m_version;
91 bool m_versionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace OpsWorks
96} // namespace Aws
const Aws::String & GetVersion() const
Definition ReportedOs.h:73
void SetFamily(Aws::String &&value)
Definition ReportedOs.h:48
void SetName(const char *value)
Definition ReportedOs.h:63
AWS_OPSWORKS_API ReportedOs(Aws::Utils::Json::JsonView jsonValue)
ReportedOs & WithName(Aws::String &&value)
Definition ReportedOs.h:65
const Aws::String & GetName() const
Definition ReportedOs.h:59
void SetVersion(Aws::String &&value)
Definition ReportedOs.h:76
void SetVersion(const char *value)
Definition ReportedOs.h:77
ReportedOs & WithFamily(Aws::String &&value)
Definition ReportedOs.h:51
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(Aws::String &&value)
Definition ReportedOs.h:62
ReportedOs & WithVersion(const char *value)
Definition ReportedOs.h:80
void SetFamily(const char *value)
Definition ReportedOs.h:49
ReportedOs & WithFamily(const Aws::String &value)
Definition ReportedOs.h:50
const Aws::String & GetFamily() const
Definition ReportedOs.h:45
void SetVersion(const Aws::String &value)
Definition ReportedOs.h:75
void SetFamily(const Aws::String &value)
Definition ReportedOs.h:47
ReportedOs & WithFamily(const char *value)
Definition ReportedOs.h:52
ReportedOs & WithVersion(const Aws::String &value)
Definition ReportedOs.h:78
AWS_OPSWORKS_API ReportedOs & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
Definition ReportedOs.h:61
ReportedOs & WithName(const Aws::String &value)
Definition ReportedOs.h:64
ReportedOs & WithVersion(Aws::String &&value)
Definition ReportedOs.h:79
ReportedOs & WithName(const char *value)
Definition ReportedOs.h:66
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue