AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartConfigurationPolicyDisassociationRequest.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/SecurityHubRequest.h>
9#include <aws/securityhub/model/Target.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SecurityHub
16{
17namespace Model
18{
19
23 {
24 public:
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 "StartConfigurationPolicyDisassociation"; }
32
33 AWS_SECURITYHUB_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Target& GetTarget() const{ return m_target; }
42 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
43 inline void SetTarget(const Target& value) { m_targetHasBeenSet = true; m_target = value; }
44 inline void SetTarget(Target&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
45 inline StartConfigurationPolicyDisassociationRequest& WithTarget(const Target& value) { SetTarget(value); return *this;}
46 inline StartConfigurationPolicyDisassociationRequest& WithTarget(Target&& value) { SetTarget(std::move(value)); return *this;}
48
50
55 inline const Aws::String& GetConfigurationPolicyIdentifier() const{ return m_configurationPolicyIdentifier; }
56 inline bool ConfigurationPolicyIdentifierHasBeenSet() const { return m_configurationPolicyIdentifierHasBeenSet; }
57 inline void SetConfigurationPolicyIdentifier(const Aws::String& value) { m_configurationPolicyIdentifierHasBeenSet = true; m_configurationPolicyIdentifier = value; }
58 inline void SetConfigurationPolicyIdentifier(Aws::String&& value) { m_configurationPolicyIdentifierHasBeenSet = true; m_configurationPolicyIdentifier = std::move(value); }
59 inline void SetConfigurationPolicyIdentifier(const char* value) { m_configurationPolicyIdentifierHasBeenSet = true; m_configurationPolicyIdentifier.assign(value); }
64 private:
65
66 Target m_target;
67 bool m_targetHasBeenSet = false;
68
69 Aws::String m_configurationPolicyIdentifier;
70 bool m_configurationPolicyIdentifierHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SecurityHub
75} // namespace Aws
StartConfigurationPolicyDisassociationRequest & WithConfigurationPolicyIdentifier(const Aws::String &value)
StartConfigurationPolicyDisassociationRequest & WithConfigurationPolicyIdentifier(Aws::String &&value)
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
StartConfigurationPolicyDisassociationRequest & WithTarget(const Target &value)
StartConfigurationPolicyDisassociationRequest & WithConfigurationPolicyIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String