AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAssessmentTargetRequest.h
1
6#pragma once
7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/inspector/InspectorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Inspector
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_INSPECTOR_API UpdateAssessmentTargetRequest();
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 "UpdateAssessmentTarget"; }
31
32 AWS_INSPECTOR_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetAssessmentTargetArn() const{ return m_assessmentTargetArn; }
42 inline bool AssessmentTargetArnHasBeenSet() const { return m_assessmentTargetArnHasBeenSet; }
43 inline void SetAssessmentTargetArn(const Aws::String& value) { m_assessmentTargetArnHasBeenSet = true; m_assessmentTargetArn = value; }
44 inline void SetAssessmentTargetArn(Aws::String&& value) { m_assessmentTargetArnHasBeenSet = true; m_assessmentTargetArn = std::move(value); }
45 inline void SetAssessmentTargetArn(const char* value) { m_assessmentTargetArnHasBeenSet = true; m_assessmentTargetArn.assign(value); }
48 inline UpdateAssessmentTargetRequest& WithAssessmentTargetArn(const char* value) { SetAssessmentTargetArn(value); return *this;}
50
52
55 inline const Aws::String& GetAssessmentTargetName() const{ return m_assessmentTargetName; }
56 inline bool AssessmentTargetNameHasBeenSet() const { return m_assessmentTargetNameHasBeenSet; }
57 inline void SetAssessmentTargetName(const Aws::String& value) { m_assessmentTargetNameHasBeenSet = true; m_assessmentTargetName = value; }
58 inline void SetAssessmentTargetName(Aws::String&& value) { m_assessmentTargetNameHasBeenSet = true; m_assessmentTargetName = std::move(value); }
59 inline void SetAssessmentTargetName(const char* value) { m_assessmentTargetNameHasBeenSet = true; m_assessmentTargetName.assign(value); }
62 inline UpdateAssessmentTargetRequest& WithAssessmentTargetName(const char* value) { SetAssessmentTargetName(value); return *this;}
64
66
70 inline const Aws::String& GetResourceGroupArn() const{ return m_resourceGroupArn; }
71 inline bool ResourceGroupArnHasBeenSet() const { return m_resourceGroupArnHasBeenSet; }
72 inline void SetResourceGroupArn(const Aws::String& value) { m_resourceGroupArnHasBeenSet = true; m_resourceGroupArn = value; }
73 inline void SetResourceGroupArn(Aws::String&& value) { m_resourceGroupArnHasBeenSet = true; m_resourceGroupArn = std::move(value); }
74 inline void SetResourceGroupArn(const char* value) { m_resourceGroupArnHasBeenSet = true; m_resourceGroupArn.assign(value); }
76 inline UpdateAssessmentTargetRequest& WithResourceGroupArn(Aws::String&& value) { SetResourceGroupArn(std::move(value)); return *this;}
77 inline UpdateAssessmentTargetRequest& WithResourceGroupArn(const char* value) { SetResourceGroupArn(value); return *this;}
79 private:
80
81 Aws::String m_assessmentTargetArn;
82 bool m_assessmentTargetArnHasBeenSet = false;
83
84 Aws::String m_assessmentTargetName;
85 bool m_assessmentTargetNameHasBeenSet = false;
86
87 Aws::String m_resourceGroupArn;
88 bool m_resourceGroupArnHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Inspector
93} // namespace Aws
AWS_INSPECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_INSPECTOR_API Aws::String SerializePayload() const override
UpdateAssessmentTargetRequest & WithAssessmentTargetName(const char *value)
UpdateAssessmentTargetRequest & WithAssessmentTargetArn(const Aws::String &value)
UpdateAssessmentTargetRequest & WithAssessmentTargetName(const Aws::String &value)
UpdateAssessmentTargetRequest & WithAssessmentTargetName(Aws::String &&value)
UpdateAssessmentTargetRequest & WithAssessmentTargetArn(const char *value)
UpdateAssessmentTargetRequest & WithResourceGroupArn(const Aws::String &value)
UpdateAssessmentTargetRequest & WithResourceGroupArn(Aws::String &&value)
UpdateAssessmentTargetRequest & WithAssessmentTargetArn(Aws::String &&value)
UpdateAssessmentTargetRequest & WithResourceGroupArn(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String