AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
DeleteVoiceChannelResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/Pinpoint_EXPORTS.h>
10#include <aws/pinpoint/model/VoiceChannelResponse.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 Pinpoint {
24namespace Model {
26 public:
27 AWS_PINPOINT_API DeleteVoiceChannelResult() = default;
30
32
33 inline const VoiceChannelResponse& GetVoiceChannelResponse() const { return m_voiceChannelResponse; }
34 template <typename VoiceChannelResponseT = VoiceChannelResponse>
35 void SetVoiceChannelResponse(VoiceChannelResponseT&& value) {
36 m_voiceChannelResponseHasBeenSet = true;
37 m_voiceChannelResponse = std::forward<VoiceChannelResponseT>(value);
38 }
39 template <typename VoiceChannelResponseT = VoiceChannelResponse>
40 DeleteVoiceChannelResult& WithVoiceChannelResponse(VoiceChannelResponseT&& value) {
41 SetVoiceChannelResponse(std::forward<VoiceChannelResponseT>(value));
42 return *this;
43 }
45
47
48 inline const Aws::String& GetRequestId() const { return m_requestId; }
49 template <typename RequestIdT = Aws::String>
50 void SetRequestId(RequestIdT&& value) {
51 m_requestIdHasBeenSet = true;
52 m_requestId = std::forward<RequestIdT>(value);
53 }
54 template <typename RequestIdT = Aws::String>
56 SetRequestId(std::forward<RequestIdT>(value));
57 return *this;
58 }
60 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
61
62 private:
63 VoiceChannelResponse m_voiceChannelResponse;
64
65 Aws::String m_requestId;
66 Aws::Http::HttpResponseCode m_HttpResponseCode;
67 bool m_voiceChannelResponseHasBeenSet = false;
68 bool m_requestIdHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace Pinpoint
73} // namespace Aws
AWS_PINPOINT_API DeleteVoiceChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DeleteVoiceChannelResult & WithVoiceChannelResponse(VoiceChannelResponseT &&value)
const VoiceChannelResponse & GetVoiceChannelResponse() const
AWS_PINPOINT_API DeleteVoiceChannelResult()=default
DeleteVoiceChannelResult & WithRequestId(RequestIdT &&value)
void SetVoiceChannelResponse(VoiceChannelResponseT &&value)
AWS_PINPOINT_API DeleteVoiceChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue