AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DescribeChimeWebhookConfigurationsResult.h
1
6#pragma once
7#include <aws/chatbot/Chatbot_EXPORTS.h>
8#include <aws/chatbot/model/ChimeWebhookConfiguration.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 DescribeChimeWebhookConfigurationsResult() = 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<ChimeWebhookConfiguration>& GetWebhookConfigurations() const { return m_webhookConfigurations; }
57 template <typename WebhookConfigurationsT = Aws::Vector<ChimeWebhookConfiguration>>
58 void SetWebhookConfigurations(WebhookConfigurationsT&& value) {
59 m_webhookConfigurationsHasBeenSet = true;
60 m_webhookConfigurations = std::forward<WebhookConfigurationsT>(value);
61 }
62 template <typename WebhookConfigurationsT = Aws::Vector<ChimeWebhookConfiguration>>
64 SetWebhookConfigurations(std::forward<WebhookConfigurationsT>(value));
65 return *this;
66 }
67 template <typename WebhookConfigurationsT = ChimeWebhookConfiguration>
69 m_webhookConfigurationsHasBeenSet = true;
70 m_webhookConfigurations.emplace_back(std::forward<WebhookConfigurationsT>(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<ChimeWebhookConfiguration> m_webhookConfigurations;
94 bool m_webhookConfigurationsHasBeenSet = false;
95
96 Aws::String m_requestId;
97 bool m_requestIdHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace chatbot
102} // namespace Aws
DescribeChimeWebhookConfigurationsResult & WithNextToken(NextTokenT &&value)
AWS_CHATBOT_API DescribeChimeWebhookConfigurationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeChimeWebhookConfigurationsResult & AddWebhookConfigurations(WebhookConfigurationsT &&value)
AWS_CHATBOT_API DescribeChimeWebhookConfigurationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ChimeWebhookConfiguration > & GetWebhookConfigurations() const
DescribeChimeWebhookConfigurationsResult & WithRequestId(RequestIdT &&value)
DescribeChimeWebhookConfigurationsResult & WithWebhookConfigurations(WebhookConfigurationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue