AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetComponentType(const Aws::String& value) { m_componentTypeHasBeenSet = true; m_componentType = value; }
48 inline void SetComponentType(Aws::String&& value) { m_componentTypeHasBeenSet = true; m_componentType = std::move(value); }
49 inline void SetComponentType(const char* value) { m_componentTypeHasBeenSet = true; m_componentType.assign(value); }
50 inline ComponentVersion& WithComponentType(const Aws::String& value) { SetComponentType(value); return *this;}
51 inline ComponentVersion& WithComponentType(Aws::String&& value) { SetComponentType(std::move(value)); return *this;}
52 inline ComponentVersion& WithComponentType(const char* value) { SetComponentType(value); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetVersions() const{ return m_versions; }
60 inline bool VersionsHasBeenSet() const { return m_versionsHasBeenSet; }
61 inline void SetVersions(const Aws::Vector<Aws::String>& value) { m_versionsHasBeenSet = true; m_versions = value; }
62 inline void SetVersions(Aws::Vector<Aws::String>&& value) { m_versionsHasBeenSet = true; m_versions = std::move(value); }
63 inline ComponentVersion& WithVersions(const Aws::Vector<Aws::String>& value) { SetVersions(value); return *this;}
64 inline ComponentVersion& WithVersions(Aws::Vector<Aws::String>&& value) { SetVersions(std::move(value)); return *this;}
65 inline ComponentVersion& AddVersions(const Aws::String& value) { m_versionsHasBeenSet = true; m_versions.push_back(value); return *this; }
66 inline ComponentVersion& AddVersions(Aws::String&& value) { m_versionsHasBeenSet = true; m_versions.push_back(std::move(value)); return *this; }
67 inline ComponentVersion& AddVersions(const char* value) { m_versionsHasBeenSet = true; m_versions.push_back(value); return *this; }
69 private:
70
71 Aws::String m_componentType;
72 bool m_componentTypeHasBeenSet = false;
73
74 Aws::Vector<Aws::String> m_versions;
75 bool m_versionsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace GroundStation
80} // namespace Aws
ComponentVersion & WithComponentType(Aws::String &&value)
ComponentVersion & AddVersions(const char *value)
void SetVersions(const Aws::Vector< Aws::String > &value)
ComponentVersion & WithComponentType(const Aws::String &value)
ComponentVersion & WithVersions(Aws::Vector< Aws::String > &&value)
void SetVersions(Aws::Vector< Aws::String > &&value)
ComponentVersion & WithComponentType(const char *value)
const Aws::Vector< Aws::String > & GetVersions() const
void SetComponentType(const Aws::String &value)
const Aws::String & GetComponentType() const
ComponentVersion & WithVersions(const Aws::Vector< Aws::String > &value)
ComponentVersion & AddVersions(const Aws::String &value)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GROUNDSTATION_API ComponentVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentVersion & AddVersions(Aws::String &&value)
AWS_GROUNDSTATION_API ComponentVersion(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue