AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAdditionalInfo(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = value; }
57 inline void SetAdditionalInfo(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::move(value); }
60 inline AppComponent& AddAdditionalInfo(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, value); return *this; }
61 inline AppComponent& AddAdditionalInfo(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), value); return *this; }
62 inline AppComponent& AddAdditionalInfo(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, std::move(value)); return *this; }
63 inline AppComponent& AddAdditionalInfo(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), std::move(value)); return *this; }
64 inline AppComponent& AddAdditionalInfo(const char* key, Aws::Vector<Aws::String>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, std::move(value)); return *this; }
65 inline AppComponent& AddAdditionalInfo(const char* key, const Aws::Vector<Aws::String>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, value); return *this; }
67
69
72 inline const Aws::String& GetId() const{ return m_id; }
73 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
74 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
75 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
76 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
77 inline AppComponent& WithId(const Aws::String& value) { SetId(value); return *this;}
78 inline AppComponent& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
79 inline AppComponent& WithId(const char* value) { SetId(value); return *this;}
81
83
86 inline const Aws::String& GetName() const{ return m_name; }
87 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
88 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
89 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
90 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
91 inline AppComponent& WithName(const Aws::String& value) { SetName(value); return *this;}
92 inline AppComponent& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
93 inline AppComponent& WithName(const char* value) { SetName(value); return *this;}
95
97
100 inline const Aws::String& GetType() const{ return m_type; }
101 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
102 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
103 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
104 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
105 inline AppComponent& WithType(const Aws::String& value) { SetType(value); return *this;}
106 inline AppComponent& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
107 inline AppComponent& WithType(const char* value) { SetType(value); return *this;}
109 private:
110
112 bool m_additionalInfoHasBeenSet = false;
113
114 Aws::String m_id;
115 bool m_idHasBeenSet = false;
116
117 Aws::String m_name;
118 bool m_nameHasBeenSet = false;
119
120 Aws::String m_type;
121 bool m_typeHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace ResilienceHub
126} // namespace Aws
AppComponent & WithAdditionalInfo(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AWS_RESILIENCEHUB_API AppComponent(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAdditionalInfo() const
AppComponent & WithId(Aws::String &&value)
void SetName(Aws::String &&value)
void SetAdditionalInfo(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetType(Aws::String &&value)
AppComponent & WithType(Aws::String &&value)
const Aws::String & GetName() const
void SetName(const Aws::String &value)
AppComponent & AddAdditionalInfo(const char *key, Aws::Vector< Aws::String > &&value)
AWS_RESILIENCEHUB_API AppComponent()
AWS_RESILIENCEHUB_API AppComponent & operator=(Aws::Utils::Json::JsonView jsonValue)
AppComponent & WithAdditionalInfo(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
AppComponent & AddAdditionalInfo(Aws::String &&key, const Aws::Vector< Aws::String > &value)
AppComponent & WithType(const char *value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AppComponent & AddAdditionalInfo(const Aws::String &key, const Aws::Vector< Aws::String > &value)
AppComponent & AddAdditionalInfo(const char *key, const Aws::Vector< Aws::String > &value)
void SetId(const Aws::String &value)
AppComponent & WithId(const Aws::String &value)
AppComponent & AddAdditionalInfo(Aws::String &&key, Aws::Vector< Aws::String > &&value)
AppComponent & AddAdditionalInfo(const Aws::String &key, Aws::Vector< Aws::String > &&value)
void SetType(const Aws::String &value)
void SetAdditionalInfo(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AppComponent & WithType(const Aws::String &value)
AppComponent & WithId(const char *value)
const Aws::String & GetId() const
AppComponent & WithName(Aws::String &&value)
void SetId(Aws::String &&value)
const Aws::String & GetType() const
AppComponent & WithName(const char *value)
AppComponent & WithName(const Aws::String &value)
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue