AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSensitivityInspectionTemplateRequest.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/Macie2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/macie2/model/SensitivityInspectionTemplateExcludes.h>
11#include <aws/macie2/model/SensitivityInspectionTemplateIncludes.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Macie2
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateSensitivityInspectionTemplate"; }
33
34 AWS_MACIE2_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetDescription() const{ return m_description; }
43 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
44 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
45 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
46 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
48 inline UpdateSensitivityInspectionTemplateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
49 inline UpdateSensitivityInspectionTemplateRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
51
53
61 inline const SensitivityInspectionTemplateExcludes& GetExcludes() const{ return m_excludes; }
62 inline bool ExcludesHasBeenSet() const { return m_excludesHasBeenSet; }
63 inline void SetExcludes(const SensitivityInspectionTemplateExcludes& value) { m_excludesHasBeenSet = true; m_excludes = value; }
64 inline void SetExcludes(SensitivityInspectionTemplateExcludes&& value) { m_excludesHasBeenSet = true; m_excludes = std::move(value); }
68
70
74 inline const Aws::String& GetId() const{ return m_id; }
75 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
76 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
77 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
78 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
79 inline UpdateSensitivityInspectionTemplateRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
80 inline UpdateSensitivityInspectionTemplateRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
81 inline UpdateSensitivityInspectionTemplateRequest& WithId(const char* value) { SetId(value); return *this;}
83
85
89 inline const SensitivityInspectionTemplateIncludes& GetIncludes() const{ return m_includes; }
90 inline bool IncludesHasBeenSet() const { return m_includesHasBeenSet; }
91 inline void SetIncludes(const SensitivityInspectionTemplateIncludes& value) { m_includesHasBeenSet = true; m_includes = value; }
92 inline void SetIncludes(SensitivityInspectionTemplateIncludes&& value) { m_includesHasBeenSet = true; m_includes = std::move(value); }
96 private:
97
98 Aws::String m_description;
99 bool m_descriptionHasBeenSet = false;
100
102 bool m_excludesHasBeenSet = false;
103
104 Aws::String m_id;
105 bool m_idHasBeenSet = false;
106
108 bool m_includesHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Macie2
113} // namespace Aws
UpdateSensitivityInspectionTemplateRequest & WithIncludes(SensitivityInspectionTemplateIncludes &&value)
UpdateSensitivityInspectionTemplateRequest & WithId(const char *value)
UpdateSensitivityInspectionTemplateRequest & WithExcludes(const SensitivityInspectionTemplateExcludes &value)
UpdateSensitivityInspectionTemplateRequest & WithId(const Aws::String &value)
UpdateSensitivityInspectionTemplateRequest & WithIncludes(const SensitivityInspectionTemplateIncludes &value)
UpdateSensitivityInspectionTemplateRequest & WithId(Aws::String &&value)
UpdateSensitivityInspectionTemplateRequest & WithDescription(const char *value)
AWS_MACIE2_API Aws::String SerializePayload() const override
UpdateSensitivityInspectionTemplateRequest & WithDescription(Aws::String &&value)
UpdateSensitivityInspectionTemplateRequest & WithDescription(const Aws::String &value)
UpdateSensitivityInspectionTemplateRequest & WithExcludes(SensitivityInspectionTemplateExcludes &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String