AWS SDK for C++

AWS SDK for C++ Version 1.11.904

Loading...
Searching...
No Matches
UpdateWhatsAppFlowRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/socialmessaging/SocialMessagingRequest.h>
10#include <aws/socialmessaging/SocialMessaging_EXPORTS.h>
11#include <aws/socialmessaging/model/MetaFlowCategory.h>
12
13#include <utility>
14
15namespace Aws {
16namespace SocialMessaging {
17namespace Model {
18
22 public:
23 AWS_SOCIALMESSAGING_API UpdateWhatsAppFlowRequest() = 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 "UpdateWhatsAppFlow"; }
30
31 AWS_SOCIALMESSAGING_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetId() const { return m_id; }
38 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
39 template <typename IdT = Aws::String>
40 void SetId(IdT&& value) {
41 m_idHasBeenSet = true;
42 m_id = std::forward<IdT>(value);
43 }
44 template <typename IdT = Aws::String>
46 SetId(std::forward<IdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetFlowId() const { return m_flowId; }
56 inline bool FlowIdHasBeenSet() const { return m_flowIdHasBeenSet; }
57 template <typename FlowIdT = Aws::String>
58 void SetFlowId(FlowIdT&& value) {
59 m_flowIdHasBeenSet = true;
60 m_flowId = std::forward<FlowIdT>(value);
61 }
62 template <typename FlowIdT = Aws::String>
64 SetFlowId(std::forward<FlowIdT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetFlowName() const { return m_flowName; }
74 inline bool FlowNameHasBeenSet() const { return m_flowNameHasBeenSet; }
75 template <typename FlowNameT = Aws::String>
76 void SetFlowName(FlowNameT&& value) {
77 m_flowNameHasBeenSet = true;
78 m_flowName = std::forward<FlowNameT>(value);
79 }
80 template <typename FlowNameT = Aws::String>
82 SetFlowName(std::forward<FlowNameT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::Vector<MetaFlowCategory>& GetCategories() const { return m_categories; }
92 inline bool CategoriesHasBeenSet() const { return m_categoriesHasBeenSet; }
93 template <typename CategoriesT = Aws::Vector<MetaFlowCategory>>
94 void SetCategories(CategoriesT&& value) {
95 m_categoriesHasBeenSet = true;
96 m_categories = std::forward<CategoriesT>(value);
97 }
98 template <typename CategoriesT = Aws::Vector<MetaFlowCategory>>
100 SetCategories(std::forward<CategoriesT>(value));
101 return *this;
102 }
104 m_categoriesHasBeenSet = true;
105 m_categories.push_back(value);
106 return *this;
107 }
109
111
114 inline const Aws::String& GetEndpointUri() const { return m_endpointUri; }
115 inline bool EndpointUriHasBeenSet() const { return m_endpointUriHasBeenSet; }
116 template <typename EndpointUriT = Aws::String>
117 void SetEndpointUri(EndpointUriT&& value) {
118 m_endpointUriHasBeenSet = true;
119 m_endpointUri = std::forward<EndpointUriT>(value);
120 }
121 template <typename EndpointUriT = Aws::String>
123 SetEndpointUri(std::forward<EndpointUriT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::String& GetMetaAppId() const { return m_metaAppId; }
133 inline bool MetaAppIdHasBeenSet() const { return m_metaAppIdHasBeenSet; }
134 template <typename MetaAppIdT = Aws::String>
135 void SetMetaAppId(MetaAppIdT&& value) {
136 m_metaAppIdHasBeenSet = true;
137 m_metaAppId = std::forward<MetaAppIdT>(value);
138 }
139 template <typename MetaAppIdT = Aws::String>
141 SetMetaAppId(std::forward<MetaAppIdT>(value));
142 return *this;
143 }
145 private:
146 Aws::String m_id;
147
148 Aws::String m_flowId;
149
150 Aws::String m_flowName;
151
153
154 Aws::String m_endpointUri;
155
156 Aws::String m_metaAppId;
157 bool m_idHasBeenSet = false;
158 bool m_flowIdHasBeenSet = false;
159 bool m_flowNameHasBeenSet = false;
160 bool m_categoriesHasBeenSet = false;
161 bool m_endpointUriHasBeenSet = false;
162 bool m_metaAppIdHasBeenSet = false;
163};
164
165} // namespace Model
166} // namespace SocialMessaging
167} // namespace Aws
UpdateWhatsAppFlowRequest & WithFlowId(FlowIdT &&value)
UpdateWhatsAppFlowRequest & WithFlowName(FlowNameT &&value)
UpdateWhatsAppFlowRequest & AddCategories(MetaFlowCategory value)
UpdateWhatsAppFlowRequest & WithCategories(CategoriesT &&value)
const Aws::Vector< MetaFlowCategory > & GetCategories() const
AWS_SOCIALMESSAGING_API UpdateWhatsAppFlowRequest()=default
UpdateWhatsAppFlowRequest & WithEndpointUri(EndpointUriT &&value)
UpdateWhatsAppFlowRequest & WithMetaAppId(MetaAppIdT &&value)
AWS_SOCIALMESSAGING_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector