AWS SDK for C++  1.9.40
AWS SDK for C++
UpdateActionTargetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SecurityHub
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 "UpdateActionTarget"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetActionTargetArn() const{ return m_actionTargetArn; }
39 
43  inline bool ActionTargetArnHasBeenSet() const { return m_actionTargetArnHasBeenSet; }
44 
48  inline void SetActionTargetArn(const Aws::String& value) { m_actionTargetArnHasBeenSet = true; m_actionTargetArn = value; }
49 
53  inline void SetActionTargetArn(Aws::String&& value) { m_actionTargetArnHasBeenSet = true; m_actionTargetArn = std::move(value); }
54 
58  inline void SetActionTargetArn(const char* value) { m_actionTargetArnHasBeenSet = true; m_actionTargetArn.assign(value); }
59 
63  inline UpdateActionTargetRequest& WithActionTargetArn(const Aws::String& value) { SetActionTargetArn(value); return *this;}
64 
68  inline UpdateActionTargetRequest& WithActionTargetArn(Aws::String&& value) { SetActionTargetArn(std::move(value)); return *this;}
69 
73  inline UpdateActionTargetRequest& WithActionTargetArn(const char* value) { SetActionTargetArn(value); return *this;}
74 
75 
79  inline const Aws::String& GetName() const{ return m_name; }
80 
84  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
85 
89  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
90 
94  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
95 
99  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
100 
104  inline UpdateActionTargetRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
105 
109  inline UpdateActionTargetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
110 
114  inline UpdateActionTargetRequest& WithName(const char* value) { SetName(value); return *this;}
115 
116 
120  inline const Aws::String& GetDescription() const{ return m_description; }
121 
125  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
126 
130  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
131 
135  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
136 
140  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
141 
145  inline UpdateActionTargetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
146 
150  inline UpdateActionTargetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
151 
155  inline UpdateActionTargetRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
156 
157  private:
158 
159  Aws::String m_actionTargetArn;
160  bool m_actionTargetArnHasBeenSet;
161 
162  Aws::String m_name;
163  bool m_nameHasBeenSet;
164 
165  Aws::String m_description;
166  bool m_descriptionHasBeenSet;
167  };
168 
169 } // namespace Model
170 } // namespace SecurityHub
171 } // namespace Aws
Aws::SecurityHub::Model::UpdateActionTargetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateActionTargetRequest.h:30
Aws::SecurityHub::Model::UpdateActionTargetRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateActionTargetRequest.h:130
Aws::SecurityHub::Model::UpdateActionTargetRequest::WithDescription
UpdateActionTargetRequest & WithDescription(Aws::String &&value)
Definition: UpdateActionTargetRequest.h:150
Aws::SecurityHub::Model::UpdateActionTargetRequest
Definition: UpdateActionTargetRequest.h:22
Aws::SecurityHub::Model::UpdateActionTargetRequest::WithDescription
UpdateActionTargetRequest & WithDescription(const char *value)
Definition: UpdateActionTargetRequest.h:155
Aws::SecurityHub::Model::UpdateActionTargetRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateActionTargetRequest.h:125
Aws::SecurityHub::Model::UpdateActionTargetRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateActionTargetRequest.h:135
Aws::SecurityHub::Model::UpdateActionTargetRequest::GetName
const Aws::String & GetName() const
Definition: UpdateActionTargetRequest.h:79
Aws::SecurityHub::Model::UpdateActionTargetRequest::SetActionTargetArn
void SetActionTargetArn(Aws::String &&value)
Definition: UpdateActionTargetRequest.h:53
Aws::SecurityHub::Model::UpdateActionTargetRequest::WithName
UpdateActionTargetRequest & WithName(const Aws::String &value)
Definition: UpdateActionTargetRequest.h:104
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::UpdateActionTargetRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateActionTargetRequest.h:140
Aws::SecurityHub::Model::UpdateActionTargetRequest::SetName
void SetName(const char *value)
Definition: UpdateActionTargetRequest.h:99
Aws::SecurityHub::Model::UpdateActionTargetRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateActionTargetRequest.h:84
Aws::SecurityHub::SecurityHubRequest
Definition: SecurityHubRequest.h:17
Aws::SecurityHub::Model::UpdateActionTargetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SecurityHub::Model::UpdateActionTargetRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateActionTargetRequest.h:120
AWSString.h
SecurityHubRequest.h
Aws::SecurityHub::Model::UpdateActionTargetRequest::WithName
UpdateActionTargetRequest & WithName(const char *value)
Definition: UpdateActionTargetRequest.h:114
Aws::SecurityHub::Model::UpdateActionTargetRequest::WithActionTargetArn
UpdateActionTargetRequest & WithActionTargetArn(const Aws::String &value)
Definition: UpdateActionTargetRequest.h:63
Aws::SecurityHub::Model::UpdateActionTargetRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateActionTargetRequest.h:89
Aws::SecurityHub::Model::UpdateActionTargetRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateActionTargetRequest.h:94
Aws::SecurityHub::Model::UpdateActionTargetRequest::WithActionTargetArn
UpdateActionTargetRequest & WithActionTargetArn(const char *value)
Definition: UpdateActionTargetRequest.h:73
Aws::SecurityHub::Model::UpdateActionTargetRequest::WithActionTargetArn
UpdateActionTargetRequest & WithActionTargetArn(Aws::String &&value)
Definition: UpdateActionTargetRequest.h:68
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::UpdateActionTargetRequest::UpdateActionTargetRequest
UpdateActionTargetRequest()
Aws::SecurityHub::Model::UpdateActionTargetRequest::GetActionTargetArn
const Aws::String & GetActionTargetArn() const
Definition: UpdateActionTargetRequest.h:38
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::UpdateActionTargetRequest::WithDescription
UpdateActionTargetRequest & WithDescription(const Aws::String &value)
Definition: UpdateActionTargetRequest.h:145
Aws::SecurityHub::Model::UpdateActionTargetRequest::SetActionTargetArn
void SetActionTargetArn(const char *value)
Definition: UpdateActionTargetRequest.h:58
Aws::SecurityHub::Model::UpdateActionTargetRequest::ActionTargetArnHasBeenSet
bool ActionTargetArnHasBeenSet() const
Definition: UpdateActionTargetRequest.h:43
Aws::SecurityHub::Model::UpdateActionTargetRequest::SetActionTargetArn
void SetActionTargetArn(const Aws::String &value)
Definition: UpdateActionTargetRequest.h:48
Aws::SecurityHub::Model::UpdateActionTargetRequest::WithName
UpdateActionTargetRequest & WithName(Aws::String &&value)
Definition: UpdateActionTargetRequest.h:109