AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DescribeSlackChannelConfigurationsResult.h
1
6#pragma once
7#include <aws/chatbot/Chatbot_EXPORTS.h>
8#include <aws/chatbot/model/SlackChannelConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace chatbot {
24namespace Model {
26 public:
27 AWS_CHATBOT_API DescribeSlackChannelConfigurationsResult() = default;
31
33
39 inline const Aws::String& GetNextToken() const { return m_nextToken; }
40 template <typename NextTokenT = Aws::String>
41 void SetNextToken(NextTokenT&& value) {
42 m_nextTokenHasBeenSet = true;
43 m_nextToken = std::forward<NextTokenT>(value);
44 }
45 template <typename NextTokenT = Aws::String>
47 SetNextToken(std::forward<NextTokenT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::Vector<SlackChannelConfiguration>& GetSlackChannelConfigurations() const { return m_slackChannelConfigurations; }
57 template <typename SlackChannelConfigurationsT = Aws::Vector<SlackChannelConfiguration>>
58 void SetSlackChannelConfigurations(SlackChannelConfigurationsT&& value) {
59 m_slackChannelConfigurationsHasBeenSet = true;
60 m_slackChannelConfigurations = std::forward<SlackChannelConfigurationsT>(value);
61 }
62 template <typename SlackChannelConfigurationsT = Aws::Vector<SlackChannelConfiguration>>
64 SetSlackChannelConfigurations(std::forward<SlackChannelConfigurationsT>(value));
65 return *this;
66 }
67 template <typename SlackChannelConfigurationsT = SlackChannelConfiguration>
69 m_slackChannelConfigurationsHasBeenSet = true;
70 m_slackChannelConfigurations.emplace_back(std::forward<SlackChannelConfigurationsT>(value));
71 return *this;
72 }
74
76
77 inline const Aws::String& GetRequestId() const { return m_requestId; }
78 template <typename RequestIdT = Aws::String>
79 void SetRequestId(RequestIdT&& value) {
80 m_requestIdHasBeenSet = true;
81 m_requestId = std::forward<RequestIdT>(value);
82 }
83 template <typename RequestIdT = Aws::String>
85 SetRequestId(std::forward<RequestIdT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_nextToken;
91 bool m_nextTokenHasBeenSet = false;
92
93 Aws::Vector<SlackChannelConfiguration> m_slackChannelConfigurations;
94 bool m_slackChannelConfigurationsHasBeenSet = false;
95
96 Aws::String m_requestId;
97 bool m_requestIdHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace chatbot
102} // namespace Aws
AWS_CHATBOT_API DescribeSlackChannelConfigurationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< SlackChannelConfiguration > & GetSlackChannelConfigurations() const
DescribeSlackChannelConfigurationsResult & WithSlackChannelConfigurations(SlackChannelConfigurationsT &&value)
DescribeSlackChannelConfigurationsResult & WithRequestId(RequestIdT &&value)
DescribeSlackChannelConfigurationsResult & AddSlackChannelConfigurations(SlackChannelConfigurationsT &&value)
DescribeSlackChannelConfigurationsResult & WithNextToken(NextTokenT &&value)
AWS_CHATBOT_API DescribeSlackChannelConfigurationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue