AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
UpdateOutboundRawMessage.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect {
20namespace Model {
21
29 public:
30 AWS_CONNECT_API UpdateOutboundRawMessage() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetBody() const { return m_body; }
40 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
41 template <typename BodyT = Aws::String>
42 void SetBody(BodyT&& value) {
43 m_bodyHasBeenSet = true;
44 m_body = std::forward<BodyT>(value);
45 }
46 template <typename BodyT = Aws::String>
48 SetBody(std::forward<BodyT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetContentType() const { return m_contentType; }
60 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
61 template <typename ContentTypeT = Aws::String>
62 void SetContentType(ContentTypeT&& value) {
63 m_contentTypeHasBeenSet = true;
64 m_contentType = std::forward<ContentTypeT>(value);
65 }
66 template <typename ContentTypeT = Aws::String>
68 SetContentType(std::forward<ContentTypeT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_body;
74
75 Aws::String m_contentType;
76 bool m_bodyHasBeenSet = false;
77 bool m_contentTypeHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Connect
82} // namespace Aws
AWS_CONNECT_API UpdateOutboundRawMessage()=default
UpdateOutboundRawMessage & WithContentType(ContentTypeT &&value)
AWS_CONNECT_API UpdateOutboundRawMessage(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateOutboundRawMessage & WithBody(BodyT &&value)
AWS_CONNECT_API UpdateOutboundRawMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue