AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PackageObject.h
1
6#pragma once
7#include <aws/panorama/Panorama_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 Panorama
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_PANORAMA_API PackageObject();
35 AWS_PANORAMA_API PackageObject(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetName() const{ return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
47 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
48 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
49 inline PackageObject& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline PackageObject& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline PackageObject& WithName(const char* value) { SetName(value); return *this;}
53
55
58 inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
59 inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
60 inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; }
61 inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); }
62 inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); }
63 inline PackageObject& WithPackageVersion(const Aws::String& value) { SetPackageVersion(value); return *this;}
64 inline PackageObject& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
65 inline PackageObject& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
67
69
72 inline const Aws::String& GetPatchVersion() const{ return m_patchVersion; }
73 inline bool PatchVersionHasBeenSet() const { return m_patchVersionHasBeenSet; }
74 inline void SetPatchVersion(const Aws::String& value) { m_patchVersionHasBeenSet = true; m_patchVersion = value; }
75 inline void SetPatchVersion(Aws::String&& value) { m_patchVersionHasBeenSet = true; m_patchVersion = std::move(value); }
76 inline void SetPatchVersion(const char* value) { m_patchVersionHasBeenSet = true; m_patchVersion.assign(value); }
77 inline PackageObject& WithPatchVersion(const Aws::String& value) { SetPatchVersion(value); return *this;}
78 inline PackageObject& WithPatchVersion(Aws::String&& value) { SetPatchVersion(std::move(value)); return *this;}
79 inline PackageObject& WithPatchVersion(const char* value) { SetPatchVersion(value); return *this;}
81 private:
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85
86 Aws::String m_packageVersion;
87 bool m_packageVersionHasBeenSet = false;
88
89 Aws::String m_patchVersion;
90 bool m_patchVersionHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Panorama
95} // namespace Aws
PackageObject & WithName(const Aws::String &value)
PackageObject & WithPatchVersion(const Aws::String &value)
PackageObject & WithPackageVersion(const char *value)
const Aws::String & GetName() const
PackageObject & WithPatchVersion(const char *value)
PackageObject & WithPackageVersion(Aws::String &&value)
void SetName(const Aws::String &value)
PackageObject & WithPatchVersion(Aws::String &&value)
void SetName(const char *value)
PackageObject & WithName(const char *value)
void SetPatchVersion(const char *value)
void SetPatchVersion(Aws::String &&value)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPackageVersion() const
PackageObject & WithPackageVersion(const Aws::String &value)
PackageObject & WithName(Aws::String &&value)
void SetName(Aws::String &&value)
void SetPackageVersion(const Aws::String &value)
void SetPackageVersion(Aws::String &&value)
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
Aws::Utils::Json::JsonValue JsonValue