AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
TemplateCreateMessageBody.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_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 Pinpoint
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_PINPOINT_API TemplateCreateMessageBody() = default;
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const { return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 template<typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
49 template<typename ArnT = Aws::String>
50 TemplateCreateMessageBody& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
52
54
58 inline const Aws::String& GetMessage() const { return m_message; }
59 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
60 template<typename MessageT = Aws::String>
61 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
62 template<typename MessageT = Aws::String>
63 TemplateCreateMessageBody& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
65
67
70 inline const Aws::String& GetRequestID() const { return m_requestID; }
71 inline bool RequestIDHasBeenSet() const { return m_requestIDHasBeenSet; }
72 template<typename RequestIDT = Aws::String>
73 void SetRequestID(RequestIDT&& value) { m_requestIDHasBeenSet = true; m_requestID = std::forward<RequestIDT>(value); }
74 template<typename RequestIDT = Aws::String>
75 TemplateCreateMessageBody& WithRequestID(RequestIDT&& value) { SetRequestID(std::forward<RequestIDT>(value)); return *this;}
77 private:
78
79 Aws::String m_arn;
80 bool m_arnHasBeenSet = false;
81
82 Aws::String m_message;
83 bool m_messageHasBeenSet = false;
84
85 Aws::String m_requestID;
86 bool m_requestIDHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Pinpoint
91} // namespace Aws
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API TemplateCreateMessageBody & operator=(Aws::Utils::Json::JsonView jsonValue)
TemplateCreateMessageBody & WithArn(ArnT &&value)
TemplateCreateMessageBody & WithRequestID(RequestIDT &&value)
AWS_PINPOINT_API TemplateCreateMessageBody(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API TemplateCreateMessageBody()=default
TemplateCreateMessageBody & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue