AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
AssociateConfigurationRequest.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 AssociateConfigurationRequest() = default;
34 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetScanConfigurationArn() const { return m_scanConfigurationArn; }
41 inline bool ScanConfigurationArnHasBeenSet() const { return m_scanConfigurationArnHasBeenSet; }
42 template <typename ScanConfigurationArnT = Aws::String>
43 void SetScanConfigurationArn(ScanConfigurationArnT&& value) {
44 m_scanConfigurationArnHasBeenSet = true;
45 m_scanConfigurationArn = std::forward<ScanConfigurationArnT>(value);
46 }
47 template <typename ScanConfigurationArnT = Aws::String>
49 SetScanConfigurationArn(std::forward<ScanConfigurationArnT>(value));
50 return *this;
51 }
53
55
56 inline const CodeSecurityResource& GetResource() const { return m_resource; }
57 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
58 template <typename ResourceT = CodeSecurityResource>
59 void SetResource(ResourceT&& value) {
60 m_resourceHasBeenSet = true;
61 m_resource = std::forward<ResourceT>(value);
62 }
63 template <typename ResourceT = CodeSecurityResource>
65 SetResource(std::forward<ResourceT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_scanConfigurationArn;
71
72 CodeSecurityResource m_resource;
73 bool m_scanConfigurationArnHasBeenSet = false;
74 bool m_resourceHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Inspector2
79} // namespace Aws
AWS_INSPECTOR2_API AssociateConfigurationRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AssociateConfigurationRequest & WithScanConfigurationArn(ScanConfigurationArnT &&value)
AssociateConfigurationRequest & WithResource(ResourceT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API AssociateConfigurationRequest()=default
AWS_INSPECTOR2_API AssociateConfigurationRequest(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue