AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateCodeSecurityIntegrationRequest.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/Inspector2Request.h>
9#include <aws/inspector2/model/UpdateIntegrationDetails.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Inspector2
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_INSPECTOR2_API UpdateCodeSecurityIntegrationRequest() = default;
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 "UpdateCodeSecurityIntegration"; }
32
33 AWS_INSPECTOR2_API Aws::String SerializePayload() const override;
34
35
37
40 inline const UpdateIntegrationDetails& GetDetails() const { return m_details; }
41 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
42 template<typename DetailsT = UpdateIntegrationDetails>
43 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet = true; m_details = std::forward<DetailsT>(value); }
44 template<typename DetailsT = UpdateIntegrationDetails>
45 UpdateCodeSecurityIntegrationRequest& WithDetails(DetailsT&& value) { SetDetails(std::forward<DetailsT>(value)); return *this;}
47
49
53 inline const Aws::String& GetIntegrationArn() const { return m_integrationArn; }
54 inline bool IntegrationArnHasBeenSet() const { return m_integrationArnHasBeenSet; }
55 template<typename IntegrationArnT = Aws::String>
56 void SetIntegrationArn(IntegrationArnT&& value) { m_integrationArnHasBeenSet = true; m_integrationArn = std::forward<IntegrationArnT>(value); }
57 template<typename IntegrationArnT = Aws::String>
58 UpdateCodeSecurityIntegrationRequest& WithIntegrationArn(IntegrationArnT&& value) { SetIntegrationArn(std::forward<IntegrationArnT>(value)); return *this;}
60 private:
61
63 bool m_detailsHasBeenSet = false;
64
65 Aws::String m_integrationArn;
66 bool m_integrationArnHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace Inspector2
71} // namespace Aws
UpdateCodeSecurityIntegrationRequest & WithIntegrationArn(IntegrationArnT &&value)
UpdateCodeSecurityIntegrationRequest & WithDetails(DetailsT &&value)
AWS_INSPECTOR2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String