AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateInsightRequest.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/SecurityHubRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/AwsSecurityFindingFilters.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SecurityHub
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SECURITYHUB_API UpdateInsightRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateInsight"; }
32
33 AWS_SECURITYHUB_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetInsightArn() const{ return m_insightArn; }
41 inline bool InsightArnHasBeenSet() const { return m_insightArnHasBeenSet; }
42 inline void SetInsightArn(const Aws::String& value) { m_insightArnHasBeenSet = true; m_insightArn = value; }
43 inline void SetInsightArn(Aws::String&& value) { m_insightArnHasBeenSet = true; m_insightArn = std::move(value); }
44 inline void SetInsightArn(const char* value) { m_insightArnHasBeenSet = true; m_insightArn.assign(value); }
45 inline UpdateInsightRequest& WithInsightArn(const Aws::String& value) { SetInsightArn(value); return *this;}
46 inline UpdateInsightRequest& WithInsightArn(Aws::String&& value) { SetInsightArn(std::move(value)); return *this;}
47 inline UpdateInsightRequest& WithInsightArn(const char* value) { SetInsightArn(value); return *this;}
49
51
54 inline const Aws::String& GetName() const{ return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
59 inline UpdateInsightRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline UpdateInsightRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline UpdateInsightRequest& WithName(const char* value) { SetName(value); return *this;}
63
65
68 inline const AwsSecurityFindingFilters& GetFilters() const{ return m_filters; }
69 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
70 inline void SetFilters(const AwsSecurityFindingFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
71 inline void SetFilters(AwsSecurityFindingFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
72 inline UpdateInsightRequest& WithFilters(const AwsSecurityFindingFilters& value) { SetFilters(value); return *this;}
73 inline UpdateInsightRequest& WithFilters(AwsSecurityFindingFilters&& value) { SetFilters(std::move(value)); return *this;}
75
77
80 inline const Aws::String& GetGroupByAttribute() const{ return m_groupByAttribute; }
81 inline bool GroupByAttributeHasBeenSet() const { return m_groupByAttributeHasBeenSet; }
82 inline void SetGroupByAttribute(const Aws::String& value) { m_groupByAttributeHasBeenSet = true; m_groupByAttribute = value; }
83 inline void SetGroupByAttribute(Aws::String&& value) { m_groupByAttributeHasBeenSet = true; m_groupByAttribute = std::move(value); }
84 inline void SetGroupByAttribute(const char* value) { m_groupByAttributeHasBeenSet = true; m_groupByAttribute.assign(value); }
85 inline UpdateInsightRequest& WithGroupByAttribute(const Aws::String& value) { SetGroupByAttribute(value); return *this;}
86 inline UpdateInsightRequest& WithGroupByAttribute(Aws::String&& value) { SetGroupByAttribute(std::move(value)); return *this;}
87 inline UpdateInsightRequest& WithGroupByAttribute(const char* value) { SetGroupByAttribute(value); return *this;}
89 private:
90
91 Aws::String m_insightArn;
92 bool m_insightArnHasBeenSet = false;
93
94 Aws::String m_name;
95 bool m_nameHasBeenSet = false;
96
98 bool m_filtersHasBeenSet = false;
99
100 Aws::String m_groupByAttribute;
101 bool m_groupByAttributeHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace SecurityHub
106} // namespace Aws
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
UpdateInsightRequest & WithGroupByAttribute(const char *value)
UpdateInsightRequest & WithFilters(const AwsSecurityFindingFilters &value)
UpdateInsightRequest & WithGroupByAttribute(Aws::String &&value)
UpdateInsightRequest & WithInsightArn(const Aws::String &value)
UpdateInsightRequest & WithFilters(AwsSecurityFindingFilters &&value)
void SetFilters(const AwsSecurityFindingFilters &value)
UpdateInsightRequest & WithGroupByAttribute(const Aws::String &value)
const AwsSecurityFindingFilters & GetFilters() const
UpdateInsightRequest & WithName(const char *value)
UpdateInsightRequest & WithInsightArn(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateInsightRequest & WithInsightArn(Aws::String &&value)
void SetFilters(AwsSecurityFindingFilters &&value)
UpdateInsightRequest & WithName(const Aws::String &value)
void SetGroupByAttribute(const Aws::String &value)
UpdateInsightRequest & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String