AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GroupingAppComponent.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_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 ResilienceHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_RESILIENCEHUB_API GroupingAppComponent();
36 AWS_RESILIENCEHUB_API GroupingAppComponent(Aws::Utils::Json::JsonView jsonValue);
38 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAppComponentId() const{ return m_appComponentId; }
46 inline bool AppComponentIdHasBeenSet() const { return m_appComponentIdHasBeenSet; }
47 inline void SetAppComponentId(const Aws::String& value) { m_appComponentIdHasBeenSet = true; m_appComponentId = value; }
48 inline void SetAppComponentId(Aws::String&& value) { m_appComponentIdHasBeenSet = true; m_appComponentId = std::move(value); }
49 inline void SetAppComponentId(const char* value) { m_appComponentIdHasBeenSet = true; m_appComponentId.assign(value); }
50 inline GroupingAppComponent& WithAppComponentId(const Aws::String& value) { SetAppComponentId(value); return *this;}
51 inline GroupingAppComponent& WithAppComponentId(Aws::String&& value) { SetAppComponentId(std::move(value)); return *this;}
52 inline GroupingAppComponent& WithAppComponentId(const char* value) { SetAppComponentId(value); return *this;}
54
56
59 inline const Aws::String& GetAppComponentName() const{ return m_appComponentName; }
60 inline bool AppComponentNameHasBeenSet() const { return m_appComponentNameHasBeenSet; }
61 inline void SetAppComponentName(const Aws::String& value) { m_appComponentNameHasBeenSet = true; m_appComponentName = value; }
62 inline void SetAppComponentName(Aws::String&& value) { m_appComponentNameHasBeenSet = true; m_appComponentName = std::move(value); }
63 inline void SetAppComponentName(const char* value) { m_appComponentNameHasBeenSet = true; m_appComponentName.assign(value); }
64 inline GroupingAppComponent& WithAppComponentName(const Aws::String& value) { SetAppComponentName(value); return *this;}
65 inline GroupingAppComponent& WithAppComponentName(Aws::String&& value) { SetAppComponentName(std::move(value)); return *this;}
66 inline GroupingAppComponent& WithAppComponentName(const char* value) { SetAppComponentName(value); return *this;}
68
70
73 inline const Aws::String& GetAppComponentType() const{ return m_appComponentType; }
74 inline bool AppComponentTypeHasBeenSet() const { return m_appComponentTypeHasBeenSet; }
75 inline void SetAppComponentType(const Aws::String& value) { m_appComponentTypeHasBeenSet = true; m_appComponentType = value; }
76 inline void SetAppComponentType(Aws::String&& value) { m_appComponentTypeHasBeenSet = true; m_appComponentType = std::move(value); }
77 inline void SetAppComponentType(const char* value) { m_appComponentTypeHasBeenSet = true; m_appComponentType.assign(value); }
78 inline GroupingAppComponent& WithAppComponentType(const Aws::String& value) { SetAppComponentType(value); return *this;}
79 inline GroupingAppComponent& WithAppComponentType(Aws::String&& value) { SetAppComponentType(std::move(value)); return *this;}
80 inline GroupingAppComponent& WithAppComponentType(const char* value) { SetAppComponentType(value); return *this;}
82 private:
83
84 Aws::String m_appComponentId;
85 bool m_appComponentIdHasBeenSet = false;
86
87 Aws::String m_appComponentName;
88 bool m_appComponentNameHasBeenSet = false;
89
90 Aws::String m_appComponentType;
91 bool m_appComponentTypeHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace ResilienceHub
96} // namespace Aws
GroupingAppComponent & WithAppComponentId(const char *value)
GroupingAppComponent & WithAppComponentType(const Aws::String &value)
AWS_RESILIENCEHUB_API GroupingAppComponent(Aws::Utils::Json::JsonView jsonValue)
GroupingAppComponent & WithAppComponentId(const Aws::String &value)
GroupingAppComponent & WithAppComponentId(Aws::String &&value)
GroupingAppComponent & WithAppComponentType(Aws::String &&value)
GroupingAppComponent & WithAppComponentName(Aws::String &&value)
GroupingAppComponent & WithAppComponentType(const char *value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESILIENCEHUB_API GroupingAppComponent & operator=(Aws::Utils::Json::JsonView jsonValue)
GroupingAppComponent & WithAppComponentName(const Aws::String &value)
GroupingAppComponent & WithAppComponentName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue