AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ComponentSummary.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AmplifyUIBuilder
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_AMPLIFYUIBUILDER_API ComponentSummary() = default;
36 AWS_AMPLIFYUIBUILDER_API ComponentSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AMPLIFYUIBUILDER_API ComponentSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAppId() const { return m_appId; }
46 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
47 template<typename AppIdT = Aws::String>
48 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet = true; m_appId = std::forward<AppIdT>(value); }
49 template<typename AppIdT = Aws::String>
50 ComponentSummary& WithAppId(AppIdT&& value) { SetAppId(std::forward<AppIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
58 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
59 template<typename EnvironmentNameT = Aws::String>
60 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::forward<EnvironmentNameT>(value); }
61 template<typename EnvironmentNameT = Aws::String>
62 ComponentSummary& WithEnvironmentName(EnvironmentNameT&& value) { SetEnvironmentName(std::forward<EnvironmentNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetId() const { return m_id; }
70 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
71 template<typename IdT = Aws::String>
72 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
73 template<typename IdT = Aws::String>
74 ComponentSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
76
78
81 inline const Aws::String& GetName() const { return m_name; }
82 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
83 template<typename NameT = Aws::String>
84 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
85 template<typename NameT = Aws::String>
86 ComponentSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
88
90
93 inline const Aws::String& GetComponentType() const { return m_componentType; }
94 inline bool ComponentTypeHasBeenSet() const { return m_componentTypeHasBeenSet; }
95 template<typename ComponentTypeT = Aws::String>
96 void SetComponentType(ComponentTypeT&& value) { m_componentTypeHasBeenSet = true; m_componentType = std::forward<ComponentTypeT>(value); }
97 template<typename ComponentTypeT = Aws::String>
98 ComponentSummary& WithComponentType(ComponentTypeT&& value) { SetComponentType(std::forward<ComponentTypeT>(value)); return *this;}
100 private:
101
102 Aws::String m_appId;
103 bool m_appIdHasBeenSet = false;
104
105 Aws::String m_environmentName;
106 bool m_environmentNameHasBeenSet = false;
107
108 Aws::String m_id;
109 bool m_idHasBeenSet = false;
110
111 Aws::String m_name;
112 bool m_nameHasBeenSet = false;
113
114 Aws::String m_componentType;
115 bool m_componentTypeHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace AmplifyUIBuilder
120} // namespace Aws
AWS_AMPLIFYUIBUILDER_API ComponentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentSummary & WithComponentType(ComponentTypeT &&value)
void SetEnvironmentName(EnvironmentNameT &&value)
ComponentSummary & WithAppId(AppIdT &&value)
AWS_AMPLIFYUIBUILDER_API ComponentSummary()=default
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentSummary & WithEnvironmentName(EnvironmentNameT &&value)
AWS_AMPLIFYUIBUILDER_API ComponentSummary(Aws::Utils::Json::JsonView jsonValue)
ComponentSummary & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue