AWS SDK for C++  1.9.109
AWS SDK for C++
DeregisterTargetFromMaintenanceWindowRequest.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 "DeregisterTargetFromMaintenanceWindow"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetWindowId() const{ return m_windowId; }
41 
45  inline bool WindowIdHasBeenSet() const { return m_windowIdHasBeenSet; }
46 
50  inline void SetWindowId(const Aws::String& value) { m_windowIdHasBeenSet = true; m_windowId = value; }
51 
55  inline void SetWindowId(Aws::String&& value) { m_windowIdHasBeenSet = true; m_windowId = std::move(value); }
56 
60  inline void SetWindowId(const char* value) { m_windowIdHasBeenSet = true; m_windowId.assign(value); }
61 
65  inline DeregisterTargetFromMaintenanceWindowRequest& WithWindowId(const Aws::String& value) { SetWindowId(value); return *this;}
66 
70  inline DeregisterTargetFromMaintenanceWindowRequest& WithWindowId(Aws::String&& value) { SetWindowId(std::move(value)); return *this;}
71 
75  inline DeregisterTargetFromMaintenanceWindowRequest& WithWindowId(const char* value) { SetWindowId(value); return *this;}
76 
77 
81  inline const Aws::String& GetWindowTargetId() const{ return m_windowTargetId; }
82 
86  inline bool WindowTargetIdHasBeenSet() const { return m_windowTargetIdHasBeenSet; }
87 
91  inline void SetWindowTargetId(const Aws::String& value) { m_windowTargetIdHasBeenSet = true; m_windowTargetId = value; }
92 
96  inline void SetWindowTargetId(Aws::String&& value) { m_windowTargetIdHasBeenSet = true; m_windowTargetId = std::move(value); }
97 
101  inline void SetWindowTargetId(const char* value) { m_windowTargetIdHasBeenSet = true; m_windowTargetId.assign(value); }
102 
106  inline DeregisterTargetFromMaintenanceWindowRequest& WithWindowTargetId(const Aws::String& value) { SetWindowTargetId(value); return *this;}
107 
111  inline DeregisterTargetFromMaintenanceWindowRequest& WithWindowTargetId(Aws::String&& value) { SetWindowTargetId(std::move(value)); return *this;}
112 
116  inline DeregisterTargetFromMaintenanceWindowRequest& WithWindowTargetId(const char* value) { SetWindowTargetId(value); return *this;}
117 
118 
124  inline bool GetSafe() const{ return m_safe; }
125 
131  inline bool SafeHasBeenSet() const { return m_safeHasBeenSet; }
132 
138  inline void SetSafe(bool value) { m_safeHasBeenSet = true; m_safe = value; }
139 
145  inline DeregisterTargetFromMaintenanceWindowRequest& WithSafe(bool value) { SetSafe(value); return *this;}
146 
147  private:
148 
149  Aws::String m_windowId;
150  bool m_windowIdHasBeenSet;
151 
152  Aws::String m_windowTargetId;
153  bool m_windowTargetIdHasBeenSet;
154 
155  bool m_safe;
156  bool m_safeHasBeenSet;
157  };
158 
159 } // namespace Model
160 } // namespace SSM
161 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::WithSafe
DeregisterTargetFromMaintenanceWindowRequest & WithSafe(bool value)
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:145
AWS_SSM_API
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::SetWindowId
void SetWindowId(const Aws::String &value)
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:50
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::WindowTargetIdHasBeenSet
bool WindowTargetIdHasBeenSet() const
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:86
SSM_EXPORTS.h
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::WithWindowId
DeregisterTargetFromMaintenanceWindowRequest & WithWindowId(Aws::String &&value)
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:70
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:30
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::SafeHasBeenSet
bool SafeHasBeenSet() const
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:131
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::WindowIdHasBeenSet
bool WindowIdHasBeenSet() const
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:45
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::WithWindowTargetId
DeregisterTargetFromMaintenanceWindowRequest & WithWindowTargetId(const Aws::String &value)
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:106
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::WithWindowTargetId
DeregisterTargetFromMaintenanceWindowRequest & WithWindowTargetId(const char *value)
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:116
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::WithWindowTargetId
DeregisterTargetFromMaintenanceWindowRequest & WithWindowTargetId(Aws::String &&value)
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:111
AWSString.h
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::SetWindowTargetId
void SetWindowTargetId(const Aws::String &value)
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:91
Aws::SMS::Model::AppValidationStrategy::NOT_SET
@ NOT_SET
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::GetWindowTargetId
const Aws::String & GetWindowTargetId() const
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:81
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::GetSafe
bool GetSafe() const
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:124
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::SetWindowTargetId
void SetWindowTargetId(Aws::String &&value)
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:96
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::SetSafe
void SetSafe(bool value)
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:138
Aws
Definition: AccessManagementClient.h:15
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::SetWindowTargetId
void SetWindowTargetId(const char *value)
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:101
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:22
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::WithWindowId
DeregisterTargetFromMaintenanceWindowRequest & WithWindowId(const char *value)
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::WithWindowId
DeregisterTargetFromMaintenanceWindowRequest & WithWindowId(const Aws::String &value)
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:65
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSM::SSMRequest
Definition: SSMRequest.h:17
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::SetWindowId
void SetWindowId(Aws::String &&value)
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:55
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::GetWindowId
const Aws::String & GetWindowId() const
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:40
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::DeregisterTargetFromMaintenanceWindowRequest
DeregisterTargetFromMaintenanceWindowRequest()
SSMRequest.h
Aws::SSM::Model::DeregisterTargetFromMaintenanceWindowRequest::SetWindowId
void SetWindowId(const char *value)
Definition: DeregisterTargetFromMaintenanceWindowRequest.h:60