AWS SDK for C++

AWS SDK for C++ Version 1.11.681

Loading...
Searching...
No Matches
DeleteVoiceChannelResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
9#include <aws/pinpoint/model/VoiceChannelResponse.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Pinpoint {
23namespace Model {
25 public:
26 AWS_PINPOINT_API DeleteVoiceChannelResult() = default;
29
31
32 inline const VoiceChannelResponse& GetVoiceChannelResponse() const { return m_voiceChannelResponse; }
33 template <typename VoiceChannelResponseT = VoiceChannelResponse>
34 void SetVoiceChannelResponse(VoiceChannelResponseT&& value) {
35 m_voiceChannelResponseHasBeenSet = true;
36 m_voiceChannelResponse = std::forward<VoiceChannelResponseT>(value);
37 }
38 template <typename VoiceChannelResponseT = VoiceChannelResponse>
39 DeleteVoiceChannelResult& WithVoiceChannelResponse(VoiceChannelResponseT&& value) {
40 SetVoiceChannelResponse(std::forward<VoiceChannelResponseT>(value));
41 return *this;
42 }
44
46
47 inline const Aws::String& GetRequestId() const { return m_requestId; }
48 template <typename RequestIdT = Aws::String>
49 void SetRequestId(RequestIdT&& value) {
50 m_requestIdHasBeenSet = true;
51 m_requestId = std::forward<RequestIdT>(value);
52 }
53 template <typename RequestIdT = Aws::String>
55 SetRequestId(std::forward<RequestIdT>(value));
56 return *this;
57 }
59 private:
60 VoiceChannelResponse m_voiceChannelResponse;
61 bool m_voiceChannelResponseHasBeenSet = false;
62
63 Aws::String m_requestId;
64 bool m_requestIdHasBeenSet = false;
65};
66
67} // namespace Model
68} // namespace Pinpoint
69} // namespace Aws
AWS_PINPOINT_API DeleteVoiceChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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