AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Message.h
1
6#pragma once
7#include <aws/route53-recovery-readiness/Route53RecoveryReadiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Route53RecoveryReadiness
22{
23namespace Model
24{
25
31 class Message
32 {
33 public:
34 AWS_ROUTE53RECOVERYREADINESS_API Message();
35 AWS_ROUTE53RECOVERYREADINESS_API Message(Aws::Utils::Json::JsonView jsonValue);
36 AWS_ROUTE53RECOVERYREADINESS_API Message& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ROUTE53RECOVERYREADINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetMessageText() const{ return m_messageText; }
45 inline bool MessageTextHasBeenSet() const { return m_messageTextHasBeenSet; }
46 inline void SetMessageText(const Aws::String& value) { m_messageTextHasBeenSet = true; m_messageText = value; }
47 inline void SetMessageText(Aws::String&& value) { m_messageTextHasBeenSet = true; m_messageText = std::move(value); }
48 inline void SetMessageText(const char* value) { m_messageTextHasBeenSet = true; m_messageText.assign(value); }
49 inline Message& WithMessageText(const Aws::String& value) { SetMessageText(value); return *this;}
50 inline Message& WithMessageText(Aws::String&& value) { SetMessageText(std::move(value)); return *this;}
51 inline Message& WithMessageText(const char* value) { SetMessageText(value); return *this;}
53 private:
54
55 Aws::String m_messageText;
56 bool m_messageTextHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace Route53RecoveryReadiness
61} // namespace Aws
Message & WithMessageText(Aws::String &&value)
Definition Message.h:50
const Aws::String & GetMessageText() const
Definition Message.h:44
AWS_ROUTE53RECOVERYREADINESS_API Message(Aws::Utils::Json::JsonView jsonValue)
void SetMessageText(const Aws::String &value)
Definition Message.h:46
AWS_ROUTE53RECOVERYREADINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessageText(Aws::String &&value)
Definition Message.h:47
Message & WithMessageText(const char *value)
Definition Message.h:51
void SetMessageText(const char *value)
Definition Message.h:48
AWS_ROUTE53RECOVERYREADINESS_API Message & operator=(Aws::Utils::Json::JsonView jsonValue)
Message & WithMessageText(const Aws::String &value)
Definition Message.h:49
AWS_ROUTE53RECOVERYREADINESS_API Message()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue