AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
SystemVersionSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/odb/Odb_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace odb {
21namespace Model {
22
31 public:
32 AWS_ODB_API SystemVersionSummary() = default;
36
38
41 inline const Aws::String& GetGiVersion() const { return m_giVersion; }
42 inline bool GiVersionHasBeenSet() const { return m_giVersionHasBeenSet; }
43 template <typename GiVersionT = Aws::String>
44 void SetGiVersion(GiVersionT&& value) {
45 m_giVersionHasBeenSet = true;
46 m_giVersion = std::forward<GiVersionT>(value);
47 }
48 template <typename GiVersionT = Aws::String>
49 SystemVersionSummary& WithGiVersion(GiVersionT&& value) {
50 SetGiVersion(std::forward<GiVersionT>(value));
51 return *this;
52 }
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) {
63 m_shapeHasBeenSet = true;
64 m_shape = std::forward<ShapeT>(value);
65 }
66 template <typename ShapeT = Aws::String>
68 SetShape(std::forward<ShapeT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::Vector<Aws::String>& GetSystemVersions() const { return m_systemVersions; }
79 inline bool SystemVersionsHasBeenSet() const { return m_systemVersionsHasBeenSet; }
80 template <typename SystemVersionsT = Aws::Vector<Aws::String>>
81 void SetSystemVersions(SystemVersionsT&& value) {
82 m_systemVersionsHasBeenSet = true;
83 m_systemVersions = std::forward<SystemVersionsT>(value);
84 }
85 template <typename SystemVersionsT = Aws::Vector<Aws::String>>
86 SystemVersionSummary& WithSystemVersions(SystemVersionsT&& value) {
87 SetSystemVersions(std::forward<SystemVersionsT>(value));
88 return *this;
89 }
90 template <typename SystemVersionsT = Aws::String>
91 SystemVersionSummary& AddSystemVersions(SystemVersionsT&& value) {
92 m_systemVersionsHasBeenSet = true;
93 m_systemVersions.emplace_back(std::forward<SystemVersionsT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_giVersion;
99
100 Aws::String m_shape;
101
102 Aws::Vector<Aws::String> m_systemVersions;
103 bool m_giVersionHasBeenSet = false;
104 bool m_shapeHasBeenSet = false;
105 bool m_systemVersionsHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace odb
110} // 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