AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
AlternateSoftwareMetadata.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& GetVersion() const{ return m_version; }
44
48 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
49
53 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
54
58 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
59
63 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
64
68 inline AlternateSoftwareMetadata& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
69
73 inline AlternateSoftwareMetadata& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
74
78 inline AlternateSoftwareMetadata& WithVersion(const char* value) { SetVersion(value); return *this;}
79
80 private:
81
82 Aws::String m_version;
83 bool m_versionHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Panorama
88} // namespace Aws
#define AWS_PANORAMA_API
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PANORAMA_API AlternateSoftwareMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PANORAMA_API AlternateSoftwareMetadata(Aws::Utils::Json::JsonView jsonValue)
AlternateSoftwareMetadata & WithVersion(const Aws::String &value)
AlternateSoftwareMetadata & WithVersion(const char *value)
AlternateSoftwareMetadata & WithVersion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String