AWS SDK for C++

AWS SDK for C++ Version 1.11.829

Loading...
Searching...
No Matches
MetaFlowHealthEntity.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/socialmessaging/SocialMessaging_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SocialMessaging {
20namespace Model {
21
29 public:
30 AWS_SOCIALMESSAGING_API MetaFlowHealthEntity() = default;
31 AWS_SOCIALMESSAGING_API MetaFlowHealthEntity(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SOCIALMESSAGING_API MetaFlowHealthEntity& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetEntityType() const { return m_entityType; }
40 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
41 template <typename EntityTypeT = Aws::String>
42 void SetEntityType(EntityTypeT&& value) {
43 m_entityTypeHasBeenSet = true;
44 m_entityType = std::forward<EntityTypeT>(value);
45 }
46 template <typename EntityTypeT = Aws::String>
47 MetaFlowHealthEntity& WithEntityType(EntityTypeT&& value) {
48 SetEntityType(std::forward<EntityTypeT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetId() const { return m_id; }
58 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
59 template <typename IdT = Aws::String>
60 void SetId(IdT&& value) {
61 m_idHasBeenSet = true;
62 m_id = std::forward<IdT>(value);
63 }
64 template <typename IdT = Aws::String>
66 SetId(std::forward<IdT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetCanSendMessage() const { return m_canSendMessage; }
77 inline bool CanSendMessageHasBeenSet() const { return m_canSendMessageHasBeenSet; }
78 template <typename CanSendMessageT = Aws::String>
79 void SetCanSendMessage(CanSendMessageT&& value) {
80 m_canSendMessageHasBeenSet = true;
81 m_canSendMessage = std::forward<CanSendMessageT>(value);
82 }
83 template <typename CanSendMessageT = Aws::String>
84 MetaFlowHealthEntity& WithCanSendMessage(CanSendMessageT&& value) {
85 SetCanSendMessage(std::forward<CanSendMessageT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_entityType;
91
92 Aws::String m_id;
93
94 Aws::String m_canSendMessage;
95 bool m_entityTypeHasBeenSet = false;
96 bool m_idHasBeenSet = false;
97 bool m_canSendMessageHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace SocialMessaging
102} // namespace Aws
AWS_SOCIALMESSAGING_API MetaFlowHealthEntity(Aws::Utils::Json::JsonView jsonValue)
AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
MetaFlowHealthEntity & WithEntityType(EntityTypeT &&value)
AWS_SOCIALMESSAGING_API MetaFlowHealthEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
MetaFlowHealthEntity & WithCanSendMessage(CanSendMessageT &&value)
AWS_SOCIALMESSAGING_API MetaFlowHealthEntity()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue