AWS SDK for C++  1.9.158
AWS SDK for C++
EnableImportFindingsForProductRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SecurityHub
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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 "EnableImportFindingsForProduct"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetProductArn() const{ return m_productArn; }
39 
43  inline bool ProductArnHasBeenSet() const { return m_productArnHasBeenSet; }
44 
48  inline void SetProductArn(const Aws::String& value) { m_productArnHasBeenSet = true; m_productArn = value; }
49 
53  inline void SetProductArn(Aws::String&& value) { m_productArnHasBeenSet = true; m_productArn = std::move(value); }
54 
58  inline void SetProductArn(const char* value) { m_productArnHasBeenSet = true; m_productArn.assign(value); }
59 
63  inline EnableImportFindingsForProductRequest& WithProductArn(const Aws::String& value) { SetProductArn(value); return *this;}
64 
68  inline EnableImportFindingsForProductRequest& WithProductArn(Aws::String&& value) { SetProductArn(std::move(value)); return *this;}
69 
73  inline EnableImportFindingsForProductRequest& WithProductArn(const char* value) { SetProductArn(value); return *this;}
74 
75  private:
76 
77  Aws::String m_productArn;
78  bool m_productArnHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace SecurityHub
83 } // namespace Aws
Aws::SecurityHub::Model::EnableImportFindingsForProductRequest::GetProductArn
const Aws::String & GetProductArn() const
Definition: EnableImportFindingsForProductRequest.h:38
Aws::SecurityHub::Model::EnableImportFindingsForProductRequest::SetProductArn
void SetProductArn(Aws::String &&value)
Definition: EnableImportFindingsForProductRequest.h:53
Aws::SecurityHub::Model::EnableImportFindingsForProductRequest::WithProductArn
EnableImportFindingsForProductRequest & WithProductArn(Aws::String &&value)
Definition: EnableImportFindingsForProductRequest.h:68
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::EnableImportFindingsForProductRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SecurityHub::SecurityHubRequest
Definition: SecurityHubRequest.h:17
Aws::SecurityHub::Model::EnableImportFindingsForProductRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: EnableImportFindingsForProductRequest.h:30
AWSString.h
SecurityHubRequest.h
Aws::SecurityHub::Model::EnableImportFindingsForProductRequest::WithProductArn
EnableImportFindingsForProductRequest & WithProductArn(const char *value)
Definition: EnableImportFindingsForProductRequest.h:73
Aws::SecurityHub::Model::EnableImportFindingsForProductRequest::SetProductArn
void SetProductArn(const Aws::String &value)
Definition: EnableImportFindingsForProductRequest.h:48
Aws::SecurityHub::Model::EnableImportFindingsForProductRequest::ProductArnHasBeenSet
bool ProductArnHasBeenSet() const
Definition: EnableImportFindingsForProductRequest.h:43
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::EnableImportFindingsForProductRequest::EnableImportFindingsForProductRequest
EnableImportFindingsForProductRequest()
Aws::SecurityHub::Model::EnableImportFindingsForProductRequest
Definition: EnableImportFindingsForProductRequest.h:22
Aws::SecurityHub::Model::EnableImportFindingsForProductRequest::WithProductArn
EnableImportFindingsForProductRequest & WithProductArn(const Aws::String &value)
Definition: EnableImportFindingsForProductRequest.h:63
Aws::SecurityHub::Model::EnableImportFindingsForProductRequest::SetProductArn
void SetProductArn(const char *value)
Definition: EnableImportFindingsForProductRequest.h:58