AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
PackageObject.h
Go to the documentation of this file.
1
6#pragma once
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 Panorama
22{
23namespace Model
24{
25
32 {
33 public:
38
39
43 inline const Aws::String& GetName() const{ return m_name; }
44
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49
53 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54
58 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64
68 inline PackageObject& WithName(const Aws::String& value) { SetName(value); return *this;}
69
73 inline PackageObject& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74
78 inline PackageObject& WithName(const char* value) { SetName(value); return *this;}
79
80
84 inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
85
89 inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
90
94 inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; }
95
99 inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); }
100
104 inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); }
105
109 inline PackageObject& WithPackageVersion(const Aws::String& value) { SetPackageVersion(value); return *this;}
110
114 inline PackageObject& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
115
119 inline PackageObject& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
120
121
125 inline const Aws::String& GetPatchVersion() const{ return m_patchVersion; }
126
130 inline bool PatchVersionHasBeenSet() const { return m_patchVersionHasBeenSet; }
131
135 inline void SetPatchVersion(const Aws::String& value) { m_patchVersionHasBeenSet = true; m_patchVersion = value; }
136
140 inline void SetPatchVersion(Aws::String&& value) { m_patchVersionHasBeenSet = true; m_patchVersion = std::move(value); }
141
145 inline void SetPatchVersion(const char* value) { m_patchVersionHasBeenSet = true; m_patchVersion.assign(value); }
146
150 inline PackageObject& WithPatchVersion(const Aws::String& value) { SetPatchVersion(value); return *this;}
151
155 inline PackageObject& WithPatchVersion(Aws::String&& value) { SetPatchVersion(std::move(value)); return *this;}
156
160 inline PackageObject& WithPatchVersion(const char* value) { SetPatchVersion(value); return *this;}
161
162 private:
163
164 Aws::String m_name;
165 bool m_nameHasBeenSet = false;
166
167 Aws::String m_packageVersion;
168 bool m_packageVersionHasBeenSet = false;
169
170 Aws::String m_patchVersion;
171 bool m_patchVersionHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace Panorama
176} // namespace Aws
#define AWS_PANORAMA_API
PackageObject & WithName(const Aws::String &value)
Definition: PackageObject.h:68
PackageObject & WithPatchVersion(const Aws::String &value)
PackageObject & WithPackageVersion(const char *value)
const Aws::String & GetName() const
Definition: PackageObject.h:43
PackageObject & WithPatchVersion(const char *value)
PackageObject & WithPackageVersion(Aws::String &&value)
void SetName(const Aws::String &value)
Definition: PackageObject.h:53
PackageObject & WithPatchVersion(Aws::String &&value)
void SetName(const char *value)
Definition: PackageObject.h:63
PackageObject & WithName(const char *value)
Definition: PackageObject.h:78
void SetPatchVersion(const char *value)
void SetPatchVersion(Aws::String &&value)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPackageVersion() const
Definition: PackageObject.h:84
PackageObject & WithPackageVersion(const Aws::String &value)
PackageObject & WithName(Aws::String &&value)
Definition: PackageObject.h:73
void SetName(Aws::String &&value)
Definition: PackageObject.h:58
void SetPackageVersion(const Aws::String &value)
Definition: PackageObject.h:94
void SetPackageVersion(Aws::String &&value)
Definition: PackageObject.h:99
void SetPatchVersion(const Aws::String &value)
void SetPackageVersion(const char *value)
AWS_PANORAMA_API PackageObject(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPatchVersion() const
AWS_PANORAMA_API PackageObject & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String