AWS SDK for C++  1.8.129
AWS SDK for C++
GetMaintenanceWindowExecutionTaskInvocationRequest.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>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SSM
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetMaintenanceWindowExecutionTaskInvocation"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetWindowExecutionId() const{ return m_windowExecutionId; }
41 
45  inline bool WindowExecutionIdHasBeenSet() const { return m_windowExecutionIdHasBeenSet; }
46 
50  inline void SetWindowExecutionId(const Aws::String& value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId = value; }
51 
55  inline void SetWindowExecutionId(Aws::String&& value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId = std::move(value); }
56 
60  inline void SetWindowExecutionId(const char* value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId.assign(value); }
61 
65  inline GetMaintenanceWindowExecutionTaskInvocationRequest& WithWindowExecutionId(const Aws::String& value) { SetWindowExecutionId(value); return *this;}
66 
70  inline GetMaintenanceWindowExecutionTaskInvocationRequest& WithWindowExecutionId(Aws::String&& value) { SetWindowExecutionId(std::move(value)); return *this;}
71 
75  inline GetMaintenanceWindowExecutionTaskInvocationRequest& WithWindowExecutionId(const char* value) { SetWindowExecutionId(value); return *this;}
76 
77 
82  inline const Aws::String& GetTaskId() const{ return m_taskId; }
83 
88  inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
89 
94  inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
95 
100  inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
101 
106  inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
107 
112  inline GetMaintenanceWindowExecutionTaskInvocationRequest& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
113 
118  inline GetMaintenanceWindowExecutionTaskInvocationRequest& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
119 
124  inline GetMaintenanceWindowExecutionTaskInvocationRequest& WithTaskId(const char* value) { SetTaskId(value); return *this;}
125 
126 
130  inline const Aws::String& GetInvocationId() const{ return m_invocationId; }
131 
135  inline bool InvocationIdHasBeenSet() const { return m_invocationIdHasBeenSet; }
136 
140  inline void SetInvocationId(const Aws::String& value) { m_invocationIdHasBeenSet = true; m_invocationId = value; }
141 
145  inline void SetInvocationId(Aws::String&& value) { m_invocationIdHasBeenSet = true; m_invocationId = std::move(value); }
146 
150  inline void SetInvocationId(const char* value) { m_invocationIdHasBeenSet = true; m_invocationId.assign(value); }
151 
155  inline GetMaintenanceWindowExecutionTaskInvocationRequest& WithInvocationId(const Aws::String& value) { SetInvocationId(value); return *this;}
156 
160  inline GetMaintenanceWindowExecutionTaskInvocationRequest& WithInvocationId(Aws::String&& value) { SetInvocationId(std::move(value)); return *this;}
161 
165  inline GetMaintenanceWindowExecutionTaskInvocationRequest& WithInvocationId(const char* value) { SetInvocationId(value); return *this;}
166 
167  private:
168 
169  Aws::String m_windowExecutionId;
170  bool m_windowExecutionIdHasBeenSet;
171 
172  Aws::String m_taskId;
173  bool m_taskIdHasBeenSet;
174 
175  Aws::String m_invocationId;
176  bool m_invocationIdHasBeenSet;
177  };
178 
179 } // namespace Model
180 } // namespace SSM
181 } // namespace Aws
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::WithInvocationId
GetMaintenanceWindowExecutionTaskInvocationRequest & WithInvocationId(Aws::String &&value)
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:160
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
AWS_SSM_API
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::WithWindowExecutionId
GetMaintenanceWindowExecutionTaskInvocationRequest & WithWindowExecutionId(const char *value)
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:75
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::WindowExecutionIdHasBeenSet
bool WindowExecutionIdHasBeenSet() const
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:45
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::WithTaskId
GetMaintenanceWindowExecutionTaskInvocationRequest & WithTaskId(const Aws::String &value)
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:112
SSM_EXPORTS.h
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::SetWindowExecutionId
void SetWindowExecutionId(const char *value)
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:60
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::WithTaskId
GetMaintenanceWindowExecutionTaskInvocationRequest & WithTaskId(const char *value)
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:124
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::GetMaintenanceWindowExecutionTaskInvocationRequest
GetMaintenanceWindowExecutionTaskInvocationRequest()
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::SetTaskId
void SetTaskId(const char *value)
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:106
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::SetTaskId
void SetTaskId(const Aws::String &value)
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:94
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::GetWindowExecutionId
const Aws::String & GetWindowExecutionId() const
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:40
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:22
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::GetTaskId
const Aws::String & GetTaskId() const
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:82
AWSString.h
Aws::SMS::Model::AppValidationStrategy::NOT_SET
@ NOT_SET
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::WithInvocationId
GetMaintenanceWindowExecutionTaskInvocationRequest & WithInvocationId(const Aws::String &value)
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:155
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::TaskIdHasBeenSet
bool TaskIdHasBeenSet() const
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:88
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::SetWindowExecutionId
void SetWindowExecutionId(const Aws::String &value)
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:50
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::SetTaskId
void SetTaskId(Aws::String &&value)
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:100
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::InvocationIdHasBeenSet
bool InvocationIdHasBeenSet() const
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:135
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::SetInvocationId
void SetInvocationId(const Aws::String &value)
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:140
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::WithInvocationId
GetMaintenanceWindowExecutionTaskInvocationRequest & WithInvocationId(const char *value)
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:165
Aws
Definition: AccessManagementClient.h:15
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::WithWindowExecutionId
GetMaintenanceWindowExecutionTaskInvocationRequest & WithWindowExecutionId(const Aws::String &value)
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:30
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::SetInvocationId
void SetInvocationId(Aws::String &&value)
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:145
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::GetInvocationId
const Aws::String & GetInvocationId() const
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:130
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::SetWindowExecutionId
void SetWindowExecutionId(Aws::String &&value)
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:55
Aws::SSM::SSMRequest
Definition: SSMRequest.h:17
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::SetInvocationId
void SetInvocationId(const char *value)
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:150
SSMRequest.h
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::WithWindowExecutionId
GetMaintenanceWindowExecutionTaskInvocationRequest & WithWindowExecutionId(Aws::String &&value)
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:70
Aws::SSM::Model::GetMaintenanceWindowExecutionTaskInvocationRequest::WithTaskId
GetMaintenanceWindowExecutionTaskInvocationRequest & WithTaskId(Aws::String &&value)
Definition: GetMaintenanceWindowExecutionTaskInvocationRequest.h:118