7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace ApplicationSignals {
32 AWS_APPLICATIONSIGNALS_API
Node() =
default;
44 template <
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
46 m_keyAttributesHasBeenSet =
true;
47 m_keyAttributes = std::forward<KeyAttributesT>(value);
49 template <
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
54 template <
typename KeyAttributesKeyT = Aws::String,
typename KeyAttributesValueT = Aws::String>
56 m_keyAttributesHasBeenSet =
true;
57 m_keyAttributes.emplace(std::forward<KeyAttributesKeyT>(key), std::forward<KeyAttributesValueT>(value));
68 template <
typename NameT = Aws::String>
70 m_nameHasBeenSet =
true;
71 m_name = std::forward<NameT>(value);
73 template <
typename NameT = Aws::String>
75 SetName(std::forward<NameT>(value));
86 template <
typename NodeIdT = Aws::String>
88 m_nodeIdHasBeenSet =
true;
89 m_nodeId = std::forward<NodeIdT>(value);
91 template <
typename NodeIdT = Aws::String>
104 template <
typename OperationT = Aws::String>
106 m_operationHasBeenSet =
true;
107 m_operation = std::forward<OperationT>(value);
109 template <
typename OperationT = Aws::String>
123 template <
typename TypeT = Aws::String>
125 m_typeHasBeenSet =
true;
126 m_type = std::forward<TypeT>(value);
128 template <
typename TypeT = Aws::String>
130 SetType(std::forward<TypeT>(value));
142 m_durationHasBeenSet =
true;
157 template <
typename StatusT = Aws::String>
159 m_statusHasBeenSet =
true;
160 m_status = std::forward<StatusT>(value);
162 template <
typename StatusT = Aws::String>
179 double m_duration{0.0};
182 bool m_keyAttributesHasBeenSet =
false;
183 bool m_nameHasBeenSet =
false;
184 bool m_nodeIdHasBeenSet =
false;
185 bool m_operationHasBeenSet =
false;
186 bool m_typeHasBeenSet =
false;
187 bool m_durationHasBeenSet =
false;
188 bool m_statusHasBeenSet =
false;
const Aws::String & GetType() const
AWS_APPLICATIONSIGNALS_API Node(Aws::Utils::Json::JsonView jsonValue)
Node & WithOperation(OperationT &&value)
const Aws::String & GetName() const
bool OperationHasBeenSet() const
void SetNodeId(NodeIdT &&value)
void SetStatus(StatusT &&value)
AWS_APPLICATIONSIGNALS_API Node()=default
const Aws::String & GetOperation() const
bool TypeHasBeenSet() const
bool NameHasBeenSet() const
Node & AddKeyAttributes(KeyAttributesKeyT &&key, KeyAttributesValueT &&value)
Node & WithNodeId(NodeIdT &&value)
bool DurationHasBeenSet() const
Node & WithKeyAttributes(KeyAttributesT &&value)
double GetDuration() const
Node & WithName(NameT &&value)
const Aws::String & GetStatus() const
bool NodeIdHasBeenSet() const
Node & WithStatus(StatusT &&value)
void SetType(TypeT &&value)
const Aws::String & GetNodeId() const
Node & WithType(TypeT &&value)
void SetOperation(OperationT &&value)
void SetDuration(double value)
void SetKeyAttributes(KeyAttributesT &&value)
bool KeyAttributesHasBeenSet() const
bool StatusHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetKeyAttributes() const
AWS_APPLICATIONSIGNALS_API Node & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
Node & WithDuration(double value)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue