AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SystemVersionSummary.h
1
6#pragma once
7#include <aws/odb/Odb_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace odb
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_ODB_API SystemVersionSummary() = default;
41
42
44
47 inline const Aws::String& GetGiVersion() const { return m_giVersion; }
48 inline bool GiVersionHasBeenSet() const { return m_giVersionHasBeenSet; }
49 template<typename GiVersionT = Aws::String>
50 void SetGiVersion(GiVersionT&& value) { m_giVersionHasBeenSet = true; m_giVersion = std::forward<GiVersionT>(value); }
51 template<typename GiVersionT = Aws::String>
52 SystemVersionSummary& WithGiVersion(GiVersionT&& value) { SetGiVersion(std::forward<GiVersionT>(value)); return *this;}
54
56
59 inline const Aws::String& GetShape() const { return m_shape; }
60 inline bool ShapeHasBeenSet() const { return m_shapeHasBeenSet; }
61 template<typename ShapeT = Aws::String>
62 void SetShape(ShapeT&& value) { m_shapeHasBeenSet = true; m_shape = std::forward<ShapeT>(value); }
63 template<typename ShapeT = Aws::String>
64 SystemVersionSummary& WithShape(ShapeT&& value) { SetShape(std::forward<ShapeT>(value)); return *this;}
66
68
72 inline const Aws::Vector<Aws::String>& GetSystemVersions() const { return m_systemVersions; }
73 inline bool SystemVersionsHasBeenSet() const { return m_systemVersionsHasBeenSet; }
74 template<typename SystemVersionsT = Aws::Vector<Aws::String>>
75 void SetSystemVersions(SystemVersionsT&& value) { m_systemVersionsHasBeenSet = true; m_systemVersions = std::forward<SystemVersionsT>(value); }
76 template<typename SystemVersionsT = Aws::Vector<Aws::String>>
77 SystemVersionSummary& WithSystemVersions(SystemVersionsT&& value) { SetSystemVersions(std::forward<SystemVersionsT>(value)); return *this;}
78 template<typename SystemVersionsT = Aws::String>
79 SystemVersionSummary& AddSystemVersions(SystemVersionsT&& value) { m_systemVersionsHasBeenSet = true; m_systemVersions.emplace_back(std::forward<SystemVersionsT>(value)); return *this; }
81 private:
82
83 Aws::String m_giVersion;
84 bool m_giVersionHasBeenSet = false;
85
86 Aws::String m_shape;
87 bool m_shapeHasBeenSet = false;
88
89 Aws::Vector<Aws::String> m_systemVersions;
90 bool m_systemVersionsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace odb
95} // namespace Aws
AWS_ODB_API SystemVersionSummary(Aws::Utils::Json::JsonView jsonValue)
SystemVersionSummary & WithShape(ShapeT &&value)
const Aws::Vector< Aws::String > & GetSystemVersions() const
SystemVersionSummary & WithSystemVersions(SystemVersionsT &&value)
void SetSystemVersions(SystemVersionsT &&value)
AWS_ODB_API SystemVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SystemVersionSummary & AddSystemVersions(SystemVersionsT &&value)
const Aws::String & GetGiVersion() const
SystemVersionSummary & WithGiVersion(GiVersionT &&value)
AWS_ODB_API SystemVersionSummary()=default
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue