AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SendAutomationSignalRequest.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/SignalType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SSM
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "SendAutomationSignal"; }
34
35 AWS_SSM_API Aws::String SerializePayload() const override;
36
38
39
41
45 inline const Aws::String& GetAutomationExecutionId() const{ return m_automationExecutionId; }
46 inline bool AutomationExecutionIdHasBeenSet() const { return m_automationExecutionIdHasBeenSet; }
47 inline void SetAutomationExecutionId(const Aws::String& value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId = value; }
48 inline void SetAutomationExecutionId(Aws::String&& value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId = std::move(value); }
49 inline void SetAutomationExecutionId(const char* value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId.assign(value); }
52 inline SendAutomationSignalRequest& WithAutomationExecutionId(const char* value) { SetAutomationExecutionId(value); return *this;}
54
56
59 inline const SignalType& GetSignalType() const{ return m_signalType; }
60 inline bool SignalTypeHasBeenSet() const { return m_signalTypeHasBeenSet; }
61 inline void SetSignalType(const SignalType& value) { m_signalTypeHasBeenSet = true; m_signalType = value; }
62 inline void SetSignalType(SignalType&& value) { m_signalTypeHasBeenSet = true; m_signalType = std::move(value); }
63 inline SendAutomationSignalRequest& WithSignalType(const SignalType& value) { SetSignalType(value); return *this;}
64 inline SendAutomationSignalRequest& WithSignalType(SignalType&& value) { SetSignalType(std::move(value)); return *this;}
66
68
79 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetPayload() const{ return m_payload; }
80 inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
81 inline void SetPayload(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_payloadHasBeenSet = true; m_payload = value; }
82 inline void SetPayload(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); }
85 inline SendAutomationSignalRequest& AddPayload(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_payloadHasBeenSet = true; m_payload.emplace(key, value); return *this; }
86 inline SendAutomationSignalRequest& AddPayload(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_payloadHasBeenSet = true; m_payload.emplace(std::move(key), value); return *this; }
87 inline SendAutomationSignalRequest& AddPayload(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_payloadHasBeenSet = true; m_payload.emplace(key, std::move(value)); return *this; }
88 inline SendAutomationSignalRequest& AddPayload(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_payloadHasBeenSet = true; m_payload.emplace(std::move(key), std::move(value)); return *this; }
89 inline SendAutomationSignalRequest& AddPayload(const char* key, Aws::Vector<Aws::String>&& value) { m_payloadHasBeenSet = true; m_payload.emplace(key, std::move(value)); return *this; }
90 inline SendAutomationSignalRequest& AddPayload(const char* key, const Aws::Vector<Aws::String>& value) { m_payloadHasBeenSet = true; m_payload.emplace(key, value); return *this; }
92 private:
93
94 Aws::String m_automationExecutionId;
95 bool m_automationExecutionIdHasBeenSet = false;
96
97 SignalType m_signalType;
98 bool m_signalTypeHasBeenSet = false;
99
101 bool m_payloadHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace SSM
106} // namespace Aws
SendAutomationSignalRequest & AddPayload(const char *key, const Aws::Vector< Aws::String > &value)
SendAutomationSignalRequest & WithPayload(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
SendAutomationSignalRequest & AddPayload(const char *key, Aws::Vector< Aws::String > &&value)
void SetPayload(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
SendAutomationSignalRequest & WithAutomationExecutionId(Aws::String &&value)
SendAutomationSignalRequest & WithPayload(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
SendAutomationSignalRequest & AddPayload(const Aws::String &key, Aws::Vector< Aws::String > &&value)
void SetPayload(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SendAutomationSignalRequest & AddPayload(Aws::String &&key, const Aws::Vector< Aws::String > &value)
SendAutomationSignalRequest & WithAutomationExecutionId(const char *value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetPayload() const
SendAutomationSignalRequest & AddPayload(const Aws::String &key, const Aws::Vector< Aws::String > &value)
SendAutomationSignalRequest & WithSignalType(SignalType &&value)
SendAutomationSignalRequest & AddPayload(Aws::String &&key, Aws::Vector< Aws::String > &&value)
SendAutomationSignalRequest & WithSignalType(const SignalType &value)
AWS_SSM_API Aws::String SerializePayload() const override
SendAutomationSignalRequest & WithAutomationExecutionId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector