AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetChatbotSns(const Aws::Vector<Aws::String>& value) { m_chatbotSnsHasBeenSet = true; m_chatbotSns = value; }
52 inline void SetChatbotSns(Aws::Vector<Aws::String>&& value) { m_chatbotSnsHasBeenSet = true; m_chatbotSns = std::move(value); }
53 inline ChatChannel& WithChatbotSns(const Aws::Vector<Aws::String>& value) { SetChatbotSns(value); return *this;}
54 inline ChatChannel& WithChatbotSns(Aws::Vector<Aws::String>&& value) { SetChatbotSns(std::move(value)); return *this;}
55 inline ChatChannel& AddChatbotSns(const Aws::String& value) { m_chatbotSnsHasBeenSet = true; m_chatbotSns.push_back(value); return *this; }
56 inline ChatChannel& AddChatbotSns(Aws::String&& value) { m_chatbotSnsHasBeenSet = true; m_chatbotSns.push_back(std::move(value)); return *this; }
57 inline ChatChannel& AddChatbotSns(const char* value) { m_chatbotSnsHasBeenSet = true; m_chatbotSns.push_back(value); return *this; }
59
61
64 inline const EmptyChatChannel& GetEmpty() const{ return m_empty; }
65 inline bool EmptyHasBeenSet() const { return m_emptyHasBeenSet; }
66 inline void SetEmpty(const EmptyChatChannel& value) { m_emptyHasBeenSet = true; m_empty = value; }
67 inline void SetEmpty(EmptyChatChannel&& value) { m_emptyHasBeenSet = true; m_empty = std::move(value); }
68 inline ChatChannel& WithEmpty(const EmptyChatChannel& value) { SetEmpty(value); return *this;}
69 inline ChatChannel& WithEmpty(EmptyChatChannel&& value) { SetEmpty(std::move(value)); return *this;}
71 private:
72
73 Aws::Vector<Aws::String> m_chatbotSns;
74 bool m_chatbotSnsHasBeenSet = false;
75
76 EmptyChatChannel m_empty;
77 bool m_emptyHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace SSMIncidents
82} // namespace Aws
ChatChannel & AddChatbotSns(const char *value)
Definition ChatChannel.h:57
ChatChannel & WithChatbotSns(Aws::Vector< Aws::String > &&value)
Definition ChatChannel.h:54
ChatChannel & AddChatbotSns(const Aws::String &value)
Definition ChatChannel.h:55
const Aws::Vector< Aws::String > & GetChatbotSns() const
Definition ChatChannel.h:49
ChatChannel & WithChatbotSns(const Aws::Vector< Aws::String > &value)
Definition ChatChannel.h:53
AWS_SSMINCIDENTS_API ChatChannel & operator=(Aws::Utils::Json::JsonView jsonValue)
ChatChannel & WithEmpty(const EmptyChatChannel &value)
Definition ChatChannel.h:68
ChatChannel & AddChatbotSns(Aws::String &&value)
Definition ChatChannel.h:56
void SetEmpty(EmptyChatChannel &&value)
Definition ChatChannel.h:67
AWS_SSMINCIDENTS_API ChatChannel()
AWS_SSMINCIDENTS_API ChatChannel(Aws::Utils::Json::JsonView jsonValue)
ChatChannel & WithEmpty(EmptyChatChannel &&value)
Definition ChatChannel.h:69
void SetEmpty(const EmptyChatChannel &value)
Definition ChatChannel.h:66
const EmptyChatChannel & GetEmpty() const
Definition ChatChannel.h:64
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetChatbotSns(Aws::Vector< Aws::String > &&value)
Definition ChatChannel.h:52
void SetChatbotSns(const Aws::Vector< Aws::String > &value)
Definition ChatChannel.h:51
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue