AWS SDK for C++

AWS SDK for C++ Version 1.11.554

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
StopAutomationExecutionRequest.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ssm/model/StopType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SSM
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SSM_API StopAutomationExecutionRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "StopAutomationExecution"; }
32
33 AWS_SSM_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetAutomationExecutionId() const { return m_automationExecutionId; }
43 inline bool AutomationExecutionIdHasBeenSet() const { return m_automationExecutionIdHasBeenSet; }
44 template<typename AutomationExecutionIdT = Aws::String>
45 void SetAutomationExecutionId(AutomationExecutionIdT&& value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId = std::forward<AutomationExecutionIdT>(value); }
46 template<typename AutomationExecutionIdT = Aws::String>
47 StopAutomationExecutionRequest& WithAutomationExecutionId(AutomationExecutionIdT&& value) { SetAutomationExecutionId(std::forward<AutomationExecutionIdT>(value)); return *this;}
49
51
55 inline StopType GetType() const { return m_type; }
56 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
57 inline void SetType(StopType value) { m_typeHasBeenSet = true; m_type = value; }
58 inline StopAutomationExecutionRequest& WithType(StopType value) { SetType(value); return *this;}
60 private:
61
62 Aws::String m_automationExecutionId;
63 bool m_automationExecutionIdHasBeenSet = false;
64
66 bool m_typeHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace SSM
71} // 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