AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
DeliverToQBusinessAction.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/mailmanager/MailManager_EXPORTS.h>
10#include <aws/mailmanager/model/ActionFailurePolicy.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace MailManager {
21namespace Model {
22
30 public:
31 AWS_MAILMANAGER_API DeliverToQBusinessAction() = default;
32 AWS_MAILMANAGER_API DeliverToQBusinessAction(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_MAILMANAGER_API DeliverToQBusinessAction& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_MAILMANAGER_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
43 inline ActionFailurePolicy GetActionFailurePolicy() const { return m_actionFailurePolicy; }
44 inline bool ActionFailurePolicyHasBeenSet() const { return m_actionFailurePolicyHasBeenSet; }
46 m_actionFailurePolicyHasBeenSet = true;
47 m_actionFailurePolicy = value;
48 }
51 return *this;
52 }
54
56
60 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
61 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
62 template <typename ApplicationIdT = Aws::String>
63 void SetApplicationId(ApplicationIdT&& value) {
64 m_applicationIdHasBeenSet = true;
65 m_applicationId = std::forward<ApplicationIdT>(value);
66 }
67 template <typename ApplicationIdT = Aws::String>
69 SetApplicationId(std::forward<ApplicationIdT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetIndexId() const { return m_indexId; }
80 inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
81 template <typename IndexIdT = Aws::String>
82 void SetIndexId(IndexIdT&& value) {
83 m_indexIdHasBeenSet = true;
84 m_indexId = std::forward<IndexIdT>(value);
85 }
86 template <typename IndexIdT = Aws::String>
88 SetIndexId(std::forward<IndexIdT>(value));
89 return *this;
90 }
92
94
100 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
101 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
102 template <typename RoleArnT = Aws::String>
103 void SetRoleArn(RoleArnT&& value) {
104 m_roleArnHasBeenSet = true;
105 m_roleArn = std::forward<RoleArnT>(value);
106 }
107 template <typename RoleArnT = Aws::String>
109 SetRoleArn(std::forward<RoleArnT>(value));
110 return *this;
111 }
113 private:
115
116 Aws::String m_applicationId;
117
118 Aws::String m_indexId;
119
120 Aws::String m_roleArn;
121 bool m_actionFailurePolicyHasBeenSet = false;
122 bool m_applicationIdHasBeenSet = false;
123 bool m_indexIdHasBeenSet = false;
124 bool m_roleArnHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace MailManager
129} // namespace Aws
DeliverToQBusinessAction & WithRoleArn(RoleArnT &&value)
DeliverToQBusinessAction & WithIndexId(IndexIdT &&value)
AWS_MAILMANAGER_API DeliverToQBusinessAction & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_MAILMANAGER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_MAILMANAGER_API DeliverToQBusinessAction(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_MAILMANAGER_API DeliverToQBusinessAction()=default
DeliverToQBusinessAction & WithApplicationId(ApplicationIdT &&value)
DeliverToQBusinessAction & WithActionFailurePolicy(ActionFailurePolicy value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String