AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ComponentVersion.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_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 GroundStation
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GROUNDSTATION_API ComponentVersion() = default;
36 AWS_GROUNDSTATION_API ComponentVersion(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GROUNDSTATION_API ComponentVersion& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetComponentType() const { return m_componentType; }
46 inline bool ComponentTypeHasBeenSet() const { return m_componentTypeHasBeenSet; }
47 template<typename ComponentTypeT = Aws::String>
48 void SetComponentType(ComponentTypeT&& value) { m_componentTypeHasBeenSet = true; m_componentType = std::forward<ComponentTypeT>(value); }
49 template<typename ComponentTypeT = Aws::String>
50 ComponentVersion& WithComponentType(ComponentTypeT&& value) { SetComponentType(std::forward<ComponentTypeT>(value)); return *this;}
52
54
57 inline const Aws::Vector<Aws::String>& GetVersions() const { return m_versions; }
58 inline bool VersionsHasBeenSet() const { return m_versionsHasBeenSet; }
59 template<typename VersionsT = Aws::Vector<Aws::String>>
60 void SetVersions(VersionsT&& value) { m_versionsHasBeenSet = true; m_versions = std::forward<VersionsT>(value); }
61 template<typename VersionsT = Aws::Vector<Aws::String>>
62 ComponentVersion& WithVersions(VersionsT&& value) { SetVersions(std::forward<VersionsT>(value)); return *this;}
63 template<typename VersionsT = Aws::String>
64 ComponentVersion& AddVersions(VersionsT&& value) { m_versionsHasBeenSet = true; m_versions.emplace_back(std::forward<VersionsT>(value)); return *this; }
66 private:
67
68 Aws::String m_componentType;
69 bool m_componentTypeHasBeenSet = false;
70
71 Aws::Vector<Aws::String> m_versions;
72 bool m_versionsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace GroundStation
77} // namespace Aws
void SetComponentType(ComponentTypeT &&value)
const Aws::Vector< Aws::String > & GetVersions() const
const Aws::String & GetComponentType() const
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GROUNDSTATION_API ComponentVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API ComponentVersion()=default
ComponentVersion & WithVersions(VersionsT &&value)
AWS_GROUNDSTATION_API ComponentVersion(Aws::Utils::Json::JsonView jsonValue)
ComponentVersion & AddVersions(VersionsT &&value)
ComponentVersion & WithComponentType(ComponentTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue