AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
DisassociateConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9#include <aws/inspector2/model/CodeSecurityResource.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Inspector2 {
21namespace Model {
22
30 public:
31 AWS_INSPECTOR2_API DisassociateConfigurationRequest() = default;
34 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetScanConfigurationArn() const { return m_scanConfigurationArn; }
42 inline bool ScanConfigurationArnHasBeenSet() const { return m_scanConfigurationArnHasBeenSet; }
43 template <typename ScanConfigurationArnT = Aws::String>
44 void SetScanConfigurationArn(ScanConfigurationArnT&& value) {
45 m_scanConfigurationArnHasBeenSet = true;
46 m_scanConfigurationArn = std::forward<ScanConfigurationArnT>(value);
47 }
48 template <typename ScanConfigurationArnT = Aws::String>
50 SetScanConfigurationArn(std::forward<ScanConfigurationArnT>(value));
51 return *this;
52 }
54
56
57 inline const CodeSecurityResource& GetResource() const { return m_resource; }
58 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
59 template <typename ResourceT = CodeSecurityResource>
60 void SetResource(ResourceT&& value) {
61 m_resourceHasBeenSet = true;
62 m_resource = std::forward<ResourceT>(value);
63 }
64 template <typename ResourceT = CodeSecurityResource>
66 SetResource(std::forward<ResourceT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_scanConfigurationArn;
72
73 CodeSecurityResource m_resource;
74 bool m_scanConfigurationArnHasBeenSet = false;
75 bool m_resourceHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Inspector2
80} // namespace Aws
DisassociateConfigurationRequest & WithScanConfigurationArn(ScanConfigurationArnT &&value)
DisassociateConfigurationRequest & WithResource(ResourceT &&value)
AWS_INSPECTOR2_API DisassociateConfigurationRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API DisassociateConfigurationRequest()=default
AWS_INSPECTOR2_API DisassociateConfigurationRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue