AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
UpdateSensitivityInspectionTemplateRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/macie2/Macie2Request.h>
9#include <aws/macie2/Macie2_EXPORTS.h>
10#include <aws/macie2/model/SensitivityInspectionTemplateExcludes.h>
11#include <aws/macie2/model/SensitivityInspectionTemplateIncludes.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Macie2 {
17namespace Model {
18
22 public:
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateSensitivityInspectionTemplate"; }
30
31 AWS_MACIE2_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetDescription() const { return m_description; }
39 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
40 template <typename DescriptionT = Aws::String>
41 void SetDescription(DescriptionT&& value) {
42 m_descriptionHasBeenSet = true;
43 m_description = std::forward<DescriptionT>(value);
44 }
45 template <typename DescriptionT = Aws::String>
47 SetDescription(std::forward<DescriptionT>(value));
48 return *this;
49 }
51
53
61 inline const SensitivityInspectionTemplateExcludes& GetExcludes() const { return m_excludes; }
62 inline bool ExcludesHasBeenSet() const { return m_excludesHasBeenSet; }
63 template <typename ExcludesT = SensitivityInspectionTemplateExcludes>
64 void SetExcludes(ExcludesT&& value) {
65 m_excludesHasBeenSet = true;
66 m_excludes = std::forward<ExcludesT>(value);
67 }
68 template <typename ExcludesT = SensitivityInspectionTemplateExcludes>
70 SetExcludes(std::forward<ExcludesT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetId() const { return m_id; }
81 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
82 template <typename IdT = Aws::String>
83 void SetId(IdT&& value) {
84 m_idHasBeenSet = true;
85 m_id = std::forward<IdT>(value);
86 }
87 template <typename IdT = Aws::String>
89 SetId(std::forward<IdT>(value));
90 return *this;
91 }
93
95
99 inline const SensitivityInspectionTemplateIncludes& GetIncludes() const { return m_includes; }
100 inline bool IncludesHasBeenSet() const { return m_includesHasBeenSet; }
101 template <typename IncludesT = SensitivityInspectionTemplateIncludes>
102 void SetIncludes(IncludesT&& value) {
103 m_includesHasBeenSet = true;
104 m_includes = std::forward<IncludesT>(value);
105 }
106 template <typename IncludesT = SensitivityInspectionTemplateIncludes>
108 SetIncludes(std::forward<IncludesT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_description;
114
116
117 Aws::String m_id;
118
120 bool m_descriptionHasBeenSet = false;
121 bool m_excludesHasBeenSet = false;
122 bool m_idHasBeenSet = false;
123 bool m_includesHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace Macie2
128} // 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