AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateApplicationLayerAutomaticResponseRequest.h
1
6#pragma once
7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/ShieldRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/shield/model/ResponseAction.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Shield
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 "UpdateApplicationLayerAutomaticResponse"; }
32
33 AWS_SHIELD_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
43 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
44 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
45 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
46 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
49 inline UpdateApplicationLayerAutomaticResponseRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
51
53
61 inline const ResponseAction& GetAction() const{ return m_action; }
62 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
63 inline void SetAction(const ResponseAction& value) { m_actionHasBeenSet = true; m_action = value; }
64 inline void SetAction(ResponseAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
66 inline UpdateApplicationLayerAutomaticResponseRequest& WithAction(ResponseAction&& value) { SetAction(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_resourceArn;
71 bool m_resourceArnHasBeenSet = false;
72
73 ResponseAction m_action;
74 bool m_actionHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Shield
79} // namespace Aws
UpdateApplicationLayerAutomaticResponseRequest & WithAction(ResponseAction &&value)
UpdateApplicationLayerAutomaticResponseRequest & WithResourceArn(const Aws::String &value)
AWS_SHIELD_API Aws::String SerializePayload() const override
UpdateApplicationLayerAutomaticResponseRequest & WithResourceArn(const char *value)
AWS_SHIELD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateApplicationLayerAutomaticResponseRequest & WithResourceArn(Aws::String &&value)
UpdateApplicationLayerAutomaticResponseRequest & WithAction(const ResponseAction &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String