AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ServiceGroup.h
1
6#pragma once
7#include <aws/application-signals/ApplicationSignals_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 ApplicationSignals {
20namespace Model {
21
30 public:
31 AWS_APPLICATIONSIGNALS_API ServiceGroup() = default;
32 AWS_APPLICATIONSIGNALS_API ServiceGroup(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APPLICATIONSIGNALS_API ServiceGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetGroupName() const { return m_groupName; }
42 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
43 template <typename GroupNameT = Aws::String>
44 void SetGroupName(GroupNameT&& value) {
45 m_groupNameHasBeenSet = true;
46 m_groupName = std::forward<GroupNameT>(value);
47 }
48 template <typename GroupNameT = Aws::String>
49 ServiceGroup& WithGroupName(GroupNameT&& value) {
50 SetGroupName(std::forward<GroupNameT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetGroupValue() const { return m_groupValue; }
61 inline bool GroupValueHasBeenSet() const { return m_groupValueHasBeenSet; }
62 template <typename GroupValueT = Aws::String>
63 void SetGroupValue(GroupValueT&& value) {
64 m_groupValueHasBeenSet = true;
65 m_groupValue = std::forward<GroupValueT>(value);
66 }
67 template <typename GroupValueT = Aws::String>
68 ServiceGroup& WithGroupValue(GroupValueT&& value) {
69 SetGroupValue(std::forward<GroupValueT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetGroupSource() const { return m_groupSource; }
80 inline bool GroupSourceHasBeenSet() const { return m_groupSourceHasBeenSet; }
81 template <typename GroupSourceT = Aws::String>
82 void SetGroupSource(GroupSourceT&& value) {
83 m_groupSourceHasBeenSet = true;
84 m_groupSource = std::forward<GroupSourceT>(value);
85 }
86 template <typename GroupSourceT = Aws::String>
87 ServiceGroup& WithGroupSource(GroupSourceT&& value) {
88 SetGroupSource(std::forward<GroupSourceT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::String& GetGroupIdentifier() const { return m_groupIdentifier; }
99 inline bool GroupIdentifierHasBeenSet() const { return m_groupIdentifierHasBeenSet; }
100 template <typename GroupIdentifierT = Aws::String>
101 void SetGroupIdentifier(GroupIdentifierT&& value) {
102 m_groupIdentifierHasBeenSet = true;
103 m_groupIdentifier = std::forward<GroupIdentifierT>(value);
104 }
105 template <typename GroupIdentifierT = Aws::String>
106 ServiceGroup& WithGroupIdentifier(GroupIdentifierT&& value) {
107 SetGroupIdentifier(std::forward<GroupIdentifierT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_groupName;
113
114 Aws::String m_groupValue;
115
116 Aws::String m_groupSource;
117
118 Aws::String m_groupIdentifier;
119 bool m_groupNameHasBeenSet = false;
120 bool m_groupValueHasBeenSet = false;
121 bool m_groupSourceHasBeenSet = false;
122 bool m_groupIdentifierHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace ApplicationSignals
127} // namespace Aws
AWS_APPLICATIONSIGNALS_API ServiceGroup()=default
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceGroup & WithGroupSource(GroupSourceT &&value)
const Aws::String & GetGroupName() const
AWS_APPLICATIONSIGNALS_API ServiceGroup(Aws::Utils::Json::JsonView jsonValue)
ServiceGroup & WithGroupIdentifier(GroupIdentifierT &&value)
ServiceGroup & WithGroupValue(GroupValueT &&value)
void SetGroupIdentifier(GroupIdentifierT &&value)
AWS_APPLICATIONSIGNALS_API ServiceGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetGroupIdentifier() const
const Aws::String & GetGroupSource() const
const Aws::String & GetGroupValue() const
ServiceGroup & WithGroupName(GroupNameT &&value)
void SetGroupSource(GroupSourceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue