AWS SDK for C++  1.9.109
AWS SDK for C++
SendAutomationSignalRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ssm/SSM_EXPORTS.h>
8 #include <aws/ssm/SSMRequest.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace SSM
18 {
19 namespace 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::String SerializePayload() const override;
36 
38 
39 
44  inline const Aws::String& GetAutomationExecutionId() const{ return m_automationExecutionId; }
45 
50  inline bool AutomationExecutionIdHasBeenSet() const { return m_automationExecutionIdHasBeenSet; }
51 
56  inline void SetAutomationExecutionId(const Aws::String& value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId = value; }
57 
62  inline void SetAutomationExecutionId(Aws::String&& value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId = std::move(value); }
63 
68  inline void SetAutomationExecutionId(const char* value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId.assign(value); }
69 
74  inline SendAutomationSignalRequest& WithAutomationExecutionId(const Aws::String& value) { SetAutomationExecutionId(value); return *this;}
75 
80  inline SendAutomationSignalRequest& WithAutomationExecutionId(Aws::String&& value) { SetAutomationExecutionId(std::move(value)); return *this;}
81 
86  inline SendAutomationSignalRequest& WithAutomationExecutionId(const char* value) { SetAutomationExecutionId(value); return *this;}
87 
88 
92  inline const SignalType& GetSignalType() const{ return m_signalType; }
93 
97  inline bool SignalTypeHasBeenSet() const { return m_signalTypeHasBeenSet; }
98 
102  inline void SetSignalType(const SignalType& value) { m_signalTypeHasBeenSet = true; m_signalType = value; }
103 
107  inline void SetSignalType(SignalType&& value) { m_signalTypeHasBeenSet = true; m_signalType = std::move(value); }
108 
112  inline SendAutomationSignalRequest& WithSignalType(const SignalType& value) { SetSignalType(value); return *this;}
113 
117  inline SendAutomationSignalRequest& WithSignalType(SignalType&& value) { SetSignalType(std::move(value)); return *this;}
118 
119 
131  inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetPayload() const{ return m_payload; }
132 
144  inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
145 
157  inline void SetPayload(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_payloadHasBeenSet = true; m_payload = value; }
158 
170  inline void SetPayload(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); }
171 
183  inline SendAutomationSignalRequest& WithPayload(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { SetPayload(value); return *this;}
184 
196  inline SendAutomationSignalRequest& WithPayload(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { SetPayload(std::move(value)); return *this;}
197 
209  inline SendAutomationSignalRequest& AddPayload(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_payloadHasBeenSet = true; m_payload.emplace(key, value); return *this; }
210 
222  inline SendAutomationSignalRequest& AddPayload(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_payloadHasBeenSet = true; m_payload.emplace(std::move(key), value); return *this; }
223 
235  inline SendAutomationSignalRequest& AddPayload(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_payloadHasBeenSet = true; m_payload.emplace(key, std::move(value)); return *this; }
236 
248  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; }
249 
261  inline SendAutomationSignalRequest& AddPayload(const char* key, Aws::Vector<Aws::String>&& value) { m_payloadHasBeenSet = true; m_payload.emplace(key, std::move(value)); return *this; }
262 
274  inline SendAutomationSignalRequest& AddPayload(const char* key, const Aws::Vector<Aws::String>& value) { m_payloadHasBeenSet = true; m_payload.emplace(key, value); return *this; }
275 
276  private:
277 
278  Aws::String m_automationExecutionId;
279  bool m_automationExecutionIdHasBeenSet;
280 
281  SignalType m_signalType;
282  bool m_signalTypeHasBeenSet;
283 
285  bool m_payloadHasBeenSet;
286  };
287 
288 } // namespace Model
289 } // namespace SSM
290 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSM::Model::SendAutomationSignalRequest::WithAutomationExecutionId
SendAutomationSignalRequest & WithAutomationExecutionId(const Aws::String &value)
Definition: SendAutomationSignalRequest.h:74
Aws::SSM::Model::SendAutomationSignalRequest::GetAutomationExecutionId
const Aws::String & GetAutomationExecutionId() const
Definition: SendAutomationSignalRequest.h:44
Aws::SSM::Model::SignalType
SignalType
Definition: SignalType.h:17
AWS_SSM_API
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
Aws::SSM::Model::SendAutomationSignalRequest::SetPayload
void SetPayload(const Aws::Map< Aws::String, Aws::Vector< Aws::String >> &value)
Definition: SendAutomationSignalRequest.h:157
Aws::SSM::Model::SendAutomationSignalRequest::SetSignalType
void SetSignalType(SignalType &&value)
Definition: SendAutomationSignalRequest.h:107
Aws::SSM::Model::SendAutomationSignalRequest::AddPayload
SendAutomationSignalRequest & AddPayload(const Aws::String &key, const Aws::Vector< Aws::String > &value)
Definition: SendAutomationSignalRequest.h:209
Aws::SSM::Model::SendAutomationSignalRequest::GetSignalType
const SignalType & GetSignalType() const
Definition: SendAutomationSignalRequest.h:92
Aws::SSM::Model::SendAutomationSignalRequest::PayloadHasBeenSet
bool PayloadHasBeenSet() const
Definition: SendAutomationSignalRequest.h:144
Aws::SSM::Model::SendAutomationSignalRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
SSM_EXPORTS.h
Aws::SSM::Model::SendAutomationSignalRequest::SetAutomationExecutionId
void SetAutomationExecutionId(const char *value)
Definition: SendAutomationSignalRequest.h:68
Aws::SSM::Model::SendAutomationSignalRequest::SetSignalType
void SetSignalType(const SignalType &value)
Definition: SendAutomationSignalRequest.h:102
AWSVector.h
Aws::SSM::Model::SendAutomationSignalRequest::SetAutomationExecutionId
void SetAutomationExecutionId(const Aws::String &value)
Definition: SendAutomationSignalRequest.h:56
SignalType.h
Aws::SSM::Model::SendAutomationSignalRequest
Definition: SendAutomationSignalRequest.h:25
Aws::SSM::Model::SendAutomationSignalRequest::WithPayload
SendAutomationSignalRequest & WithPayload(Aws::Map< Aws::String, Aws::Vector< Aws::String >> &&value)
Definition: SendAutomationSignalRequest.h:196
Aws::SSM::Model::SendAutomationSignalRequest::WithAutomationExecutionId
SendAutomationSignalRequest & WithAutomationExecutionId(const char *value)
Definition: SendAutomationSignalRequest.h:86
Aws::SSM::Model::SendAutomationSignalRequest::GetPayload
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetPayload() const
Definition: SendAutomationSignalRequest.h:131
Aws::SSM::Model::SendAutomationSignalRequest::SendAutomationSignalRequest
SendAutomationSignalRequest()
Aws::SSM::Model::SendAutomationSignalRequest::SignalTypeHasBeenSet
bool SignalTypeHasBeenSet() const
Definition: SendAutomationSignalRequest.h:97
Aws::SSM::Model::SendAutomationSignalRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSString.h
Aws::SSM::Model::SendAutomationSignalRequest::WithPayload
SendAutomationSignalRequest & WithPayload(const Aws::Map< Aws::String, Aws::Vector< Aws::String >> &value)
Definition: SendAutomationSignalRequest.h:183
Aws::SMS::Model::AppValidationStrategy::NOT_SET
@ NOT_SET
Aws::SSM::Model::SendAutomationSignalRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SendAutomationSignalRequest.h:33
Aws::SSM::Model::SendAutomationSignalRequest::WithSignalType
SendAutomationSignalRequest & WithSignalType(const SignalType &value)
Definition: SendAutomationSignalRequest.h:112
Aws::SSM::Model::SendAutomationSignalRequest::AddPayload
SendAutomationSignalRequest & AddPayload(const char *key, const Aws::Vector< Aws::String > &value)
Definition: SendAutomationSignalRequest.h:274
Aws::SSM::Model::SendAutomationSignalRequest::AddPayload
SendAutomationSignalRequest & AddPayload(Aws::String &&key, Aws::Vector< Aws::String > &&value)
Definition: SendAutomationSignalRequest.h:248
Aws::SSM::Model::SendAutomationSignalRequest::SetPayload
void SetPayload(Aws::Map< Aws::String, Aws::Vector< Aws::String >> &&value)
Definition: SendAutomationSignalRequest.h:170
Aws
Definition: AccessManagementClient.h:15
Aws::SSM::Model::SendAutomationSignalRequest::AutomationExecutionIdHasBeenSet
bool AutomationExecutionIdHasBeenSet() const
Definition: SendAutomationSignalRequest.h:50
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSM::Model::SendAutomationSignalRequest::AddPayload
SendAutomationSignalRequest & AddPayload(Aws::String &&key, const Aws::Vector< Aws::String > &value)
Definition: SendAutomationSignalRequest.h:222
Aws::SSM::Model::SendAutomationSignalRequest::AddPayload
SendAutomationSignalRequest & AddPayload(const char *key, Aws::Vector< Aws::String > &&value)
Definition: SendAutomationSignalRequest.h:261
Aws::SSM::Model::SendAutomationSignalRequest::SetAutomationExecutionId
void SetAutomationExecutionId(Aws::String &&value)
Definition: SendAutomationSignalRequest.h:62
Aws::SSM::Model::SendAutomationSignalRequest::WithAutomationExecutionId
SendAutomationSignalRequest & WithAutomationExecutionId(Aws::String &&value)
Definition: SendAutomationSignalRequest.h:80
Aws::SSM::Model::SendAutomationSignalRequest::AddPayload
SendAutomationSignalRequest & AddPayload(const Aws::String &key, Aws::Vector< Aws::String > &&value)
Definition: SendAutomationSignalRequest.h:235
AWSMap.h
Aws::SSM::SSMRequest
Definition: SSMRequest.h:17
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
SSMRequest.h
Aws::SSM::Model::SendAutomationSignalRequest::WithSignalType
SendAutomationSignalRequest & WithSignalType(SignalType &&value)
Definition: SendAutomationSignalRequest.h:117