AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AppComponent.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ResilienceHub
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_RESILIENCEHUB_API AppComponent() = default;
37 AWS_RESILIENCEHUB_API AppComponent(Aws::Utils::Json::JsonView jsonValue);
38 AWS_RESILIENCEHUB_API AppComponent& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
54 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetAdditionalInfo() const { return m_additionalInfo; }
55 inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
56 template<typename AdditionalInfoT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
57 void SetAdditionalInfo(AdditionalInfoT&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::forward<AdditionalInfoT>(value); }
58 template<typename AdditionalInfoT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
59 AppComponent& WithAdditionalInfo(AdditionalInfoT&& value) { SetAdditionalInfo(std::forward<AdditionalInfoT>(value)); return *this;}
60 template<typename AdditionalInfoKeyT = Aws::String, typename AdditionalInfoValueT = Aws::Vector<Aws::String>>
61 AppComponent& AddAdditionalInfo(AdditionalInfoKeyT&& key, AdditionalInfoValueT&& value) {
62 m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::forward<AdditionalInfoKeyT>(key), std::forward<AdditionalInfoValueT>(value)); return *this;
63 }
65
67
70 inline const Aws::String& GetId() const { return m_id; }
71 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
72 template<typename IdT = Aws::String>
73 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
74 template<typename IdT = Aws::String>
75 AppComponent& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
77
79
82 inline const Aws::String& GetName() const { return m_name; }
83 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
84 template<typename NameT = Aws::String>
85 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
86 template<typename NameT = Aws::String>
87 AppComponent& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
89
91
94 inline const Aws::String& GetType() const { return m_type; }
95 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
96 template<typename TypeT = Aws::String>
97 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
98 template<typename TypeT = Aws::String>
99 AppComponent& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
101 private:
102
104 bool m_additionalInfoHasBeenSet = false;
105
106 Aws::String m_id;
107 bool m_idHasBeenSet = false;
108
109 Aws::String m_name;
110 bool m_nameHasBeenSet = false;
111
112 Aws::String m_type;
113 bool m_typeHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace ResilienceHub
118} // namespace Aws
AppComponent & WithAdditionalInfo(AdditionalInfoT &&value)
AppComponent & AddAdditionalInfo(AdditionalInfoKeyT &&key, AdditionalInfoValueT &&value)
void SetAdditionalInfo(AdditionalInfoT &&value)
AWS_RESILIENCEHUB_API AppComponent(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAdditionalInfo() const
AppComponent & WithId(IdT &&value)
const Aws::String & GetName() const
AWS_RESILIENCEHUB_API AppComponent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AppComponent & WithName(NameT &&value)
AWS_RESILIENCEHUB_API AppComponent()=default
const Aws::String & GetId() const
AppComponent & WithType(TypeT &&value)
const Aws::String & GetType() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue