AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ChatChannel.h
1
6#pragma once
7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ssm-incidents/model/EmptyChatChannel.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SSMIncidents
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SSMINCIDENTS_API ChatChannel() = default;
38 AWS_SSMINCIDENTS_API ChatChannel(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SSMINCIDENTS_API ChatChannel& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::Vector<Aws::String>& GetChatbotSns() const { return m_chatbotSns; }
50 inline bool ChatbotSnsHasBeenSet() const { return m_chatbotSnsHasBeenSet; }
51 template<typename ChatbotSnsT = Aws::Vector<Aws::String>>
52 void SetChatbotSns(ChatbotSnsT&& value) { m_chatbotSnsHasBeenSet = true; m_chatbotSns = std::forward<ChatbotSnsT>(value); }
53 template<typename ChatbotSnsT = Aws::Vector<Aws::String>>
54 ChatChannel& WithChatbotSns(ChatbotSnsT&& value) { SetChatbotSns(std::forward<ChatbotSnsT>(value)); return *this;}
55 template<typename ChatbotSnsT = Aws::String>
56 ChatChannel& AddChatbotSns(ChatbotSnsT&& value) { m_chatbotSnsHasBeenSet = true; m_chatbotSns.emplace_back(std::forward<ChatbotSnsT>(value)); return *this; }
58
60
63 inline const EmptyChatChannel& GetEmpty() const { return m_empty; }
64 inline bool EmptyHasBeenSet() const { return m_emptyHasBeenSet; }
65 template<typename EmptyT = EmptyChatChannel>
66 void SetEmpty(EmptyT&& value) { m_emptyHasBeenSet = true; m_empty = std::forward<EmptyT>(value); }
67 template<typename EmptyT = EmptyChatChannel>
68 ChatChannel& WithEmpty(EmptyT&& value) { SetEmpty(std::forward<EmptyT>(value)); return *this;}
70 private:
71
72 Aws::Vector<Aws::String> m_chatbotSns;
73 bool m_chatbotSnsHasBeenSet = false;
74
75 EmptyChatChannel m_empty;
76 bool m_emptyHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SSMIncidents
81} // namespace Aws
const Aws::Vector< Aws::String > & GetChatbotSns() const
Definition ChatChannel.h:49
AWS_SSMINCIDENTS_API ChatChannel & operator=(Aws::Utils::Json::JsonView jsonValue)
ChatChannel & WithEmpty(EmptyT &&value)
Definition ChatChannel.h:68
AWS_SSMINCIDENTS_API ChatChannel(Aws::Utils::Json::JsonView jsonValue)
ChatChannel & WithChatbotSns(ChatbotSnsT &&value)
Definition ChatChannel.h:54
ChatChannel & AddChatbotSns(ChatbotSnsT &&value)
Definition ChatChannel.h:56
const EmptyChatChannel & GetEmpty() const
Definition ChatChannel.h:63
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSMINCIDENTS_API ChatChannel()=default
void SetChatbotSns(ChatbotSnsT &&value)
Definition ChatChannel.h:52
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue