AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeliverToQBusinessAction.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/model/ActionFailurePolicy.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MailManager
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MAILMANAGER_API DeliverToQBusinessAction() = default;
39 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline ActionFailurePolicy GetActionFailurePolicy() const { return m_actionFailurePolicy; }
50 inline bool ActionFailurePolicyHasBeenSet() const { return m_actionFailurePolicyHasBeenSet; }
51 inline void SetActionFailurePolicy(ActionFailurePolicy value) { m_actionFailurePolicyHasBeenSet = true; m_actionFailurePolicy = value; }
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) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
64 template<typename ApplicationIdT = Aws::String>
65 DeliverToQBusinessAction& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
67
69
73 inline const Aws::String& GetIndexId() const { return m_indexId; }
74 inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
75 template<typename IndexIdT = Aws::String>
76 void SetIndexId(IndexIdT&& value) { m_indexIdHasBeenSet = true; m_indexId = std::forward<IndexIdT>(value); }
77 template<typename IndexIdT = Aws::String>
78 DeliverToQBusinessAction& WithIndexId(IndexIdT&& value) { SetIndexId(std::forward<IndexIdT>(value)); return *this;}
80
82
88 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
89 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
90 template<typename RoleArnT = Aws::String>
91 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
92 template<typename RoleArnT = Aws::String>
93 DeliverToQBusinessAction& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
95 private:
96
98 bool m_actionFailurePolicyHasBeenSet = false;
99
100 Aws::String m_applicationId;
101 bool m_applicationIdHasBeenSet = false;
102
103 Aws::String m_indexId;
104 bool m_indexIdHasBeenSet = false;
105
106 Aws::String m_roleArn;
107 bool m_roleArnHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace MailManager
112} // namespace Aws
AWS_MAILMANAGER_API DeliverToQBusinessAction & operator=(Aws::Utils::Json::JsonView jsonValue)
DeliverToQBusinessAction & WithRoleArn(RoleArnT &&value)
AWS_MAILMANAGER_API DeliverToQBusinessAction(Aws::Utils::Json::JsonView jsonValue)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
DeliverToQBusinessAction & WithIndexId(IndexIdT &&value)
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
Aws::Utils::Json::JsonValue JsonValue