AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
StopAutomationExecutionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/ssm/SSM_EXPORTS.h>
10#include <aws/ssm/model/StopType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SSM {
16namespace Model {
17
21 public:
22 AWS_SSM_API StopAutomationExecutionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "StopAutomationExecution"; }
29
30 AWS_SSM_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetAutomationExecutionId() const { return m_automationExecutionId; }
39 inline bool AutomationExecutionIdHasBeenSet() const { return m_automationExecutionIdHasBeenSet; }
40 template <typename AutomationExecutionIdT = Aws::String>
41 void SetAutomationExecutionId(AutomationExecutionIdT&& value) {
42 m_automationExecutionIdHasBeenSet = true;
43 m_automationExecutionId = std::forward<AutomationExecutionIdT>(value);
44 }
45 template <typename AutomationExecutionIdT = Aws::String>
47 SetAutomationExecutionId(std::forward<AutomationExecutionIdT>(value));
48 return *this;
49 }
51
53
57 inline StopType GetType() const { return m_type; }
58 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
59 inline void SetType(StopType value) {
60 m_typeHasBeenSet = true;
61 m_type = value;
62 }
64 SetType(value);
65 return *this;
66 }
68 private:
69 Aws::String m_automationExecutionId;
70
72 bool m_automationExecutionIdHasBeenSet = false;
73 bool m_typeHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace SSM
78} // namespace Aws
AWS_SSM_API Aws::String SerializePayload() const override
void SetAutomationExecutionId(AutomationExecutionIdT &&value)
StopAutomationExecutionRequest & WithAutomationExecutionId(AutomationExecutionIdT &&value)
StopAutomationExecutionRequest & WithType(StopType value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String