AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetCodeSecurityIntegrationRequest.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/Inspector2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Inspector2
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_INSPECTOR2_API GetCodeSecurityIntegrationRequest() = 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 "GetCodeSecurityIntegration"; }
32
33 AWS_INSPECTOR2_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetIntegrationArn() const { return m_integrationArn; }
42 inline bool IntegrationArnHasBeenSet() const { return m_integrationArnHasBeenSet; }
43 template<typename IntegrationArnT = Aws::String>
44 void SetIntegrationArn(IntegrationArnT&& value) { m_integrationArnHasBeenSet = true; m_integrationArn = std::forward<IntegrationArnT>(value); }
45 template<typename IntegrationArnT = Aws::String>
46 GetCodeSecurityIntegrationRequest& WithIntegrationArn(IntegrationArnT&& value) { SetIntegrationArn(std::forward<IntegrationArnT>(value)); return *this;}
48
50
53 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
54 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
55 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
56 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
57 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
58 GetCodeSecurityIntegrationRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
59 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
60 GetCodeSecurityIntegrationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
61 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
62 }
64 private:
65
66 Aws::String m_integrationArn;
67 bool m_integrationArnHasBeenSet = false;
68
70 bool m_tagsHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Inspector2
75} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_INSPECTOR2_API GetCodeSecurityIntegrationRequest()=default
GetCodeSecurityIntegrationRequest & WithIntegrationArn(IntegrationArnT &&value)
GetCodeSecurityIntegrationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetCodeSecurityIntegrationRequest & WithTags(TagsT &&value)
AWS_INSPECTOR2_API Aws::String SerializePayload() const override
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String