AWS SDK for C++

AWS SDK for C++ Version 1.11.694

Loading...
Searching...
No Matches
MessageReviewHandler.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ivschat/Ivschat_EXPORTS.h>
9#include <aws/ivschat/model/FallbackResult.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ivschat {
21namespace Model {
22
30 public:
31 AWS_IVSCHAT_API MessageReviewHandler() = default;
34 AWS_IVSCHAT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetUri() const { return m_uri; }
42 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
43 template <typename UriT = Aws::String>
44 void SetUri(UriT&& value) {
45 m_uriHasBeenSet = true;
46 m_uri = std::forward<UriT>(value);
47 }
48 template <typename UriT = Aws::String>
50 SetUri(std::forward<UriT>(value));
51 return *this;
52 }
54
56
65 inline FallbackResult GetFallbackResult() const { return m_fallbackResult; }
66 inline bool FallbackResultHasBeenSet() const { return m_fallbackResultHasBeenSet; }
67 inline void SetFallbackResult(FallbackResult value) {
68 m_fallbackResultHasBeenSet = true;
69 m_fallbackResult = value;
70 }
72 SetFallbackResult(value);
73 return *this;
74 }
76 private:
77 Aws::String m_uri;
78 bool m_uriHasBeenSet = false;
79
81 bool m_fallbackResultHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace ivschat
86} // namespace Aws
AWS_IVSCHAT_API MessageReviewHandler & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IVSCHAT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IVSCHAT_API MessageReviewHandler(Aws::Utils::Json::JsonView jsonValue)
MessageReviewHandler & WithUri(UriT &&value)
MessageReviewHandler & WithFallbackResult(FallbackResult value)
AWS_IVSCHAT_API MessageReviewHandler()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue