AWS SDK for C++

AWS SDK for C++ Version 1.11.827

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 private:
110 Aws::String m_id;
111
112 Aws::String m_flowId;
113
114 Aws::String m_flowName;
115
117 bool m_idHasBeenSet = false;
118 bool m_flowIdHasBeenSet = false;
119 bool m_flowNameHasBeenSet = false;
120 bool m_categoriesHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace SocialMessaging
125} // 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
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