AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartConfigurationPolicyAssociationRequest.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/Target.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 "StartConfigurationPolicyAssociation"; }
32
33 AWS_SECURITYHUB_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetConfigurationPolicyIdentifier() const{ return m_configurationPolicyIdentifier; }
43 inline bool ConfigurationPolicyIdentifierHasBeenSet() const { return m_configurationPolicyIdentifierHasBeenSet; }
44 inline void SetConfigurationPolicyIdentifier(const Aws::String& value) { m_configurationPolicyIdentifierHasBeenSet = true; m_configurationPolicyIdentifier = value; }
45 inline void SetConfigurationPolicyIdentifier(Aws::String&& value) { m_configurationPolicyIdentifierHasBeenSet = true; m_configurationPolicyIdentifier = std::move(value); }
46 inline void SetConfigurationPolicyIdentifier(const char* value) { m_configurationPolicyIdentifierHasBeenSet = true; m_configurationPolicyIdentifier.assign(value); }
51
53
57 inline const Target& GetTarget() const{ return m_target; }
58 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
59 inline void SetTarget(const Target& value) { m_targetHasBeenSet = true; m_target = value; }
60 inline void SetTarget(Target&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
61 inline StartConfigurationPolicyAssociationRequest& WithTarget(const Target& value) { SetTarget(value); return *this;}
62 inline StartConfigurationPolicyAssociationRequest& WithTarget(Target&& value) { SetTarget(std::move(value)); return *this;}
64 private:
65
66 Aws::String m_configurationPolicyIdentifier;
67 bool m_configurationPolicyIdentifierHasBeenSet = false;
68
69 Target m_target;
70 bool m_targetHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SecurityHub
75} // namespace Aws
StartConfigurationPolicyAssociationRequest & WithTarget(const Target &value)
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
StartConfigurationPolicyAssociationRequest & WithConfigurationPolicyIdentifier(Aws::String &&value)
StartConfigurationPolicyAssociationRequest & WithConfigurationPolicyIdentifier(const char *value)
StartConfigurationPolicyAssociationRequest & WithConfigurationPolicyIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String