AWS SDK for C++

AWS SDK for C++ Version 1.11.906

Loading...
Searching...
No Matches
UpdateNotifyCodeConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/endusermessaging/EndUserMessagingRequest.h>
9#include <aws/endusermessaging/EndUserMessaging_EXPORTS.h>
10#include <aws/endusermessaging/model/UpdateChannelParameters.h>
11#include <aws/endusermessaging/model/UpdateCodeConfigurationParameters.h>
12
13#include <utility>
14
15namespace Aws {
16namespace EndUserMessaging {
17namespace Model {
18
22 public:
23 AWS_ENDUSERMESSAGING_API UpdateNotifyCodeConfigurationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateNotifyCodeConfiguration"; }
30
31 AWS_ENDUSERMESSAGING_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetNotifyCodeConfigurationId() const { return m_notifyCodeConfigurationId; }
39 inline bool NotifyCodeConfigurationIdHasBeenSet() const { return m_notifyCodeConfigurationIdHasBeenSet; }
40 template <typename NotifyCodeConfigurationIdT = Aws::String>
41 void SetNotifyCodeConfigurationId(NotifyCodeConfigurationIdT&& value) {
42 m_notifyCodeConfigurationIdHasBeenSet = true;
43 m_notifyCodeConfigurationId = std::forward<NotifyCodeConfigurationIdT>(value);
44 }
45 template <typename NotifyCodeConfigurationIdT = Aws::String>
47 SetNotifyCodeConfigurationId(std::forward<NotifyCodeConfigurationIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetNotifyCodeConfigurationName() const { return m_notifyCodeConfigurationName; }
57 inline bool NotifyCodeConfigurationNameHasBeenSet() const { return m_notifyCodeConfigurationNameHasBeenSet; }
58 template <typename NotifyCodeConfigurationNameT = Aws::String>
59 void SetNotifyCodeConfigurationName(NotifyCodeConfigurationNameT&& value) {
60 m_notifyCodeConfigurationNameHasBeenSet = true;
61 m_notifyCodeConfigurationName = std::forward<NotifyCodeConfigurationNameT>(value);
62 }
63 template <typename NotifyCodeConfigurationNameT = Aws::String>
65 SetNotifyCodeConfigurationName(std::forward<NotifyCodeConfigurationNameT>(value));
66 return *this;
67 }
69
71
76 inline const UpdateCodeConfigurationParameters& GetCodeConfigurationParameters() const { return m_codeConfigurationParameters; }
77 inline bool CodeConfigurationParametersHasBeenSet() const { return m_codeConfigurationParametersHasBeenSet; }
78 template <typename CodeConfigurationParametersT = UpdateCodeConfigurationParameters>
79 void SetCodeConfigurationParameters(CodeConfigurationParametersT&& value) {
80 m_codeConfigurationParametersHasBeenSet = true;
81 m_codeConfigurationParameters = std::forward<CodeConfigurationParametersT>(value);
82 }
83 template <typename CodeConfigurationParametersT = UpdateCodeConfigurationParameters>
85 SetCodeConfigurationParameters(std::forward<CodeConfigurationParametersT>(value));
86 return *this;
87 }
89
91
99 inline const UpdateChannelParameters& GetChannelParameters() const { return m_channelParameters; }
100 inline bool ChannelParametersHasBeenSet() const { return m_channelParametersHasBeenSet; }
101 template <typename ChannelParametersT = UpdateChannelParameters>
102 void SetChannelParameters(ChannelParametersT&& value) {
103 m_channelParametersHasBeenSet = true;
104 m_channelParameters = std::forward<ChannelParametersT>(value);
105 }
106 template <typename ChannelParametersT = UpdateChannelParameters>
108 SetChannelParameters(std::forward<ChannelParametersT>(value));
109 return *this;
110 }
112
114
118 inline bool GetDeletionProtectionEnabled() const { return m_deletionProtectionEnabled; }
119 inline bool DeletionProtectionEnabledHasBeenSet() const { return m_deletionProtectionEnabledHasBeenSet; }
120 inline void SetDeletionProtectionEnabled(bool value) {
121 m_deletionProtectionEnabledHasBeenSet = true;
122 m_deletionProtectionEnabled = value;
123 }
126 return *this;
127 }
129 private:
130 Aws::String m_notifyCodeConfigurationId;
131
132 Aws::String m_notifyCodeConfigurationName;
133
134 UpdateCodeConfigurationParameters m_codeConfigurationParameters;
135
136 UpdateChannelParameters m_channelParameters;
137
138 bool m_deletionProtectionEnabled{false};
139 bool m_notifyCodeConfigurationIdHasBeenSet = false;
140 bool m_notifyCodeConfigurationNameHasBeenSet = false;
141 bool m_codeConfigurationParametersHasBeenSet = false;
142 bool m_channelParametersHasBeenSet = false;
143 bool m_deletionProtectionEnabledHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace EndUserMessaging
148} // namespace Aws
AWS_ENDUSERMESSAGING_API Aws::String SerializePayload() const override
UpdateNotifyCodeConfigurationRequest & WithNotifyCodeConfigurationName(NotifyCodeConfigurationNameT &&value)
UpdateNotifyCodeConfigurationRequest & WithChannelParameters(ChannelParametersT &&value)
UpdateNotifyCodeConfigurationRequest & WithCodeConfigurationParameters(CodeConfigurationParametersT &&value)
UpdateNotifyCodeConfigurationRequest & WithNotifyCodeConfigurationId(NotifyCodeConfigurationIdT &&value)
AWS_ENDUSERMESSAGING_API UpdateNotifyCodeConfigurationRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String