AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAutomationExecutionId(const Aws::String& value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId = value; }
45 inline void SetAutomationExecutionId(Aws::String&& value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId = std::move(value); }
46 inline void SetAutomationExecutionId(const char* value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId.assign(value); }
49 inline StopAutomationExecutionRequest& WithAutomationExecutionId(const char* value) { SetAutomationExecutionId(value); return *this;}
51
53
57 inline const StopType& GetType() const{ return m_type; }
58 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
59 inline void SetType(const StopType& value) { m_typeHasBeenSet = true; m_type = value; }
60 inline void SetType(StopType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
61 inline StopAutomationExecutionRequest& WithType(const StopType& value) { SetType(value); return *this;}
62 inline StopAutomationExecutionRequest& WithType(StopType&& value) { SetType(std::move(value)); return *this;}
64 private:
65
66 Aws::String m_automationExecutionId;
67 bool m_automationExecutionIdHasBeenSet = false;
68
69 StopType m_type;
70 bool m_typeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SSM
75} // namespace Aws
AWS_SSM_API Aws::String SerializePayload() const override
StopAutomationExecutionRequest & WithType(StopType &&value)
StopAutomationExecutionRequest & WithAutomationExecutionId(const Aws::String &value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StopAutomationExecutionRequest & WithAutomationExecutionId(const char *value)
virtual const char * GetServiceRequestName() const override
StopAutomationExecutionRequest & WithAutomationExecutionId(Aws::String &&value)
StopAutomationExecutionRequest & WithType(const StopType &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String