AWS SDK for C++

AWS SDK for C++ Version 1.11.906

Loading...
Searching...
No Matches
UpdateTextParameters.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/endusermessaging/EndUserMessaging_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EndUserMessaging {
21namespace Model {
22
31 public:
32 AWS_ENDUSERMESSAGING_API UpdateTextParameters() = default;
33 AWS_ENDUSERMESSAGING_API UpdateTextParameters(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ENDUSERMESSAGING_API UpdateTextParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ENDUSERMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetInlineTemplateBody() const { return m_inlineTemplateBody; }
43 inline bool InlineTemplateBodyHasBeenSet() const { return m_inlineTemplateBodyHasBeenSet; }
44 template <typename InlineTemplateBodyT = Aws::String>
45 void SetInlineTemplateBody(InlineTemplateBodyT&& value) {
46 m_inlineTemplateBodyHasBeenSet = true;
47 m_inlineTemplateBody = std::forward<InlineTemplateBodyT>(value);
48 }
49 template <typename InlineTemplateBodyT = Aws::String>
50 UpdateTextParameters& WithInlineTemplateBody(InlineTemplateBodyT&& value) {
51 SetInlineTemplateBody(std::forward<InlineTemplateBodyT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::Map<Aws::String, Aws::String>& GetDestinationCountryParameters() const { return m_destinationCountryParameters; }
62 inline bool DestinationCountryParametersHasBeenSet() const { return m_destinationCountryParametersHasBeenSet; }
63 template <typename DestinationCountryParametersT = Aws::Map<Aws::String, Aws::String>>
64 void SetDestinationCountryParameters(DestinationCountryParametersT&& value) {
65 m_destinationCountryParametersHasBeenSet = true;
66 m_destinationCountryParameters = std::forward<DestinationCountryParametersT>(value);
67 }
68 template <typename DestinationCountryParametersT = Aws::Map<Aws::String, Aws::String>>
69 UpdateTextParameters& WithDestinationCountryParameters(DestinationCountryParametersT&& value) {
70 SetDestinationCountryParameters(std::forward<DestinationCountryParametersT>(value));
71 return *this;
72 }
73 template <typename DestinationCountryParametersKeyT = Aws::String, typename DestinationCountryParametersValueT = Aws::String>
74 UpdateTextParameters& AddDestinationCountryParameters(DestinationCountryParametersKeyT&& key,
75 DestinationCountryParametersValueT&& value) {
76 m_destinationCountryParametersHasBeenSet = true;
77 m_destinationCountryParameters.emplace(std::forward<DestinationCountryParametersKeyT>(key),
78 std::forward<DestinationCountryParametersValueT>(value));
79 return *this;
80 }
82 private:
83 Aws::String m_inlineTemplateBody;
84
85 Aws::Map<Aws::String, Aws::String> m_destinationCountryParameters;
86 bool m_inlineTemplateBodyHasBeenSet = false;
87 bool m_destinationCountryParametersHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace EndUserMessaging
92} // namespace Aws
UpdateTextParameters & AddDestinationCountryParameters(DestinationCountryParametersKeyT &&key, DestinationCountryParametersValueT &&value)
AWS_ENDUSERMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInlineTemplateBody(InlineTemplateBodyT &&value)
UpdateTextParameters & WithInlineTemplateBody(InlineTemplateBodyT &&value)
AWS_ENDUSERMESSAGING_API UpdateTextParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDestinationCountryParameters(DestinationCountryParametersT &&value)
AWS_ENDUSERMESSAGING_API UpdateTextParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_ENDUSERMESSAGING_API UpdateTextParameters()=default
UpdateTextParameters & WithDestinationCountryParameters(DestinationCountryParametersT &&value)
const Aws::Map< Aws::String, Aws::String > & GetDestinationCountryParameters() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue