AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutFindingsPublicationConfigurationRequest.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/SecurityHubConfiguration.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
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 "PutFindingsPublicationConfiguration"; }
33
34 AWS_MACIE2_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
43 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
44 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
45 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
46 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
48 inline PutFindingsPublicationConfigurationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
49 inline PutFindingsPublicationConfigurationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
51
53
57 inline const SecurityHubConfiguration& GetSecurityHubConfiguration() const{ return m_securityHubConfiguration; }
58 inline bool SecurityHubConfigurationHasBeenSet() const { return m_securityHubConfigurationHasBeenSet; }
59 inline void SetSecurityHubConfiguration(const SecurityHubConfiguration& value) { m_securityHubConfigurationHasBeenSet = true; m_securityHubConfiguration = value; }
60 inline void SetSecurityHubConfiguration(SecurityHubConfiguration&& value) { m_securityHubConfigurationHasBeenSet = true; m_securityHubConfiguration = std::move(value); }
64 private:
65
66 Aws::String m_clientToken;
67 bool m_clientTokenHasBeenSet = false;
68
69 SecurityHubConfiguration m_securityHubConfiguration;
70 bool m_securityHubConfigurationHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Macie2
75} // namespace Aws
PutFindingsPublicationConfigurationRequest & WithClientToken(Aws::String &&value)
PutFindingsPublicationConfigurationRequest & WithSecurityHubConfiguration(const SecurityHubConfiguration &value)
AWS_MACIE2_API Aws::String SerializePayload() const override
PutFindingsPublicationConfigurationRequest & WithClientToken(const char *value)
PutFindingsPublicationConfigurationRequest & WithClientToken(const Aws::String &value)
PutFindingsPublicationConfigurationRequest & WithSecurityHubConfiguration(SecurityHubConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String