AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MessageReviewHandler.h
1
6#pragma once
7#include <aws/ivschat/Ivschat_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivschat/model/FallbackResult.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ivschat
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IVSCHAT_API MessageReviewHandler();
39 AWS_IVSCHAT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetUri() const{ return m_uri; }
48 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
49 inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; }
50 inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); }
51 inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); }
52 inline MessageReviewHandler& WithUri(const Aws::String& value) { SetUri(value); return *this;}
53 inline MessageReviewHandler& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;}
54 inline MessageReviewHandler& WithUri(const char* value) { SetUri(value); return *this;}
56
58
67 inline const FallbackResult& GetFallbackResult() const{ return m_fallbackResult; }
68 inline bool FallbackResultHasBeenSet() const { return m_fallbackResultHasBeenSet; }
69 inline void SetFallbackResult(const FallbackResult& value) { m_fallbackResultHasBeenSet = true; m_fallbackResult = value; }
70 inline void SetFallbackResult(FallbackResult&& value) { m_fallbackResultHasBeenSet = true; m_fallbackResult = std::move(value); }
71 inline MessageReviewHandler& WithFallbackResult(const FallbackResult& value) { SetFallbackResult(value); return *this;}
72 inline MessageReviewHandler& WithFallbackResult(FallbackResult&& value) { SetFallbackResult(std::move(value)); return *this;}
74 private:
75
76 Aws::String m_uri;
77 bool m_uriHasBeenSet = false;
78
79 FallbackResult m_fallbackResult;
80 bool m_fallbackResultHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace ivschat
85} // namespace Aws
AWS_IVSCHAT_API MessageReviewHandler & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IVSCHAT_API Aws::Utils::Json::JsonValue Jsonize() const
MessageReviewHandler & WithUri(Aws::String &&value)
AWS_IVSCHAT_API MessageReviewHandler(Aws::Utils::Json::JsonView jsonValue)
MessageReviewHandler & WithUri(const char *value)
const FallbackResult & GetFallbackResult() const
void SetFallbackResult(const FallbackResult &value)
void SetFallbackResult(FallbackResult &&value)
MessageReviewHandler & WithFallbackResult(FallbackResult &&value)
MessageReviewHandler & WithUri(const Aws::String &value)
MessageReviewHandler & WithFallbackResult(const FallbackResult &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue