AWS SDK for C++

AWS SDK for C++ Version 1.11.929

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AmplifyUIBuilder {
20namespace Model {
21
29 public:
30 AWS_AMPLIFYUIBUILDER_API ComponentSummary() = default;
31 AWS_AMPLIFYUIBUILDER_API ComponentSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_AMPLIFYUIBUILDER_API ComponentSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetAppId() const { return m_appId; }
40 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
41 template <typename AppIdT = Aws::String>
42 void SetAppId(AppIdT&& value) {
43 m_appIdHasBeenSet = true;
44 m_appId = std::forward<AppIdT>(value);
45 }
46 template <typename AppIdT = Aws::String>
47 ComponentSummary& WithAppId(AppIdT&& value) {
48 SetAppId(std::forward<AppIdT>(value));
49 return *this;
50 }
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) {
61 m_environmentNameHasBeenSet = true;
62 m_environmentName = std::forward<EnvironmentNameT>(value);
63 }
64 template <typename EnvironmentNameT = Aws::String>
65 ComponentSummary& WithEnvironmentName(EnvironmentNameT&& value) {
66 SetEnvironmentName(std::forward<EnvironmentNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetId() const { return m_id; }
76 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
77 template <typename IdT = Aws::String>
78 void SetId(IdT&& value) {
79 m_idHasBeenSet = true;
80 m_id = std::forward<IdT>(value);
81 }
82 template <typename IdT = Aws::String>
83 ComponentSummary& WithId(IdT&& value) {
84 SetId(std::forward<IdT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetName() const { return m_name; }
94 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
95 template <typename NameT = Aws::String>
96 void SetName(NameT&& value) {
97 m_nameHasBeenSet = true;
98 m_name = std::forward<NameT>(value);
99 }
100 template <typename NameT = Aws::String>
101 ComponentSummary& WithName(NameT&& value) {
102 SetName(std::forward<NameT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetComponentType() const { return m_componentType; }
112 inline bool ComponentTypeHasBeenSet() const { return m_componentTypeHasBeenSet; }
113 template <typename ComponentTypeT = Aws::String>
114 void SetComponentType(ComponentTypeT&& value) {
115 m_componentTypeHasBeenSet = true;
116 m_componentType = std::forward<ComponentTypeT>(value);
117 }
118 template <typename ComponentTypeT = Aws::String>
119 ComponentSummary& WithComponentType(ComponentTypeT&& value) {
120 SetComponentType(std::forward<ComponentTypeT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_appId;
126
127 Aws::String m_environmentName;
128
129 Aws::String m_id;
130
131 Aws::String m_name;
132
133 Aws::String m_componentType;
134 bool m_appIdHasBeenSet = false;
135 bool m_environmentNameHasBeenSet = false;
136 bool m_idHasBeenSet = false;
137 bool m_nameHasBeenSet = false;
138 bool m_componentTypeHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace AmplifyUIBuilder
143} // 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