AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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 template<typename DescriptionT = Aws::String>
45 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
46 template<typename DescriptionT = Aws::String>
47 UpdateSensitivityInspectionTemplateRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
49
51
59 inline const SensitivityInspectionTemplateExcludes& GetExcludes() const { return m_excludes; }
60 inline bool ExcludesHasBeenSet() const { return m_excludesHasBeenSet; }
61 template<typename ExcludesT = SensitivityInspectionTemplateExcludes>
62 void SetExcludes(ExcludesT&& value) { m_excludesHasBeenSet = true; m_excludes = std::forward<ExcludesT>(value); }
63 template<typename ExcludesT = SensitivityInspectionTemplateExcludes>
64 UpdateSensitivityInspectionTemplateRequest& WithExcludes(ExcludesT&& value) { SetExcludes(std::forward<ExcludesT>(value)); return *this;}
66
68
72 inline const Aws::String& GetId() const { return m_id; }
73 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
74 template<typename IdT = Aws::String>
75 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
76 template<typename IdT = Aws::String>
77 UpdateSensitivityInspectionTemplateRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
79
81
85 inline const SensitivityInspectionTemplateIncludes& GetIncludes() const { return m_includes; }
86 inline bool IncludesHasBeenSet() const { return m_includesHasBeenSet; }
87 template<typename IncludesT = SensitivityInspectionTemplateIncludes>
88 void SetIncludes(IncludesT&& value) { m_includesHasBeenSet = true; m_includes = std::forward<IncludesT>(value); }
89 template<typename IncludesT = SensitivityInspectionTemplateIncludes>
90 UpdateSensitivityInspectionTemplateRequest& WithIncludes(IncludesT&& value) { SetIncludes(std::forward<IncludesT>(value)); return *this;}
92 private:
93
94 Aws::String m_description;
95 bool m_descriptionHasBeenSet = false;
96
98 bool m_excludesHasBeenSet = false;
99
100 Aws::String m_id;
101 bool m_idHasBeenSet = false;
102
104 bool m_includesHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Macie2
109} // namespace Aws
UpdateSensitivityInspectionTemplateRequest & WithIncludes(IncludesT &&value)
UpdateSensitivityInspectionTemplateRequest & WithDescription(DescriptionT &&value)
UpdateSensitivityInspectionTemplateRequest & WithExcludes(ExcludesT &&value)
AWS_MACIE2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String