AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
48 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
49 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
50 inline ComponentSummary& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
51 inline ComponentSummary& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
52 inline ComponentSummary& WithAppId(const char* value) { SetAppId(value); return *this;}
54
56
59 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
60 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
61 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
62 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
63 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
64 inline ComponentSummary& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
65 inline ComponentSummary& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
66 inline ComponentSummary& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
68
70
73 inline const Aws::String& GetId() const{ return m_id; }
74 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
75 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
76 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
77 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
78 inline ComponentSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
79 inline ComponentSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
80 inline ComponentSummary& WithId(const char* value) { SetId(value); return *this;}
82
84
87 inline const Aws::String& GetName() const{ return m_name; }
88 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
89 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
90 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
91 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
92 inline ComponentSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
93 inline ComponentSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
94 inline ComponentSummary& WithName(const char* value) { SetName(value); return *this;}
96
98
101 inline const Aws::String& GetComponentType() const{ return m_componentType; }
102 inline bool ComponentTypeHasBeenSet() const { return m_componentTypeHasBeenSet; }
103 inline void SetComponentType(const Aws::String& value) { m_componentTypeHasBeenSet = true; m_componentType = value; }
104 inline void SetComponentType(Aws::String&& value) { m_componentTypeHasBeenSet = true; m_componentType = std::move(value); }
105 inline void SetComponentType(const char* value) { m_componentTypeHasBeenSet = true; m_componentType.assign(value); }
106 inline ComponentSummary& WithComponentType(const Aws::String& value) { SetComponentType(value); return *this;}
107 inline ComponentSummary& WithComponentType(Aws::String&& value) { SetComponentType(std::move(value)); return *this;}
108 inline ComponentSummary& WithComponentType(const char* value) { SetComponentType(value); return *this;}
110 private:
111
112 Aws::String m_appId;
113 bool m_appIdHasBeenSet = false;
114
115 Aws::String m_environmentName;
116 bool m_environmentNameHasBeenSet = false;
117
118 Aws::String m_id;
119 bool m_idHasBeenSet = false;
120
121 Aws::String m_name;
122 bool m_nameHasBeenSet = false;
123
124 Aws::String m_componentType;
125 bool m_componentTypeHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace AmplifyUIBuilder
130} // namespace Aws
AWS_AMPLIFYUIBUILDER_API ComponentSummary()
ComponentSummary & WithAppId(const Aws::String &value)
ComponentSummary & WithAppId(const char *value)
AWS_AMPLIFYUIBUILDER_API ComponentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentSummary & WithId(const Aws::String &value)
ComponentSummary & WithComponentType(const char *value)
ComponentSummary & WithComponentType(const Aws::String &value)
ComponentSummary & WithAppId(Aws::String &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetComponentType(const Aws::String &value)
ComponentSummary & WithEnvironmentName(const char *value)
ComponentSummary & WithId(Aws::String &&value)
AWS_AMPLIFYUIBUILDER_API ComponentSummary(Aws::Utils::Json::JsonView jsonValue)
ComponentSummary & WithEnvironmentName(Aws::String &&value)
ComponentSummary & WithComponentType(Aws::String &&value)
ComponentSummary & WithName(const char *value)
ComponentSummary & WithEnvironmentName(const Aws::String &value)
ComponentSummary & WithName(const Aws::String &value)
ComponentSummary & WithName(Aws::String &&value)
void SetEnvironmentName(const Aws::String &value)
ComponentSummary & WithId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue