AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
CallAnalyticsSkippedFeature.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/transcribe/TranscribeService_EXPORTS.h>
9#include <aws/transcribe/model/CallAnalyticsFeature.h>
10#include <aws/transcribe/model/CallAnalyticsSkippedReasonCode.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace TranscribeService {
22namespace Model {
23
36 public:
37 AWS_TRANSCRIBESERVICE_API CallAnalyticsSkippedFeature() = default;
38 AWS_TRANSCRIBESERVICE_API CallAnalyticsSkippedFeature(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
47 inline CallAnalyticsFeature GetFeature() const { return m_feature; }
48 inline bool FeatureHasBeenSet() const { return m_featureHasBeenSet; }
49 inline void SetFeature(CallAnalyticsFeature value) {
50 m_featureHasBeenSet = true;
51 m_feature = value;
52 }
54 SetFeature(value);
55 return *this;
56 }
58
60
64 inline CallAnalyticsSkippedReasonCode GetReasonCode() const { return m_reasonCode; }
65 inline bool ReasonCodeHasBeenSet() const { return m_reasonCodeHasBeenSet; }
67 m_reasonCodeHasBeenSet = true;
68 m_reasonCode = value;
69 }
71 SetReasonCode(value);
72 return *this;
73 }
75
77
81 inline const Aws::String& GetMessage() const { return m_message; }
82 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
83 template <typename MessageT = Aws::String>
84 void SetMessage(MessageT&& value) {
85 m_messageHasBeenSet = true;
86 m_message = std::forward<MessageT>(value);
87 }
88 template <typename MessageT = Aws::String>
90 SetMessage(std::forward<MessageT>(value));
91 return *this;
92 }
94 private:
96
98
99 Aws::String m_message;
100 bool m_featureHasBeenSet = false;
101 bool m_reasonCodeHasBeenSet = false;
102 bool m_messageHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace TranscribeService
107} // namespace Aws
CallAnalyticsSkippedFeature & WithReasonCode(CallAnalyticsSkippedReasonCode value)
AWS_TRANSCRIBESERVICE_API CallAnalyticsSkippedFeature(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESERVICE_API CallAnalyticsSkippedFeature & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
CallAnalyticsSkippedFeature & WithMessage(MessageT &&value)
AWS_TRANSCRIBESERVICE_API CallAnalyticsSkippedFeature()=default
CallAnalyticsSkippedFeature & WithFeature(CallAnalyticsFeature value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue