AWS SDK for C++

AWS SDK for C++ Version 1.11.784

Loading...
Searching...
No Matches
StartAutomationJobRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace QuickSight {
15namespace Model {
16
20 public:
21 AWS_QUICKSIGHT_API StartAutomationJobRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "StartAutomationJob"; }
28
29 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
36 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
37 template <typename AwsAccountIdT = Aws::String>
38 void SetAwsAccountId(AwsAccountIdT&& value) {
39 m_awsAccountIdHasBeenSet = true;
40 m_awsAccountId = std::forward<AwsAccountIdT>(value);
41 }
42 template <typename AwsAccountIdT = Aws::String>
44 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetAutomationGroupId() const { return m_automationGroupId; }
54 inline bool AutomationGroupIdHasBeenSet() const { return m_automationGroupIdHasBeenSet; }
55 template <typename AutomationGroupIdT = Aws::String>
56 void SetAutomationGroupId(AutomationGroupIdT&& value) {
57 m_automationGroupIdHasBeenSet = true;
58 m_automationGroupId = std::forward<AutomationGroupIdT>(value);
59 }
60 template <typename AutomationGroupIdT = Aws::String>
61 StartAutomationJobRequest& WithAutomationGroupId(AutomationGroupIdT&& value) {
62 SetAutomationGroupId(std::forward<AutomationGroupIdT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetAutomationId() const { return m_automationId; }
72 inline bool AutomationIdHasBeenSet() const { return m_automationIdHasBeenSet; }
73 template <typename AutomationIdT = Aws::String>
74 void SetAutomationId(AutomationIdT&& value) {
75 m_automationIdHasBeenSet = true;
76 m_automationId = std::forward<AutomationIdT>(value);
77 }
78 template <typename AutomationIdT = Aws::String>
80 SetAutomationId(std::forward<AutomationIdT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetInputPayload() const { return m_inputPayload; }
90 inline bool InputPayloadHasBeenSet() const { return m_inputPayloadHasBeenSet; }
91 template <typename InputPayloadT = Aws::String>
92 void SetInputPayload(InputPayloadT&& value) {
93 m_inputPayloadHasBeenSet = true;
94 m_inputPayload = std::forward<InputPayloadT>(value);
95 }
96 template <typename InputPayloadT = Aws::String>
98 SetInputPayload(std::forward<InputPayloadT>(value));
99 return *this;
100 }
102 private:
103 Aws::String m_awsAccountId;
104
105 Aws::String m_automationGroupId;
106
107 Aws::String m_automationId;
108
109 Aws::String m_inputPayload;
110 bool m_awsAccountIdHasBeenSet = false;
111 bool m_automationGroupIdHasBeenSet = false;
112 bool m_automationIdHasBeenSet = false;
113 bool m_inputPayloadHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace QuickSight
118} // namespace Aws
AWS_QUICKSIGHT_API StartAutomationJobRequest()=default
StartAutomationJobRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
StartAutomationJobRequest & WithAutomationGroupId(AutomationGroupIdT &&value)
StartAutomationJobRequest & WithAutomationId(AutomationIdT &&value)
StartAutomationJobRequest & WithInputPayload(InputPayloadT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String